Remove all "WPS" codes
This commit is contained in:
parent
8a5a652b3e
commit
9fcb3c8c14
1 changed files with 171 additions and 254 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue