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 958b015 commit 3685ab5Copy full SHA for 3685ab5
.github/workflows/quality.yml
@@ -0,0 +1,36 @@
1
+name: Code quality
2
+on:
3
+ push:
4
+ pull_request:
5
+
6
+jobs:
7
8
+ run:
9
+ runs-on: ubuntu-latest
10
11
+ steps:
12
13
+ - name: Acquire sources
14
+ uses: actions/[email protected]
15
16
+ - name: Setup Python
17
18
+ with:
19
+ python-version: "3.12"
20
+ architecture: x64
21
22
+ - name: Apply caching of dependencies
23
24
25
+ path: ~/.cache/pip
26
+ key: pip-${{ hashFiles('**/requirements-*.txt') }}
27
28
+ - name: Install dependencies
29
+ run: |
30
+ pip install -U pip setuptools wheel
31
+ pip install -r requirements.txt -r dev-requirements.txt
32
33
+ - name: Run ruff
34
35
+ ruff format --diff .
36
+ ruff check --diff .
0 commit comments