forked from cylc/cylc-uiserver
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmypy.ini
More file actions
20 lines (17 loc) · 659 Bytes
/
mypy.ini
File metadata and controls
20 lines (17 loc) · 659 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
[mypy]
python_version = 3.12
ignore_missing_imports = True
files = cylc/uiserver
# don't run mypy on these files directly
exclude = cylc/uiserver/(tests/|jupyter_config.py)
# 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
# Suppress the following messages:
# By default the bodies of untyped functions are not checked, consider using --check-untyped-defs
disable_error_code = annotation-unchecked