Skip to content

Commit 30e22b5

Browse files
committed
build: use ruff instead of flake8
1 parent 2ce9a16 commit 30e22b5

2 files changed

Lines changed: 6 additions & 2 deletions

File tree

.github/workflows/python-app.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242
pip install -r dev-requirements.txt
4343
4444
- name: Lint code
45-
run: pipenv run flake8
45+
run: ruff check
4646

4747
- name: Run tests
48-
run: pipenv run pytest test
48+
run: pytest test

pyproject.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
[tool.ruff]
2+
line-length = 120
3+
target-version = "py310"
4+

0 commit comments

Comments
 (0)