From 760d219584c8988531459487a6ef6bd27f5672a0 Mon Sep 17 00:00:00 2001 From: Dennis Terhorst Date: Wed, 30 Nov 2022 15:36:27 +0100 Subject: [PATCH] enable explicit package bases in mypy checks --- .rstcheck.cfg | 3 +++ tox.ini | 1 + 2 files changed, 4 insertions(+) diff --git a/.rstcheck.cfg b/.rstcheck.cfg index 36eb57d5c5..540837ea07 100644 --- a/.rstcheck.cfg +++ b/.rstcheck.cfg @@ -1,4 +1,7 @@ [rstcheck] +# for details about the rstcheck configuration see +# + # ignore_directives=one,two,three # ignore_roles=src,RFC ignore_messages=(Hyperlink target "[^"]+" is not referenced\.$|No role entry for|No directive entry for|v3\.3/index.rst:46.*Block quote ends without a blank line|Unknown directive type|Duplicate explicit target name|No such file|Error in|Figure caption must be a paragraph|Duplicate implicit target name|expected.*before|was not declared in this scope|has initializer but incomplete type|has not been declared|Could not find line for literal|error|ERROR|Enumerated list start value not ordinal|bash|None|cpp|Enumerated list ends without a blank line|ISO C does not allow|) diff --git a/tox.ini b/tox.ini index 0dae43f3ca..f9f31e9670 100644 --- a/tox.ini +++ b/tox.ini @@ -25,6 +25,7 @@ add-ignore = D100, D101, D102, D103, D104, D105, D200, D201, D202, D204, D205, D [mypy] exclude = .git/, .snakemake/, .pytest_cache/, sync-test-env/, conda/, env/ +explicit_package_bases = True # # Configuraion of test coverage