@@ -14,30 +14,28 @@ jobs:
1414 runs-on : ubuntu-latest
1515 strategy :
1616 matrix :
17- python : [3.7, 3.8, 3.9, "3.10", 3.11, pypy3.8 ]
17+ python : [3.7, 3.8, 3.9, "3.10", 3.11, pypy3.9 ]
1818
1919 steps :
2020 - uses : actions/checkout@v3
2121 - name : setup python
2222 uses : actions/setup-python@v4
2323 with :
2424 python-version : ${{ matrix.python }}
25+ cache : ' pip'
26+ check-latest : true
2527 - name : Install dependencies
2628 run : |
2729 python -m pip install --upgrade pip
2830 pip install -e .
29- pip install coveralls --upgrade
30- - name : Run flake8
31- run : |
32- pip install flake8 --upgrade
33- flake8 --exclude=build --ignore=E501,F403,F401,E241,E225,E128 .
34- - name : Run pycodestyle
35- run : |
36- pip install pycodestyle --upgrade
37- pycodestyle --ignore=E128,E261,E225,E501,W605 slugify test.py setup.py
31+ pip install -r dev.requirements.txt
32+ pip install --upgrade coveralls
33+ - name : Run ruff
34+ run : ruff --exclude=build --format=github
35+ --select="A,B,DJ,E,F,PLC,PLE,PLW,W"
36+ --ignore=F401,F403 --line-length=117 .
3837 - name : Run test
39- run : |
40- coverage run --source=slugify test.py
38+ run : coverage run --source=slugify test.py
4139 - name : Coveralls
4240 run : coveralls --service=github
4341 env :
0 commit comments