Skip to content

Commit

Permalink
enable explicit package bases in mypy checks
Browse files Browse the repository at this point in the history
  • Loading branch information
terhorstd committed Nov 30, 2022
1 parent e855cef commit 760d219
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .rstcheck.cfg
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
[rstcheck]
# for details about the rstcheck configuration see
# <https://rstcheck.readthedocs.io/en/latest/usage/config/#configuration-files>

# 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|)
Expand Down
1 change: 1 addition & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 760d219

Please sign in to comment.