| 1 |
[mypy] |
| 2 |
python_version = 3.12 |
| 3 |
ignore_missing_imports = True |
| 4 |
files = cylc/flow |
| 5 |
|
| 6 |
# Enable PEP 420 style namespace packages, which we use. |
| 7 |
# Needed for associating "import foo.bar" with foo/bar.py |
| 8 |
namespace_packages = True |
| 9 |
# Need this because we don't have __init__.py in top-level dir: |
| 10 |
explicit_package_bases = True |
| 11 |
|
| 12 |
allow_redefinition = True |
| 13 |
strict_equality = True |
| 14 |
show_error_codes = True |
| 15 |
|
| 16 |
# Not yet mypy compliant. |
| 17 |
exclude = cylc/flow/etc/tutorial/.* |
| 18 |
|
| 19 |
# Suppress the following messages: |
| 20 |
# By default the bodies of untyped functions are not checked, consider using --check-untyped-defs |
| 21 |
disable_error_code = annotation-unchecked |