Skip to content

Commit c395ea3

Browse files
committed
chore(hooks): update pre-commit configs
1 parent 991824b commit c395ea3

File tree

2 files changed

+3
-14
lines changed

2 files changed

+3
-14
lines changed

.pre-commit-config.yaml

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
fail_fast: true
44
repos:
55
- repo: https://github.com/pre-commit/pre-commit-hooks
6-
rev: v5.0.0
6+
rev: v6.0.0
77
hooks:
88
- id: check-added-large-files
99
- id: check-ast
@@ -14,23 +14,15 @@ repos:
1414
- id: trailing-whitespace
1515

1616
- repo: https://github.com/psf/black
17-
rev: 24.10.0
17+
rev: 25.9.0
1818
hooks:
1919
- id: black
2020

2121
- repo: https://github.com/astral-sh/ruff-pre-commit
22-
rev: v0.8.1
22+
rev: v0.14.2
2323
hooks:
2424
# Run the linter.
2525
- id: ruff
2626
args: [ '--ignore', 'E501', '--fix' ]
2727
# Run the formatter.
2828
- id: ruff-format
29-
30-
#- repo: https://github.com/python-poetry/poetry
31-
#rev: 1.8.4
32-
#hooks:
33-
#- id: poetry-check
34-
#- id: poetry-lock
35-
#. id: poetry-export
36-
#- id: poetry-install

pyproject.toml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -82,9 +82,6 @@ indent-width = 4
8282
# Never enforce `E501`. line length
8383
#exclude = ["E501"]
8484

85-
# Assume Python 3.8
86-
target-version = "py38"
87-
8885
[tool.ruff.lint]
8986
# Enable Pyflakes (`F`) and a subset of the pycodestyle (`E`) codes by default.
9087
# Unlike Flake8, Ruff doesn't enable pycodestyle warnings (`W`) or

0 commit comments

Comments
 (0)