aboutsummaryrefslogtreecommitdiff
path: root/pyproject.toml
diff options
context:
space:
mode:
Diffstat (limited to 'pyproject.toml')
-rw-r--r--pyproject.toml22
1 files changed, 20 insertions, 2 deletions
diff --git a/pyproject.toml b/pyproject.toml
index b9ca751a..96991106 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -5,6 +5,8 @@ description = "Newspipe is a web news aggregator."
authors = ["Cédric Bonhomme <cedric@cedricbonhomme.org>"]
license = "AGPL-3.0-or-later"
+homepage = "https://sr.ht/~cedric/newspipe"
+
[tool.poetry.dependencies]
python = "^3.8"
aiohttp = "^3.7.4"
@@ -30,8 +32,7 @@ python-dateutil = "^2.8.1"
psycopg2-binary = "^2.9.1"
flask-talisman = "^0.8.1"
feedparser = "^6.0.8"
-
-
+mypy = "^0.920"
[tool.poetry.dev-dependencies]
sqlalchemy-schemadisplay = "^1.3"
@@ -40,3 +41,20 @@ flake8 = "^3.9.2"
[build-system]
requires = ["poetry>=0.12"]
build-backend = "poetry.masonry.api"
+
+[tool.mypy]
+python_version = "3.10"
+check_untyped_defs = true
+ignore_errors = false
+ignore_missing_imports = true
+strict_optional = true
+no_implicit_optional = true
+warn_unused_ignores = true
+warn_redundant_casts = true
+warn_unused_configs = true
+warn_unreachable = true
+
+show_error_context = true
+pretty = true
+
+exclude = "migrations|docs"
bgstack15