diff options
author | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2021-12-21 09:03:48 +0100 |
---|---|---|
committer | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2021-12-21 09:03:48 +0100 |
commit | a7a532f1ddbdd3f66ef6a37f11fef5b451ebabd6 (patch) | |
tree | e664c3e54e48efd09373c340b92e293c51f3fa9b /pyproject.toml | |
parent | chg: [typing] Updated typing-extensions. (diff) | |
download | newspipe-a7a532f1ddbdd3f66ef6a37f11fef5b451ebabd6.tar.gz newspipe-a7a532f1ddbdd3f66ef6a37f11fef5b451ebabd6.tar.bz2 newspipe-a7a532f1ddbdd3f66ef6a37f11fef5b451ebabd6.zip |
chg: [dependencies] Updaed mypy.
Diffstat (limited to 'pyproject.toml')
-rw-r--r-- | pyproject.toml | 22 |
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" |