-
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.
- Loading branch information
Showing
1 changed file
with
11 additions
and
0 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 |
---|---|---|
@@ -0,0 +1,11 @@ | ||
Enforce various new ruff linter rules: | ||
|
||
- **PGH:** pygrep-hooks (replaces pre-commit version) | ||
- **PL:** pylint (bunch of typing related linter rules) | ||
- **UP:** pyupgrade (forces use of the newest possible standards, depending on target version) | ||
- **RET:** flake8-return (various linter rules related to function returns) | ||
- **Q:** flake8-quotes (always use double quotes) | ||
- **ASYNC:** flake8-async (report blocking operations in async functions) | ||
- **INT:** flake-gettext (gettext related linting rules) | ||
- **PTH:** flake8-use-pathlib (always prefer pathlib alternatives to the os ones) | ||
- **RUF:** ruff custom rules (various additional rules created by the ruff linter team) |