summaryrefslogtreecommitdiff
path: root/pyproject.toml
diff options
context:
space:
mode:
Diffstat (limited to 'pyproject.toml')
-rw-r--r--pyproject.toml12
1 files changed, 11 insertions, 1 deletions
diff --git a/pyproject.toml b/pyproject.toml
index 3bd98c7..aa09ac8 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -2,8 +2,13 @@
strict = true
implicit_reexport = true
+[[tool.mypy.overrides]]
+module = "Biz.PodcastItLater.Core"
+ignore_missing_imports = true
+disable_error_code = "import-untyped"
+
[tool.ruff]
-exclude = ["_", ".git"]
+exclude = ["_", ".git", "build"]
line-length = 80
indent-width = 4
target-version = "py310"
@@ -26,6 +31,7 @@ ignore = [
"D203", # no-blank-line-before-class
"D212", # multi-line-summary-first-line
"DOC201", # docstring-missing-returns
+ "DOC501", # docstring-missing-exception
"E203", # whitespace-before-punctuation, doesn't work with ruff format
"EXE003", # shebang-missing-python, we use run.sh
"INP001", # implicit-namespace-package
@@ -38,6 +44,10 @@ ignore = [
"S607", # start-process-with-partial-path
"TD002", # missing-todo-author, just don't allow todos
"TD003", # missing-todo-link, just don't allow todos
+ "COM812", # trailing-comma-missing, conflicts with ruff format
+ "ISC001", # implicit-string-concatenation, conflicts with ruff format
+ "E501", # line-too-long
+ "RUF100", # unused-noqa
]
[tool.ruff.lint.isort]