Chore: Configure pyrefly as an alternative typing tool (#12003)

This commit is contained in:
Trenton H
2026-02-07 10:33:00 -08:00
committed by GitHub
parent 1d89ec402b
commit 5c3d02e6d4
7 changed files with 17397 additions and 5 deletions

View File

@@ -140,6 +140,7 @@ typing = [
"microsoft-python-type-stubs @ git+https://github.com/microsoft/python-type-stubs.git",
"mypy",
"mypy-baseline",
"pyrefly",
"types-bleach",
"types-channels",
"types-colorama",
@@ -346,6 +347,11 @@ disallow_untyped_defs = true
warn_redundant_casts = true
warn_unused_ignores = true
[tool.pyrefly]
search-path = [ "src" ]
baseline = ".pyrefly-baseline.json"
python-platform = "linux"
[tool.django-stubs]
django_settings_module = "paperless.settings"