Skip to content

Commit

Permalink
Merge pull request #905 from docat-org/chore/update-deps-ruff
Browse files Browse the repository at this point in the history
Update deps and switch to ruff
  • Loading branch information
fliiiix authored Oct 10, 2024
2 parents 1c99c0b + 9c61e62 commit cefa04d
Show file tree
Hide file tree
Showing 5 changed files with 897 additions and 852 deletions.
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

0 comments on commit cefa04d

Please sign in to comment.