Skip to content

Commit 8f10037

Browse files
authored
Bump pre-commit + add ruff (#22)
1 parent 3b0b05a commit 8f10037

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

.pre-commit-config.yaml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ repos:
88
- id: check-toml
99
- id: check-added-large-files
1010
- repo: https://github.com/psf/black
11-
rev: 23.3.0
11+
rev: 23.7.0
1212
hooks:
1313
- id: black
1414
- repo: https://github.com/pre-commit/mirrors-isort
@@ -17,7 +17,11 @@ repos:
1717
- id: isort
1818
additional_dependencies: [toml]
1919
- repo: https://github.com/pre-commit/mirrors-mypy
20-
rev: v1.3.0
20+
rev: v1.5.1
2121
hooks:
2222
- id: mypy
2323
additional_dependencies: [types-requests]
24+
- repo: https://github.com/astral-sh/ruff-pre-commit
25+
rev: v0.0.287
26+
hooks:
27+
- id: ruff

script.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
print("Successfully uploaded addon")
3636
except UploadException as e:
3737
print(f"Failed to upload: {e.status} - {e.error_code} - {e.message}")
38-
print(f"Errors:")
38+
print("Errors:")
3939
for error in e.errors:
4040
print(f"- {error['message']}")
4141

0 commit comments

Comments
 (0)