Remove all "WPS" codes

This commit is contained in:
Alexander Hess 2026-11-28 02:01:12 +01:00
commit 9fcb3c8c14
Signed by: alexander
GPG key ID: B46EDB4DFC26805D

View file

@ -23,7 +23,7 @@ class TestPEP404Compliance:
@pytest.fixture
def parsed_version(self) -> str:
"""The packaged version."""
return pkg_version.Version(velofy.__version__) # noqa:WPS609
return pkg_version.Version(velofy.__version__)
def test_parsed_version_has_no_epoch(self, parsed_version):
"""PEP440 compliant subset of semantic versioning: no epoch."""
@ -39,7 +39,7 @@ class TestPEP404Compliance:
def test_parsed_version_is_all_public(self, parsed_version):
"""PEP440 compliant subset of semantic versioning: all public parts."""
assert parsed_version.public == velofy.__version__ # noqa:WPS609
assert parsed_version.public == velofy.__version__
class TestSemanticVersioning:
@ -51,7 +51,7 @@ class TestSemanticVersioning:
def test_version_is_semantic(self):
"""Packaged version follows semantic versioning."""
result = self.version_pattern.fullmatch(velofy.__version__) # noqa:WPS609
result = self.version_pattern.fullmatch(velofy.__version__)
assert result is not None