Skip to content

Commit 52688c4

Browse files
[repo-helper] Configuration Update (#2)
* Updated files with 'repo_helper'. * Updated files with 'repo_helper'. --------- Co-authored-by: repo-helper[bot] <74742576+repo-helper[bot]@users.noreply.github.com>
1 parent 2aa1e3c commit 52688c4

2 files changed

Lines changed: 14 additions & 7 deletions

File tree

.pre-commit-config.yaml

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ repos:
2222
- id: check-case-conflict
2323
- id: check-executables-have-shebangs
2424
- id: check-json
25-
- id: check-toml
2625
- id: check-yaml
2726
- id: check-merge-conflict
2827
- id: check-symlinks
@@ -32,15 +31,24 @@ repos:
3231
- id: mixed-line-ending
3332
- id: end-of-file-fixer
3433

34+
- repo: https://github.com/domdfcoding/taplo-pre-commit
35+
rev: v0.10.0
36+
hooks:
37+
- id: taplo-lint
38+
args: []
39+
3540
- repo: https://github.com/domdfcoding/pre-commit-hooks
36-
rev: v0.6.0
41+
rev: v0.7.0
3742
hooks:
3843
- id: requirements-txt-sorter
3944
args:
4045
- --allow-git
4146
- id: check-docstring-first
4247
exclude: ^(doc-source/conf|__pkginfo__|setup|tests/.*)\.py$
4348
- id: bind-requirements
49+
args:
50+
- --python-min
51+
- '3.8'
4452

4553
- repo: https://github.com/python-formate/flake8-dunder-all
4654
rev: v0.5.0
@@ -61,8 +69,8 @@ repos:
6169
- id: rst-directive-colons
6270
- id: rst-inline-touching-normal
6371

64-
- repo: https://github.com/asottile/pyupgrade
65-
rev: v3.3.0
72+
- repo: https://github.com/python-formate/pyupgrade
73+
rev: bbe3007
6674
hooks:
6775
- id: pyupgrade
6876
args:
@@ -81,7 +89,7 @@ repos:
8189
- id: snippet-fmt
8290

8391
- repo: https://github.com/python-formate/formate
84-
rev: v1.2.0
92+
rev: v1.2.1
8593
hooks:
8694
- id: formate
8795
exclude: ^(doc-source/conf|__pkginfo__|setup)\.(_)?py$

tox.ini

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ setenv =
4040
PYTHONDEVMODE=1
4141
PIP_DISABLE_PIP_VERSION_CHECK=1
4242
SETUPTOOLS_USE_DISTUTILS=stdlib
43+
download = True
4344
deps = -r{toxinidir}/tests/requirements.txt
4445
commands =
4546
python --version
@@ -51,13 +52,11 @@ setenv =
5152
PIP_DISABLE_PIP_VERSION_CHECK=1
5253

5354
[testenv:py313]
54-
download = True
5555
setenv =
5656
PYTHONDEVMODE=1
5757
PIP_DISABLE_PIP_VERSION_CHECK=1
5858

5959
[testenv:py312]
60-
download = True
6160
setenv =
6261
PYTHONDEVMODE=1
6362
PIP_DISABLE_PIP_VERSION_CHECK=1

0 commit comments

Comments
 (0)