From 7b4bc844b9d4c38a8dbba1e727f963611124dd5b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Padilla?= Date: Fri, 22 Mar 2024 12:01:19 -0400 Subject: [PATCH] chore: fix docs step (#950) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * chore: fix docs step * disable warn_return_any --------- Co-authored-by: José Padilla --- docs/conf.py | 2 +- pyproject.toml | 1 + setup.cfg | 4 ++-- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/docs/conf.py b/docs/conf.py index 938631f7..b0b23f42 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -69,7 +69,7 @@ def find_version(*file_paths) -> str: # # This is also used if you do content translation via gettext catalogs. # Usually you set "language" from the command line for these cases. -language = None +# language = None # List of patterns, relative to source directory, that match files and # directories to ignore when looking for source files. diff --git a/pyproject.toml b/pyproject.toml index 613b91dd..320777c9 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -28,6 +28,7 @@ strict = true # TODO: remove these strict loosenings when possible allow_incomplete_defs = true allow_untyped_defs = true +warn_return_any = false [[tool.mypy.overrides]] module = "tests.*" diff --git a/setup.cfg b/setup.cfg index e5f01712..e6d9f3f9 100644 --- a/setup.cfg +++ b/setup.cfg @@ -41,7 +41,7 @@ packages = find: [options.extras_require] docs = - sphinx>=4.5.0,<5.0.0 + sphinx sphinx-rtd-theme zope.interface crypto = @@ -50,7 +50,7 @@ tests = pytest>=6.0.0,<7.0.0 coverage[toml]==5.0.4 dev = - sphinx>=4.5.0,<5.0.0 + sphinx sphinx-rtd-theme zope.interface cryptography>=3.4.0