mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2026-10-12 08:25:01 -05:00
28 lines
671 B
TOML
28 lines
671 B
TOML
# Configuration file for Pyrefly_.
|
|
# n.b. Pyrefly is early in development.
|
|
# Sphinx's current primary/reference type-checker is mypy.
|
|
#
|
|
# .. _Pyrefly: https://pyrefly.org/en/docs/configuration/
|
|
|
|
project_includes = [
|
|
"doc/conf.py",
|
|
"doc/development/tutorials/examples/autodoc_intenum.py",
|
|
"doc/development/tutorials/examples/helloworld.py",
|
|
"sphinx",
|
|
"tests",
|
|
"utils",
|
|
]
|
|
project_excludes = [
|
|
"**/tests/roots*",
|
|
]
|
|
python_version = "3.12"
|
|
replace_imports_with_any = [
|
|
"imagesize",
|
|
"pyximport",
|
|
"snowballstemmer",
|
|
]
|
|
|
|
# https://pyrefly.org/en/docs/error-kinds/
|
|
[errors]
|
|
implicitly-defined-attribute = false # many false positives
|