-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Expand file tree
/
Copy pathpyrefly.samples.toml
More file actions
27 lines (26 loc) · 981 Bytes
/
Copy pathpyrefly.samples.toml
File metadata and controls
27 lines (26 loc) · 981 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
27
# Basic-mode Pyrefly profile for samples. Samples are teaching code: we want to catch
# real mistakes (bad imports, wrong attribute/module access) without forcing readers to
# wade through casts and overload gymnastics just to satisfy third-party SDK stubs.
project-includes = ["samples"]
project-excludes = [
"**/autogen-migration/**",
"**/semantic-kernel-migration/**",
"**/autogen/**",
"**/demos/**",
"**/_to_delete/**",
"**/05-end-to-end/**",
"**/harness/**",
]
[errors]
# Signature/cast/overload noise driven mostly by third-party SDK stubs -- off for samples.
bad-argument-type = false
no-matching-overload = false
bad-return = false
bad-override-mutable-attribute = false
unexpected-keyword = false
unsupported-operation = false
missing-argument = false
bad-assignment = false
not-async = false
# Kept on (real bugs a reader would hit): missing-import, missing-attribute,
# missing-module-attribute, bad-index, bad-typed-dict-key, not-iterable.