File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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
Original file line number Diff line number Diff line change 2828commands =
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]
You can’t perform that action at this time.
0 commit comments