Skip to content

Commit 94468ce

Browse files
committed
🩹Fix linter
1 parent d798d65 commit 94468ce

2 files changed

Lines changed: 2 additions & 3 deletions

File tree

‎src/bo4e/version.py‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ def _parse_version_to_gh_version(version_str: str) -> str:
1818
Parse a version string into a GitHub version string.
1919
E.g. '202401.0.1-rc8+dev12asdf34' becomes 'v202401.0.1-rc8'.
2020
"""
21-
_REGEX_VERSION = re.compile(
21+
_regex_version = re.compile(
2222
r"^(?P<major>\d{6})\."
2323
r"(?P<functional>\d+)\."
2424
r"(?P<technical>\d+)"
@@ -28,7 +28,7 @@ def _parse_version_to_gh_version(version_str: str) -> str:
2828
r"(?P<dirty_workdir_date_month>\d{2})"
2929
r"(?P<dirty_workdir_date_day>\d{2}))?)?$"
3030
)
31-
match = _REGEX_VERSION.match(version_str)
31+
match = _regex_version.match(version_str)
3232
if match is None:
3333
raise ValueError(f"Invalid version string: {version_str}")
3434

‎tox.ini‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ deps =
2828
commands =
2929
pylint src/bo4e
3030
pylint docs/uml.py
31-
pylint docs/compatibility
3231
pylint generate_or_validate_json_schemas.py
3332

3433
[testenv:type_check]

0 commit comments

Comments
 (0)