[flake8] ignore = E203, E266, E501, W503 max-line-length = 80 max-complexity = 18 select = B,C,E,F,W,T4,B9 [mypy] python_version = 3.6 warn_unused_ignores = True warn_unused_configs = True warn_return_any = True warn_redundant_casts = True warn_unreachable = True ignore_missing_imports = False disallow_any_unimported = True disallow_untyped_calls = True no_implicit_optional = True disallow_untyped_defs = True [mypy-numpy.*] ignore_missing_imports = True [mypy-jax.*] ignore_missing_imports = True [mypy-tensorflow] ignore_missing_imports = True [mypy-pytest] ignore_missing_imports = True [mypy-setuptools] ignore_missing_imports = True [tool:pytest] filterwarnings = ignore::DeprecationWarning ignore::PendingDeprecationWarning # produced by TensorFlow: ignore:.*can't resolve package from __spec__ or __package__.*:ImportWarning [coverage:report] exclude_lines = # see: http://coverage.readthedocs.io/en/latest/config.html # Have to re-enable the standard pragma pragma: no cover @abstractmethod @overload TYPE_CHECKING