Skip to content

Commit e77e245

Browse files
Updated files with 'repo_helper'. (#23)
Co-authored-by: repo-helper[bot] <74742576+repo-helper[bot]@users.noreply.github.com>
1 parent f996a26 commit e77e245

2 files changed

Lines changed: 14 additions & 6 deletions

File tree

.pre-commit-config.yaml

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

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

4452
- repo: https://github.com/python-formate/flake8-dunder-all
4553
rev: v0.5.0
@@ -60,8 +68,8 @@ repos:
6068
- id: rst-directive-colons
6169
- id: rst-inline-touching-normal
6270

63-
- repo: https://github.com/asottile/pyupgrade
64-
rev: v3.3.0
71+
- repo: https://github.com/python-formate/pyupgrade
72+
rev: bbe3007
6573
hooks:
6674
- id: pyupgrade
6775
args:
@@ -80,7 +88,7 @@ repos:
8088
- id: snippet-fmt
8189

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

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ cov = py39, coverage
3939
setenv =
4040
PIP_DISABLE_PIP_VERSION_CHECK=1
4141
SETUPTOOLS_USE_DISTUTILS=stdlib
42+
download = True
4243
deps = -r{toxinidir}/tests/requirements.txt
4344
commands =
4445
python --version
@@ -48,7 +49,6 @@ commands =
4849
setenv = PIP_DISABLE_PIP_VERSION_CHECK=1
4950

5051
[testenv:py312]
51-
download = True
5252
setenv = PIP_DISABLE_PIP_VERSION_CHECK=1
5353

5454
[testenv:docs]

0 commit comments

Comments
 (0)