Skip to content

Commit 57edc6f

Browse files
committed
Updates
1 parent f296ed0 commit 57edc6f

File tree

2 files changed

+5
-9
lines changed

2 files changed

+5
-9
lines changed

.pre-commit-config.yaml

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ repos:
4242
- prettier-plugin-toml
4343
- prettier-plugin-sort-json
4444

45-
- repo: https://github.com/psf/black-pre-commit-mirror
45+
- repo: https://github.com/psf/black
4646
rev: 24.4.2
4747
hooks:
4848
- id: black
@@ -58,7 +58,7 @@ repos:
5858
- id: tox-ini-fmt
5959

6060
- repo: https://github.com/astral-sh/ruff-pre-commit
61-
rev: "v0.4.4"
61+
rev: "v0.4.5"
6262
hooks:
6363
- id: ruff
6464
args:
@@ -98,14 +98,11 @@ repos:
9898
additional_dependencies:
9999
- pytest
100100
- subprocess_tee
101-
- tox
102101
- types-PyYAML
103102
- types-setuptools
104-
args:
105-
- src
106-
- tests
107-
- --python-version=3.11
108-
pass_filenames: false
103+
# Override default pre-commit '--ignore-missing-imports'
104+
args: [--strict]
105+
109106
- repo: https://github.com/jazzband/pip-tools
110107
rev: 7.4.1
111108
hooks:

pyproject.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -293,7 +293,6 @@ disable = [
293293
"W3201", # bad-dunder-name / ruff PLW3201
294294
"W3301", # nested-min-max / ruff PLW3301
295295
"duplicate-code",
296-
"fixme",
297296
"too-few-public-methods",
298297
"unsubscriptable-object"
299298
]

0 commit comments

Comments
 (0)