We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 49073bf commit 5cdb8acCopy full SHA for 5cdb8ac
.github/workflows/lint.yaml
@@ -0,0 +1,20 @@
1
+name: Test
2
+
3
+on: [push, pull_request]
4
5
+jobs:
6
+ test-package:
7
+ name: Lint
8
+ runs-on: ubuntu-latest
9
+ steps:
10
+ - uses: actions/checkout@v4
11
+ - name: Set up Python
12
+ uses: actions/setup-python@v4
13
+ with:
14
+ python-version: "3.10"
15
+ - name: Install Ruff
16
+ run: |
17
+ python -m pip install ruff>=0.5
18
+ - name: Ruff
19
20
+ ruff format --check
tox.ini
@@ -42,7 +42,6 @@ markers =
42
43
[testenv]
44
commands =
45
- ruff format --check
46
pytest {posargs}
47
coverage report
48
coverage xml
@@ -68,7 +67,6 @@ deps =
68
67
pytest-xdist
69
pytest-mock
70
requests
71
- ruff>=0.5
72
passenv =
73
PYTEST_ADDOPTS
74
0 commit comments