forked from python/typeshed
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyrefly.toml
More file actions
26 lines (23 loc) · 872 Bytes
/
Copy pathpyrefly.toml
File metadata and controls
26 lines (23 loc) · 872 Bytes
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
26
# typeshed uses `# type: ignore` comments to silence mypy and pyright; pyrefly
# should not treat them as suppressing its own errors. Keep in sync with the
# `respect-type-ignore-comments` setting in ty.toml.
enabled-ignores = ["pyrefly"]
# pyrefly excludes "**/venv/**/*" by default, which matches "stdlib/venv",
# a proper stdlib module.
project-excludes = ["**/__pycache__", "**/.[!/.]*/**"]
disable-project-excludes-heuristics = true
# These imports are intentionally optional and are also ignored by mypy and pyright.
ignore-missing-imports = [
"branca",
"folium",
"pydot",
"pygraphviz.*",
"scipy.*",
"twisted.*",
"xyzservices",
]
[errors]
# Incompatible overrides and deprecations are inherited from the implementation
# and are not actionable in typeshed. Keep in sync with pyrightconfig.json.
deprecated = false
bad-override = false