Skip to content

Commit 3167e94

Browse files
[repo-helper] Configuration Update (#64)
* 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 2a325be commit 3167e94

File tree

2 files changed

+11
-5
lines changed

2 files changed

+11
-5
lines changed

.pre-commit-config.yaml

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,14 +32,17 @@ repos:
3232
- id: end-of-file-fixer
3333

3434
- repo: https://github.com/domdfcoding/pre-commit-hooks
35-
rev: v0.5.0
35+
rev: v0.7.0
3636
hooks:
3737
- id: requirements-txt-sorter
3838
args:
3939
- --allow-git
4040
- id: check-docstring-first
4141
exclude: ^(doc-source/conf|__pkginfo__|setup|tests/.*)\.py$
4242
- id: bind-requirements
43+
args:
44+
- --python-min
45+
- '3.7'
4346

4447
- repo: https://github.com/python-formate/flake8-dunder-all
4548
rev: v0.5.0
@@ -60,8 +63,8 @@ repos:
6063
- id: rst-directive-colons
6164
- id: rst-inline-touching-normal
6265

63-
- repo: https://github.com/asottile/pyupgrade
64-
rev: v3.3.0
66+
- repo: https://github.com/python-formate/pyupgrade
67+
rev: bbe3007
6568
hooks:
6669
- id: pyupgrade
6770
args:
@@ -80,12 +83,15 @@ repos:
8083
- id: snippet-fmt
8184

8285
- repo: https://github.com/python-formate/formate
83-
rev: v1.1.2
86+
rev: v1.2.0
8487
hooks:
8588
- id: formate
8689
exclude: ^(doc-source/conf|__pkginfo__|setup)\.(_)?py$
8790
additional_dependencies:
8891
- formate-trailing-commas>=0.1.1
92+
types_or:
93+
- python
94+
- pyi
8995

9096
- repo: https://github.com/python-coincidence/dep_checker
9197
rev: v0.9.0

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ requires =
2828
pip>=21,!=22.2
2929
tox-envlist>=0.2.1
3030
tox~=3.0
31-
virtualenv!=20.16.0
31+
virtualenv!=20.16.0,<20.39
3232

3333
[envlists]
3434
test = py37, py38, py39, py310, py311, py312, py313

0 commit comments

Comments
 (0)