diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 000000000..8a625b82c --- /dev/null +++ b/pyproject.toml @@ -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' \ No newline at end of file