Skip to content

Commit 4ce9104

Browse files
Use ruff for linting
1 parent d14ca0d commit 4ce9104

File tree

3 files changed

+136
-70
lines changed

3 files changed

+136
-70
lines changed

.github/workflows/python-app.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ permissions:
2020
pull-requests: write
2121

2222
jobs:
23-
Pytest:
23+
Test:
2424
runs-on: ubuntu-latest
2525
steps:
2626
- uses: actions/checkout@v4
@@ -54,7 +54,7 @@ jobs:
5454
coverageFile: coverage.xml
5555
token: ${{ secrets.GITHUB_TOKEN }}
5656

57-
Flake8:
57+
Lint:
5858
runs-on: ubuntu-latest
5959
steps:
6060
- uses: actions/checkout@v4
@@ -71,11 +71,11 @@ jobs:
7171
key: ${{ runner.os }}-poetry-${{ hashFiles('poetry.lock') }}
7272
- run: poetry --version
7373
- run: poetry install
74-
- name: Lint with flake8
74+
- name: Lint with ruff
7575
run: |
76-
poetry run flake8
76+
poetry run ruff check
7777
78-
Mypy:
78+
Type-check:
7979
runs-on: ubuntu-latest
8080
steps:
8181
- uses: actions/checkout@v4

0 commit comments

Comments
 (0)