forked from cylc/cylc-flow
-
Notifications
You must be signed in to change notification settings - Fork 0
/
mypy.ini
25 lines (20 loc) · 755 Bytes
/
mypy.ini
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
[mypy]
python_version = 3.7
ignore_missing_imports = True
files = cylc/flow
# Enable PEP 420 style namespace packages, which we use.
# Needed for associating "import foo.bar" with foo/bar.py
namespace_packages = True
# Need this because we don't have __init__.py in top-level dir:
explicit_package_bases = True
allow_redefinition = True
strict_equality = True
show_error_codes = True
# Not yet mypy compliant.
exclude= cylc/flow/etc/tutorial/.*
# Suppress the following messages:
# By default the bodies of untyped functions are not checked, consider using --check-untyped-defs
disable_error_code = annotation-unchecked
# For some reason, couldn't exclude this with the exclude directive above
[mypy-cylc.flow.data_messages_pb2]
ignore_errors = True