-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feature/fine-tune linting config (#3)
# PR Context - ruff 0.2.1 needed a new config structure in the toml - we had some extra hooks in mex-model and mex-assets that were missing in the other repos, so i added them here in the template as well - i found a few more ruff linters that could be helpful for our setup # Added <!-- New features and interfaces --> - add [EOF](https://github.com/pre-commit/pre-commit-hooks?tab=readme-ov-file#end-of-file-fixer), [WS](https://github.com/pre-commit/pre-commit-hooks?tab=readme-ov-file#trailing-whitespace) and [BOM](https://github.com/pre-commit/pre-commit-hooks?tab=readme-ov-file#fix-byte-order-marker) githooks - add [A](https://docs.astral.sh/ruff/rules/#flake8-builtins-a), [B](https://docs.astral.sh/ruff/rules/#flake8-bugbear-b), [PERF](https://docs.astral.sh/ruff/rules/#perflint-perf) and [UP](https://docs.astral.sh/ruff/rules/#pyupgrade-up) ruff linter rule sets # Changes <!-- Changes in existing functionality --> - update poetry and pre-commit dependencies --------- Signed-off-by: Nicolas Drebenstedt <[email protected]>
- Loading branch information
1 parent
d1a461d
commit 6067fc5
Showing
4 changed files
with
36 additions
and
23 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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
cruft==2.15.0 | ||
poetry==1.7.1 | ||
pre-commit==3.6.0 | ||
pre-commit==3.6.1 | ||
wheel==0.42.0 |