@@ -3,7 +3,6 @@ name: Linter
33on : [push]
44
55jobs :
6-
76 black :
87 runs-on : ubuntu-22.04
98 steps :
@@ -21,13 +20,13 @@ jobs:
2120 uses : actions/setup-python@v4
2221 with :
2322 python-version : " 3.10"
24- cache : ' pip' # caching pip dependencies
23+ cache : " pip" # caching pip dependencies
2524 - name : Install dependencies
2625 run : |
2726 python -m pip install --upgrade pip
2827 pip install .[dev]
29- - name : Check import order
30- run : isort . -c
28+ - name : Check import order
29+ run : isort . -c
3130
3231 flake8 :
3332 runs-on : ubuntu-22.04
3736 uses : actions/setup-python@v4
3837 with :
3938 python-version : " 3.10"
40- cache : ' pip' # caching pip dependencies
39+ cache : " pip" # caching pip dependencies
4140 - name : Install dependencies
4241 run : |
4342 python -m pip install --upgrade pip
4746 # stop the build if there are Python syntax errors or undefined names
4847 flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
4948 # option --exit-zero can be added to this line to set these errors as warnings
50- flake8 . --count --statistics --config setup.cfg
49+ flake8 . --count --statistics
5150
5251 mypy :
5352 runs-on : ubuntu-22.04
@@ -57,10 +56,10 @@ jobs:
5756 uses : actions/setup-python@v4
5857 with :
5958 python-version : " 3.10"
60- cache : ' pip' # caching pip dependencies
59+ cache : " pip" # caching pip dependencies
6160 - name : Install dependencies
6261 run : |
6362 python -m pip install --upgrade pip
6463 pip install .[dev]
65- - name : Lint with mypy
66- run : mypy . -v
64+ - name : Lint with mypy
65+ run : mypy . -v
0 commit comments