-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ENH: Refactor code linter and formatter dependencies
Refactor code linter and formatter dependencies: - Remove `black`, `flake8` and `isort` dependencies from `pyproject.toml`: the role has been taken over by `ruff` in commit 81b3690. - Transfer the `black` and `isort` rules left behind to `ruff` in `pyproject.toml` - Remove `black`, `flake8` and `isort` from the pre-commit config file and use `ruff` instead. Set explicitly `eddymotion` as the known first party so that the `import` statements corresponding to `eddymotion` are separated by a blank line from third-party package `import` statements. Add `--diff` to the `ruff check` command in the contribution checks GitHub Actions workflow so that the differences that need to be applied are actually shown on GitHub.
- Loading branch information
1 parent
afc5270
commit 2dc2c67
Showing
3 changed files
with
24 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,4 +20,4 @@ jobs: | |
with: | ||
python-version: 3 | ||
- name: Lint EddyMotion | ||
run: pipx run ruff check | ||
run: pipx run ruff check --diff |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters