Skip to content

Commit 06b655c

Browse files
authored
Merge pull request scop#554 from scop/test/upgrade-dev-deps
Upgrade dev/lint dependencies
2 parents a00b719 + cd73c1d commit 06b655c

File tree

5 files changed

+13
-55
lines changed

5 files changed

+13
-55
lines changed

.pre-commit-config.yaml

Lines changed: 11 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ repos:
4444
stages: [commit]
4545

4646
- repo: https://github.com/psf/black
47-
rev: 21.5b1
47+
rev: 21.6b0
4848
hooks:
4949
- id: black
5050
types: [text]
@@ -57,17 +57,10 @@ repos:
5757
hooks:
5858
- id: flake8
5959
args: [--config=test/setup.cfg]
60-
additional_dependencies: [flake8-bugbear==21.4.3]
61-
types: [text]
62-
files: ^(helpers/python|.+\.py)$
63-
exclude: ^completions/
64-
stages: [commit]
65-
66-
- repo: https://github.com/PyCQA/isort
67-
rev: 5.8.0
68-
hooks:
69-
- id: isort
70-
args: [--settings-path=test/setup.cfg]
60+
additional_dependencies:
61+
- flake8-bugbear==21.4.3
62+
- flake8-isort==4.0.0
63+
- isort==5.9.1
7164
types: [text]
7265
files: ^(helpers/python|.+\.py)$
7366
exclude: ^completions/
@@ -87,15 +80,15 @@ repos:
8780
stages: [commit]
8881

8982
- repo: https://github.com/asottile/pyupgrade
90-
rev: v2.18.1
83+
rev: v2.20.0
9184
hooks:
9285
- id: pyupgrade
9386
args: [--py36-plus, --keep-percent-format]
9487
exclude: ^completions/
9588
stages: [commit]
9689

9790
- repo: https://github.com/perltidy/perltidy
98-
rev: "20210402"
91+
rev: "20210625"
9992
hooks:
10093
- id: perltidy
10194
types: [text]
@@ -126,10 +119,9 @@ repos:
126119
- id: check-case-conflict
127120
stages: [commit]
128121

129-
- repo: https://github.com/codespell-project/codespell
130-
rev: v2.0.0
122+
- repo: https://github.com/crate-ci/typos
123+
rev: v1.0.11
131124
hooks:
132-
- id: codespell
133-
args: [--config, test/setup.cfg]
134-
exclude: ^(CHANGES|test/((codespell-ignore|test-cmd-list)\.txt|fixtures/.+))$
125+
- id: typos
126+
exclude: ^(CHANGES|test/(test-cmd-list\.txt|fixtures/.+))$
135127
stages: [commit]

completions/pytest

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
_pytest_option_choice_args()
44
{
5-
local modes=$("${2:-pytest}" $1=bash-competion-nonexistent 2>&1 |
5+
local modes=$("${2:-pytest}" $1=bash-completion-nonexistent 2>&1 |
66
command sed -e 's/[^[:space:][:alnum:]-]\{1,\}//g' \
77
-ne 's/.*choose from //p')
88
COMPREPLY+=($(compgen -W '$modes' -- "$cur"))

test/codespell-ignore.txt

Lines changed: 0 additions & 31 deletions
This file was deleted.

test/requirements-dev.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Python >= 3.6.1 required here
22
-r requirements.txt
3-
black==21.5b1
3+
black==21.6b0
44
mypy>=0.790
55
pre-commit>=2.4.0

test/setup.cfg

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,3 @@ line_length = 79
1616

1717
[flake8]
1818
extend-ignore = D202,E203,E501
19-
20-
[codespell]
21-
exclude-file = test/codespell-ignore.txt

0 commit comments

Comments
 (0)