-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathsetup.cfg
More file actions
14 lines (13 loc) · 812 Bytes
/
setup.cfg
File metadata and controls
14 lines (13 loc) · 812 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
[mypy]
# For external modules, mypy uses a repository called typeshed which contains type declarations, so that, for instance,
# it knows that str.reverse() returns a string. Not all external modules (ahem pandas ahem) have entries in typeshed.
# by default, mypy raises a warning whenever you import an external module it doesn't know how to typecheck.
# This is the recommended way to avoid such warnings.
ignore_missing_imports = True
# Turn on some amount of typechecking even in code that doesn't have type annotations.
check_untyped_defs = True
[tool:pytest]
addopts = --mypy --flake8 --ff -s
# We're not sure why ipywidgets raises this warning, but it doesn't appear to be our fault. Ignore it.
filterwarnings =
ignore:.*Widget registration using a string name has been deprecated:DeprecationWarning