Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pre-commit.ci] pre-commit autoupdate #23

Merged
merged 2 commits into from
Jun 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion pycrobit.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Loading