Skip to content

Commit

Permalink
introduce pyproject.toml for ci tool settings
Browse files Browse the repository at this point in the history
  • Loading branch information
kedhammar committed Oct 21, 2024
1 parent 1a3be9f commit 759104e
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions pyproject.toml
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'

0 comments on commit 759104e

Please sign in to comment.