We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent da6dbb7 commit b92f383Copy full SHA for b92f383
.github/workflows/linter.yml
@@ -0,0 +1,29 @@
1
+name: Linting
2
+
3
+on: [push, pull_request]
4
5
+env:
6
+ PIP_DISABLE_PIP_VERSION_CHECK: 1
7
8
+jobs:
9
+ linting:
10
+ runs-on: ubuntu-latest
11
12
+ steps:
13
+ - name: Checkout repository
14
+ uses: actions/checkout@v4
15
16
+ - name: Set up Python 3.x
17
+ uses: actions/setup-python@v5
18
+ with:
19
+ python-version: 3.x
20
21
+ - name: Install requirements
22
+ run: |
23
+ set -xe
24
+ python -m pip install ruff
25
26
+ - name: Lint with ruff
27
28
29
+ python -m ruff --per-file-ignores="__init__.py:F401" --per-file-ignores="__init__.py:E402" .
0 commit comments