File tree 5 files changed +149
-24
lines changed
5 files changed +149
-24
lines changed Original file line number Diff line number Diff line change 2
2
# Black compatible values https://black.readthedocs.io/en/stable/compatible_configs.html#flake8
3
3
max-line-length = 88
4
4
extend-ignore =
5
- E203, # whitespace before ':'
6
- ANN101 # Missing type annotation for self in method
5
+ # E203: whitespace before ':'
6
+ E203,
7
+ # ANN101: Missing type annotation for self in method
8
+ ANN101
Original file line number Diff line number Diff line change 9
9
pre-commit :
10
10
runs-on : ubuntu-latest
11
11
steps :
12
- - uses : actions/checkout@v2
13
- - uses : actions/setup-python@v2
14
- -
uses :
pre-commit/[email protected]
12
+ - uses : actions/checkout@v4
13
+ - uses : actions/setup-python@v4
14
+ with :
15
+ python-version : " 3.9"
16
+ cache : pip
17
+ -
uses :
pre-commit/[email protected]
Original file line number Diff line number Diff line change 2
2
# See https://pre-commit.com/hooks.html for more hooks
3
3
repos :
4
4
- repo : https://github.com/pre-commit/pre-commit-hooks
5
- rev : v4.0.1
5
+ rev : v4.5.0
6
6
hooks :
7
7
- id : trailing-whitespace
8
8
- id : end-of-file-fixer
9
9
- id : check-yaml
10
10
- id : check-added-large-files
11
11
- repo : https://github.com/PyCQA/isort
12
- rev : 5.9.3
12
+ rev : 5.12.0
13
13
hooks :
14
14
- id : isort
15
15
- repo : https://github.com/psf/black
16
- rev : 21.7b0
16
+ rev : 23.11.0
17
17
hooks :
18
18
- id : black
19
19
- repo : https://github.com/PyCQA/flake8
20
- rev : 3.9.2
20
+ rev : 6.1.0
21
21
hooks :
22
22
- id : flake8
23
23
additional_dependencies :
24
- - flake8-bugbear~=21.4.3
25
- - pep8-naming~=0.12.1
26
- - flake8-qgis>=0.1.4
24
+ - flake8-bugbear~=23.9.16
25
+ - pep8-naming~=0.13.3
26
+ - flake8-qgis>=1.0.0
Original file line number Diff line number Diff line change
1
+ pip-tools
2
+
3
+ # Testing
4
+ pytest
5
+ pytest-cov
6
+ pytest-qgis
7
+
8
+ # Linting and formatting
9
+ pre-commit
10
+ black
11
+ isort
12
+ flake8
13
+ flake8-bugbear
14
+ pep8-naming
15
+ flake8-qgis
16
+ PyQt5-stubs
Original file line number Diff line number Diff line change 1
- # Testing
2
- pytest ~= 6.2.3
3
- pytest-cov ~= 2.12.1
4
- pytest-qgis ~= 0.1.0
1
+ #
2
+ # This file is autogenerated by pip-compile with Python 3.9
3
+ # by the following command:
4
+ #
5
+ # pip-compile '.\requirements-dev.in'
6
+ #
7
+ astor == 0.8.1
8
+ # via flake8-qgis
9
+ attrs == 23.1.0
10
+ # via flake8-bugbear
11
+ black == 23.11.0
12
+ # via -r .\requirements-dev.in
13
+ build == 1.0.3
14
+ # via pip-tools
15
+ cfgv == 3.4.0
16
+ # via pre-commit
17
+ click == 8.1.7
18
+ # via
19
+ # black
20
+ # pip-tools
21
+ colorama == 0.4.6
22
+ # via
23
+ # build
24
+ # click
25
+ # pytest
26
+ coverage [toml ]== 7.3.2
27
+ # via
28
+ # coverage
29
+ # pytest-cov
30
+ distlib == 0.3.7
31
+ # via virtualenv
32
+ exceptiongroup == 1.1.3
33
+ # via pytest
34
+ filelock == 3.13.1
35
+ # via virtualenv
36
+ flake8 == 6.1.0
37
+ # via
38
+ # -r .\requirements-dev.in
39
+ # flake8-bugbear
40
+ # flake8-qgis
41
+ # pep8-naming
42
+ flake8-bugbear == 23.9.16
43
+ # via -r .\requirements-dev.in
44
+ flake8-qgis == 1.0.0
45
+ # via -r .\requirements-dev.in
46
+ identify == 2.5.31
47
+ # via pre-commit
48
+ importlib-metadata == 6.8.0
49
+ # via build
50
+ iniconfig == 2.0.0
51
+ # via pytest
52
+ isort == 5.12.0
53
+ # via -r .\requirements-dev.in
54
+ mccabe == 0.7.0
55
+ # via flake8
56
+ mypy-extensions == 1.0.0
57
+ # via black
58
+ nodeenv == 1.8.0
59
+ # via pre-commit
60
+ packaging == 23.2
61
+ # via
62
+ # black
63
+ # build
64
+ # pytest
65
+ pathspec == 0.11.2
66
+ # via black
67
+ pep8-naming == 0.13.3
68
+ # via -r .\requirements-dev.in
69
+ pip-tools == 7.3.0
70
+ # via -r .\requirements-dev.in
71
+ platformdirs == 3.11.0
72
+ # via
73
+ # black
74
+ # virtualenv
75
+ pluggy == 1.3.0
76
+ # via pytest
77
+ pre-commit == 3.5.0
78
+ # via -r .\requirements-dev.in
79
+ pycodestyle == 2.11.1
80
+ # via flake8
81
+ pyflakes == 3.1.0
82
+ # via flake8
83
+ pyproject-hooks == 1.0.0
84
+ # via build
85
+ pyqt5-stubs == 5.15.6.0
86
+ # via -r .\requirements-dev.in
87
+ pytest == 7.4.3
88
+ # via
89
+ # -r .\requirements-dev.in
90
+ # pytest-cov
91
+ # pytest-qgis
92
+ pytest-cov == 4.1.0
93
+ # via -r .\requirements-dev.in
94
+ pytest-qgis == 1.3.5
95
+ # via -r .\requirements-dev.in
96
+ pyyaml == 6.0.1
97
+ # via pre-commit
98
+ tomli == 2.0.1
99
+ # via
100
+ # black
101
+ # build
102
+ # coverage
103
+ # pip-tools
104
+ # pyproject-hooks
105
+ # pytest
106
+ typing-extensions == 4.8.0
107
+ # via black
108
+ virtualenv == 20.24.6
109
+ # via pre-commit
110
+ wheel == 0.41.3
111
+ # via pip-tools
112
+ zipp == 3.17.0
113
+ # via importlib-metadata
5
114
6
- # Linting and formatting
7
- pre-commit >= 2.12.1
8
- black ~= 21.7b0
9
- isort ~= 5.9.3
10
- flake8 ~= 3.9.2
11
- flake8-bugbear ~= 21.4.3
12
- pep8-naming ~= 0.12.1
13
- flake8-qgis >= 0.1.4
115
+ # The following packages are considered to be unsafe in a requirements file:
116
+ # pip
117
+ # setuptools
You can’t perform that action at this time.
0 commit comments