File tree 5 files changed +13
-55
lines changed 5 files changed +13
-55
lines changed Original file line number Diff line number Diff line change 44
44
stages : [commit]
45
45
46
46
- repo : https://github.com/psf/black
47
- rev : 21.5b1
47
+ rev : 21.6b0
48
48
hooks :
49
49
- id : black
50
50
types : [text]
@@ -57,17 +57,10 @@ repos:
57
57
hooks :
58
58
- id : flake8
59
59
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
71
64
types : [text]
72
65
files : ^(helpers/python|.+\.py)$
73
66
exclude : ^completions/
@@ -87,15 +80,15 @@ repos:
87
80
stages : [commit]
88
81
89
82
- repo : https://github.com/asottile/pyupgrade
90
- rev : v2.18.1
83
+ rev : v2.20.0
91
84
hooks :
92
85
- id : pyupgrade
93
86
args : [--py36-plus, --keep-percent-format]
94
87
exclude : ^completions/
95
88
stages : [commit]
96
89
97
90
- repo : https://github.com/perltidy/perltidy
98
- rev : " 20210402 "
91
+ rev : " 20210625 "
99
92
hooks :
100
93
- id : perltidy
101
94
types : [text]
@@ -126,10 +119,9 @@ repos:
126
119
- id : check-case-conflict
127
120
stages : [commit]
128
121
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
131
124
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/.+))$
135
127
stages : [commit]
Original file line number Diff line number Diff line change 2
2
3
3
_pytest_option_choice_args ()
4
4
{
5
- local modes=$( " ${2:- pytest} " $1 =bash-competion -nonexistent 2>&1 |
5
+ local modes=$( " ${2:- pytest} " $1 =bash-completion -nonexistent 2>&1 |
6
6
command sed -e ' s/[^[:space:][:alnum:]-]\{1,\}//g' \
7
7
-ne ' s/.*choose from //p' )
8
8
COMPREPLY+=($( compgen -W ' $modes' -- " $cur " ) )
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
1
# Python >= 3.6.1 required here
2
2
-r requirements.txt
3
- black == 21.5b1
3
+ black == 21.6b0
4
4
mypy >= 0.790
5
5
pre-commit >= 2.4.0
Original file line number Diff line number Diff line change @@ -16,6 +16,3 @@ line_length = 79
16
16
17
17
[flake8]
18
18
extend-ignore = D202,E203,E501
19
-
20
- [codespell]
21
- exclude-file = test/codespell-ignore.txt
You can’t perform that action at this time.
0 commit comments