Skip to content

Commit 9507d62

Browse files
authored
Merge pull request #270 from python-windrose/pre-commit-ci-update-config
[pre-commit.ci] pre-commit autoupdate
2 parents 7a0e07b + f1adc4b commit 9507d62

File tree

2 files changed

+23
-20
lines changed

2 files changed

+23
-20
lines changed

.pre-commit-config.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ repos:
2727
- id: blackdoc
2828

2929
- repo: https://github.com/codespell-project/codespell
30-
rev: v2.2.6
30+
rev: v2.3.0
3131
hooks:
3232
- id: codespell
3333
exclude: >
@@ -51,12 +51,12 @@ repos:
5151
- id: add-trailing-comma
5252

5353
- repo: https://github.com/astral-sh/ruff-pre-commit
54-
rev: v0.4.3
54+
rev: v0.4.7
5555
hooks:
5656
- id: ruff
5757

5858
- repo: https://github.com/tox-dev/pyproject-fmt
59-
rev: 1.8.0
59+
rev: 2.1.3
6060
hooks:
6161
- id: pyproject-fmt
6262

pyproject.toml

Lines changed: 20 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -2,32 +2,31 @@
22
build-backend = "setuptools.build_meta"
33
requires = [
44
"setuptools>=41.2",
5-
"setuptools_scm",
5+
"setuptools-scm",
66
"wheel",
77
]
88

99
[tool.ruff]
10-
select = [
11-
"A", # flake8-builtins
12-
"B", # flake8-bugbear
13-
"C4", # flake8-comprehensions
14-
"F", # flakes
15-
"I", # import sorting
16-
"T20", # flake8-print
17-
"UP", # upgrade
18-
]
1910
target-version = "py38"
2011
line-length = 79
2112

22-
[tool.ruff.per-file-ignores]
23-
"docs/conf.py" = [
13+
select = [
14+
"A", # flake8-builtins
15+
"B", # flake8-bugbear
16+
"C4", # flake8-comprehensions
17+
"F", # flakes
18+
"I", # import sorting
19+
"T20", # flake8-print
20+
"UP", # upgrade
21+
]
22+
per-file-ignores."docs/conf.py" = [
2423
"A001",
2524
]
26-
"samples/example_by.py" = [
27-
"T201",
25+
per-file-ignores."samples/example_by.py" = [
26+
"T201",
2827
]
29-
"samples/example_pdf_by.py" = [
30-
"T201",
28+
per-file-ignores."samples/example_pdf_by.py" = [
29+
"T201",
3130
]
3231

3332
[tool.interrogate]
@@ -38,7 +37,11 @@ ignore-semiprivate = false
3837
ignore-private = false
3938
ignore-module = false
4039
fail-under = 70
41-
exclude = ["setup.py", "docs", "tests"]
40+
exclude = [
41+
"setup.py",
42+
"docs",
43+
"tests",
44+
]
4245
verbose = 1
4346
quiet = false
4447
color = true

0 commit comments

Comments
 (0)