File tree 2 files changed +28
-0
lines changed
2 files changed +28
-0
lines changed Original file line number Diff line number Diff line change @@ -158,6 +158,7 @@ translations = [
158
158
]
159
159
types = [
160
160
" mypy==1.15.0" ,
161
+ " pyrefly" ,
161
162
" pyright==1.1.400" ,
162
163
{ include-group = " type-stubs" },
163
164
]
Original file line number Diff line number Diff line change
1
+ # Configuration file for Pyrefly_.
2
+ # n.b. Pyrefly is early in development.
3
+ # Sphinx's current primary/reference type-checker is mypy.
4
+ #
5
+ # .. _Pyrefly: https://pyrefly.org/en/docs/configuration/
6
+
7
+ project_includes = [
8
+ " doc/conf.py" ,
9
+ " doc/development/tutorials/examples/autodoc_intenum.py" ,
10
+ " doc/development/tutorials/examples/helloworld.py" ,
11
+ " sphinx" ,
12
+ " tests" ,
13
+ " utils" ,
14
+ ]
15
+ project_excludes = [
16
+ " **/tests/roots*" ,
17
+ ]
18
+ python_version = " 3.11"
19
+ replace_imports_with_any = [
20
+ " imagesize" ,
21
+ " pyximport" ,
22
+ " snowballstemmer" ,
23
+ ]
24
+
25
+ # https://pyrefly.org/en/docs/error-kinds/
26
+ [errors ]
27
+ implicitly-defined-attribute = false # many false positives
You can’t perform that action at this time.
0 commit comments