@@ -13,50 +13,50 @@ jobs:
1313 isort :
1414 runs-on : ubuntu-latest
1515 container :
16- image : sergioteula/pytools
17- volumes :
18- - ${{github.workspace}}:/code
16+ image : python:3.12
1917 steps :
2018 - name : Check out code
2119 uses : actions/checkout@v4
20+ - name : Install dependencies
21+ run : pip install isort
2222 - name : Check imports order
23- run : ./scripts/check_isort
23+ run : isort -c --color .
2424
2525 black :
2626 runs-on : ubuntu-latest
2727 container :
28- image : sergioteula/pytools
29- volumes :
30- - ${{github.workspace}}:/code
28+ image : python:3.12
3129 steps :
3230 - name : Check out code
3331 uses : actions/checkout@v4
32+ - name : Install dependencies
33+ run : pip install black
3434 - name : Check code format
35- run : ./scripts/check_black
35+ run : black --check --diff --color .
3636
3737 flake8 :
3838 runs-on : ubuntu-latest
3939 container :
40- image : sergioteula/pytools
41- volumes :
42- - ${{github.workspace}}:/code
40+ image : python:3.12
4341 steps :
4442 - name : Check out code
4543 uses : actions/checkout@v4
44+ - name : Install dependencies
45+ run : pip install flake8
4646 - name : Check code errors
47- run : ./scripts/check_flake8
47+ run : flake8 .
4848
4949 pylint :
5050 runs-on : ubuntu-latest
5151 container :
52- image : sergioteula/pytools
53- volumes :
54- - ${{github.workspace}}:/code
52+ image : python:3.12
5553 steps :
5654 - name : Check out code
5755 uses : actions/checkout@v4
56+ - name : Install dependencies
57+ run : pip install pylint
5858 - name : Check code errors
59- run : ./scripts/check_pylint
59+ run : find . -type f -name '*.py' | xargs pylint --disable=missing-docstring --disable=too-few-public-methods
6060
6161 test :
6262 runs-on : ubuntu-latest
0 commit comments