File tree Expand file tree Collapse file tree 4 files changed +26
-43
lines changed Expand file tree Collapse file tree 4 files changed +26
-43
lines changed Original file line number Diff line number Diff line change 12
12
- id : end-of-file-fixer
13
13
- id : trailing-whitespace
14
14
- repo : https://github.com/asottile/pyupgrade
15
- rev : v2.37.2
15
+ rev : v2.37.3
16
16
hooks :
17
17
- id : pyupgrade
18
18
args : [ "--py36-plus" ]
@@ -29,30 +29,29 @@ repos:
29
29
rev : v1.12.1
30
30
hooks :
31
31
- id : blacken-docs
32
- additional_dependencies : [ black==21.12b0 ]
32
+ additional_dependencies : [ black==22.6.0 ]
33
33
- repo : https://github.com/pre-commit/pygrep-hooks
34
34
rev : v1.9.0
35
35
hooks :
36
36
- id : rst-backticks
37
+ - repo : https://github.com/asottile/setup-cfg-fmt
38
+ rev : v2.0.0
39
+ hooks :
40
+ - id : setup-cfg-fmt
37
41
- repo : https://github.com/tox-dev/tox-ini-fmt
38
42
rev : " 0.5.2"
39
43
hooks :
40
44
- id : tox-ini-fmt
41
45
args : [ "-p", "fix_lint" ]
42
- - repo : https://github.com/asottile/setup-cfg-fmt
43
- rev : v1.20.2
44
- hooks :
45
- - id : setup-cfg-fmt
46
- args : [ --min-py3-version, "3.7", "--max-py-version", "3.10" ]
47
46
- repo : https://github.com/PyCQA/flake8
48
- rev : 4 .0.1
47
+ rev : 5 .0.3
49
48
hooks :
50
49
- id : flake8
51
50
additional_dependencies :
52
- - flake8-bugbear==21.11.29
53
- - flake8-comprehensions==3.7
54
- - flake8-pytest-style==1.6
55
- - flake8-spellcheck==0.24
56
- - flake8-unused-arguments==0.0.9
57
- - flake8-noqa==1.2.1
58
- - pep8-naming==0.12 .1
51
+ - flake8-bugbear==22.7.1
52
+ - flake8-comprehensions==3.10.0
53
+ - flake8-pytest-style==1.6.0
54
+ - flake8-spellcheck==0.28.0
55
+ - flake8-unused-arguments==0.0.11
56
+ - flake8-noqa==1.2.8
57
+ - pep8-naming==0.13 .1
Original file line number Diff line number Diff line change @@ -16,10 +16,6 @@ classifiers =
16
16
Programming Language :: Python
17
17
Programming Language :: Python :: 3
18
18
Programming Language :: Python :: 3 :: Only
19
- Programming Language :: Python :: 3.7
20
- Programming Language :: Python :: 3.8
21
- Programming Language :: Python :: 3.9
22
- Programming Language :: Python :: 3.10
23
19
Topic :: Internet
24
20
Topic :: Software Development :: Libraries
25
21
Topic :: System
Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ passenv =
40
40
basepython = python3.10
41
41
skip_install = true
42
42
deps =
43
- pre-commit>=2
43
+ pre-commit>=2.20
44
44
commands =
45
45
pre-commit run --all-files --show-diff-on-failure
46
46
python -c ' import pathlib; print("hint: run \{\} install to add checks as pre-commit hook".format(pathlib.Path(r"{envdir}") / "bin" / "pre-commit"))'
@@ -50,7 +50,7 @@ description = run type check on code base
50
50
setenv =
51
51
{tty:MYPY_FORCE_COLOR = 1}
52
52
deps =
53
- mypy ==0.930
53
+ mypy ==0.971
54
54
commands =
55
55
mypy --strict src/filelock
56
56
mypy --strict tests
@@ -63,9 +63,9 @@ setenv =
63
63
COVERAGE_FILE = {toxworkdir}/.coverage
64
64
skip_install = true
65
65
deps =
66
- covdefaults>=2.1
67
- coverage>=6.2
68
- diff-cover>=6.4
66
+ covdefaults>=2.2
67
+ coverage>=6.4
68
+ diff-cover>=6.5
69
69
extras =
70
70
parallel_show_output = true
71
71
commands =
@@ -94,8 +94,8 @@ commands =
94
94
description = check that the long description is valid (need for PyPI)
95
95
skip_install = true
96
96
deps =
97
- build>=0.6
98
- twine>=3
97
+ build[virtualenv] >=0.8
98
+ twine>=4
99
99
extras =
100
100
commands =
101
101
pyproject-build -o {envtmpdir} --wheel --sdist .
@@ -114,6 +114,8 @@ commands =
114
114
[flake8]
115
115
max-complexity = 22
116
116
max-line-length = 120
117
+ noqa-require-code = true
118
+ dictionaries = en_US,python,technical,django
117
119
118
120
[pep8]
119
121
max-line-length = 120
Original file line number Diff line number Diff line change @@ -2,17 +2,13 @@ autoclass
2
2
autodoc
3
3
autosectionlabel
4
4
caplog
5
- creat
6
5
eacces
7
- eexist
8
- enoent
9
- exc
10
6
extlinks
11
7
favicon
12
- fcntl
13
8
filelock
14
- fmt
9
+ frameinfo
15
10
fspath
11
+ getframeinfo
16
12
intersphinx
17
13
intervall
18
14
isabstract
@@ -21,26 +17,16 @@ iwoth
21
17
iwusr
22
18
levelno
23
19
lk
24
- lockfile
25
20
msvcrt
26
21
nblck
27
22
nitpicky
28
23
notset
29
- param
30
- pathlib
31
24
pygments
32
25
rdwr
33
26
ro
34
- runtime
35
27
skipif
36
- tmp
28
+ stacklevel
37
29
trunc
38
30
typehints
39
31
unlck
40
- util
41
32
win32
42
- wronly
43
- stacklevel
44
- frameinfo
45
- getframeinfo
46
- lineno
You can’t perform that action at this time.
0 commit comments