Skip to content

Commit ae90cdf

Browse files
committed
Use ruff in github actions
1 parent 843fdcd commit ae90cdf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/code-quality.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
with:
1111
python-version: 3.8
1212
- run: pip install --upgrade pip
13-
- run: pip install types-setuptools "black<23" "pylint<3" "mypy<1" "jsonschema<5" pytest "returns<1" "aiohttp<4" "aiozmq<1" "django<5" "fastapi<1" "flask<3" "flask-socketio<5.3.1" "pyzmq" "sanic" "tornado<7" "uvicorn<1" "websockets<11"
13+
- run: pip install types-setuptools "black<23" ruff "mypy<1" "jsonschema<5" pytest "returns<1" "aiohttp<4" "aiozmq<1" "django<5" "fastapi<1" "flask<3" "flask-socketio<5.3.1" "pyzmq" "sanic" "tornado<7" "uvicorn<1" "websockets<11"
1414
- run: black --diff --check $(git ls-files -- '*.py' ':!:docs/*')
15-
- run: pylint $(git ls-files -- '*.py' ':!:docs/*')
15+
- run: ruff $(git ls-files -- '*.py' ':!:docs/*')
1616
- run: mypy --strict $(git ls-files -- '*.py' ':!:docs/*')

0 commit comments

Comments
 (0)