Skip to content

Commit

Permalink
Configure ruff to check for style and format
Browse files Browse the repository at this point in the history
Remove `flake8`, `pylint` and `black` as requirements to check style and
format the code in `env/requirements-style.txt` and `environment.yml`.
Update targets in `Makefile` to use ruff to check for style and format
the code. Add ruff configs to `pyproject.toml`. Remove the `.pylintrc`
file.
  • Loading branch information
santisoler committed Dec 19, 2024
1 parent 1bc1c51 commit 2f6cc0a
Show file tree
Hide file tree
Showing 6 changed files with 54 additions and 411 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/style.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,4 +58,4 @@ jobs:
run: python -m pip freeze

- name: Check code style
run: make check-style lint
run: make check-style
392 changes: 0 additions & 392 deletions .pylintrc

This file was deleted.

Loading

0 comments on commit 2f6cc0a

Please sign in to comment.