-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update ruff settings & enable ruff formatting
- This updates ruff itself, as we were using a very old version - This updates the pyproject.toml configuration to use the renamed settings options (`ruff.lint` prefix, instead of just `ruff`). - This drops black in favor of ruff auto-formatter. - This drops isort in favor of ruff implementation of isort.
- Loading branch information
Showing
8 changed files
with
145 additions
and
209 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
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
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 |
---|---|---|
@@ -0,0 +1,4 @@ | ||
- Update ruff version (the version we used was very outdated) | ||
- Drop isort in favor of ruff's built-in isort module in the linter | ||
- Drop black in favor of ruff's new built-in formatter | ||
- Update ruff settings, including adding/enabling some new rule-sets |
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
Oops, something went wrong.