diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 940794c..09dfd20 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -28,18 +28,18 @@ repos: hooks: - id: isort - repo: 'https://github.com/ambv/black' - rev: 24.4.0 + rev: 24.4.2 hooks: - id: black - repo: 'https://github.com/PyCQA/flake8' - rev: 7.0.0 + rev: 7.1.0 hooks: - id: flake8 additional_dependencies: - flake8-black>=0.1.1 language_version: python3 - repo: 'https://github.com/asottile/pyupgrade' - rev: v3.15.2 + rev: v3.16.0 hooks: - id: pyupgrade args: diff --git a/pycrobit.py b/pycrobit.py index f1d32a1..b7a2c37 100644 --- a/pycrobit.py +++ b/pycrobit.py @@ -48,7 +48,7 @@ def validate_pycrobit_str(pycrobit_string: str) -> str: stripped_line = line.strip(" ") if len(stripped_line) != 5: raise ValueError( - f"We expected 5 characters on line n°{i+1} and got " + f"We expected 5 characters on line n°{i + 1} and got " f"{len(stripped_line)} ({stripped_line})" ) return pycrobit_string