forked from NationalGenomicsInfrastructure/genomics-status
-
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.
introduce pyproject.toml for ci tool settings
- Loading branch information
Showing
1 changed file
with
25 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,25 @@ | ||
# === LINTING ================================================================ | ||
|
||
[tool.ruff.lint] | ||
select = [ | ||
# Ruff default rules | ||
# ------------------------------ | ||
"E4", # pycodestyle Imports | ||
"E7", # pycodestyle Statements | ||
"E9", # pycodestyle Runtime | ||
"F", # Pyflakes | ||
|
||
# Additional Comment | ||
# ------------------------------------------------------ | ||
"I", # isort Best-practice sorting of imports | ||
"UP", # pyupgrade Make sure syntax is up-to-date | ||
] | ||
ignore = [ | ||
"E402", # Module level import not at top of file | ||
"E722", # Do not use bare 'except' | ||
"E741", # Ambiguous variable name | ||
] | ||
|
||
[tool.mypy] | ||
ignore_missing_imports = true | ||
follow_imports = 'skip' |