Skip to content

Commit

Permalink
Excempt some Pylint invalid-name violations
Browse files Browse the repository at this point in the history
`x`, `y`, `z` are the names used in the semver spec
  • Loading branch information
movermeyer committed Oct 21, 2021
1 parent 5b7f409 commit 13ea8b2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/changelog/utils.py
Expand Up @@ -153,6 +153,8 @@ def bump_version(self, version: str, release_type: str) -> str:
"""
Bumps a version number based on release_type
"""
# `x`, `y`, `z` are the names used in the semver spec
# pylint: invalid-name
x, y, z = [int(i) for i in version.split(".")]
if release_type == "major":
x += 1
Expand Down

0 comments on commit 13ea8b2

Please sign in to comment.