Skip to content

Commit a63281c

Browse files
authored
Merge pull request #273 from bgilbert/pre-commit
pre-commit: update versions
2 parents 2297871 + 42a3fdf commit a63281c

File tree

2 files changed

+8
-10
lines changed

2 files changed

+8
-10
lines changed

.pre-commit-config.yaml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ exclude: '^(COPYING\.LESSER|examples/deepzoom/static/.*\.js)$'
33

44
repos:
55
- repo: https://github.com/pre-commit/pre-commit-hooks
6-
rev: v4.5.0
6+
rev: v4.6.0
77
hooks:
88
- id: check-added-large-files
99
- id: check-merge-conflict
@@ -16,26 +16,26 @@ repos:
1616
- id: trailing-whitespace
1717

1818
- repo: https://github.com/asottile/pyupgrade
19-
rev: v3.15.0
19+
rev: v3.17.0
2020
hooks:
2121
- id: pyupgrade
2222
name: Modernize python code
2323
args: ["--py38-plus"]
2424

2525
- repo: https://github.com/PyCQA/isort
26-
rev: 5.12.0
26+
rev: 5.13.2
2727
hooks:
2828
- id: isort
2929
name: Reorder python imports with isort
3030

3131
- repo: https://github.com/psf/black
32-
rev: 23.10.1
32+
rev: 24.8.0
3333
hooks:
3434
- id: black
3535
name: Format python code with black
3636

3737
- repo: https://github.com/asottile/blacken-docs
38-
rev: 1.16.0
38+
rev: 1.18.0
3939
hooks:
4040
- id: blacken-docs
4141
name: Format python code in documentation
@@ -47,14 +47,14 @@ repos:
4747
additional_dependencies: [flake8-bugbear, Flake8-pyproject]
4848

4949
- repo: https://github.com/PyCQA/flake8
50-
rev: 6.1.0
50+
rev: 7.1.1
5151
hooks:
5252
- id: flake8
5353
name: Lint python code with flake8
5454
additional_dependencies: [flake8-bugbear, Flake8-pyproject]
5555

5656
- repo: https://github.com/rstcheck/rstcheck
57-
rev: v6.2.0
57+
rev: v6.2.4
5858
hooks:
5959
- id: rstcheck
6060
name: Validate reStructuredText syntax

setup.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,6 @@
1919
],
2020
options={
2121
# tag wheel for Limited API
22-
'bdist_wheel': {'py_limited_api': 'cp311'}
23-
if _abi3
24-
else {},
22+
'bdist_wheel': {'py_limited_api': 'cp311'} if _abi3 else {},
2523
},
2624
)

0 commit comments

Comments
 (0)