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 d7fefc1 commit 6a49583Copy full SHA for 6a49583
1 file changed
.github/workflows/lint-and-test.yml
@@ -10,18 +10,20 @@ jobs:
10
runs-on: ubuntu-latest
11
12
steps:
13
- - name: Install dependencies
14
- run: |
15
- python -m pip install --upgrade pip
16
- pip install ruff black
+ - uses: actions/checkout@v3
17
18
- - name: Lint with Ruff
19
20
- ruff check .
+ - name: "Set up Python"
+ uses: actions/setup-python@v6
21
22
- - name: Lint with Black
23
24
- black --check .
+ - name: "install Ruff"
+ uses: astral-sh/ruff-action@v3
+ with:
+ version: ">=0.15,<0.16"
+ # ToDo: use pyrpoject.toml as version-file
+ # version-file: "pyproject.toml"
+
25
+ - name: "Check formatting"
26
+ run: ruff format --check --diff
27
28
test:
29
strategy:
0 commit comments