File tree 3 files changed +10
-5
lines changed
3 files changed +10
-5
lines changed Original file line number Diff line number Diff line change 54
54
# Even our lint and other envs need access to tox
55
55
- name : Install a default Python
56
56
uses : actions/setup-python@v2
57
+ # workaround to avoid getting 3.9 in:
58
+ with :
59
+ python-version : ' 3.8'
57
60
if : ${{ ! contains(matrix.tox_env, 'py') }}
58
61
# Be sure to install the version of python needed by a specific test, if necessary
59
62
- name : Set up Python version
Original file line number Diff line number Diff line change @@ -4,8 +4,8 @@ exclude: |
4
4
^docs/conf.py$
5
5
)
6
6
repos :
7
- - repo : https://github.com/pre-commit/mirrors- isort
8
- rev : v5.4.2
7
+ - repo : https://github.com/PyCQA/ isort
8
+ rev : 5.6.4
9
9
hooks :
10
10
- id : isort
11
11
- repo : https://github.com/python/black.git
25
25
- id : debug-statements
26
26
language_version : python3
27
27
- repo : https://gitlab.com/pycqa/flake8.git
28
- rev : 3.8.3
28
+ rev : 3.8.4
29
29
hooks :
30
30
- id : flake8
31
31
additional_dependencies :
@@ -35,14 +35,14 @@ repos:
35
35
- flake8-docstrings>=1.5.0
36
36
language_version : python3
37
37
- repo : https://github.com/adrienverge/yamllint.git
38
- rev : v1.24.2
38
+ rev : v1.25.0
39
39
hooks :
40
40
- id : yamllint
41
41
files : \.(yaml|yml)$
42
42
types : [file, yaml]
43
43
entry : yamllint --strict
44
44
- repo : https://github.com/pre-commit/mirrors-mypy
45
- rev : v0.782
45
+ rev : v0.790
46
46
hooks :
47
47
- id : mypy
48
48
# empty args needed in order to match mypy cli behavior
Original file line number Diff line number Diff line change @@ -79,6 +79,8 @@ whitelist_externals =
79
79
80
80
[testenv:lint]
81
81
description = Runs all linting tasks
82
+ # temporary due to https://github.com/PyCQA/pylint/issues/3876
83
+ basepython = python3.8
82
84
commands =
83
85
# to run a single linter you can do "pre-commit run flake8"
84
86
python -m pre_commit run {posargs:--all}
You can’t perform that action at this time.
0 commit comments