Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update deps and switch to ruff #905

Merged
merged 3 commits into from
Oct 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .github/workflows/docat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@ jobs:
- name: run backend linter
working-directory: docat
run: |
python -m poetry run flake8 docat tests
python -m poetry run ruff check
python -m poetry run ruff format --check

- name: run backend static code analysis
working-directory: docat
Expand Down
3 changes: 0 additions & 3 deletions docat/.flake8

This file was deleted.

6 changes: 3 additions & 3 deletions docat/Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
format:
poetry run isort docat tests
poetry run black docat tests
poetry run ruff check --fix
poetry run ruff format
lint:
poetry run flake8 docat tests
poetry run ruff check
pytest:
poetry run pytest
Loading