FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
pythonnative/mypy.ini at feat/dev-pythonnative-go · Zer0codestuff/pythonnative · GitHub
Zer0codestuff
pythonnative
Repository navigation
Code
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
pythonnative
/
mypy.ini
Copy path
More file actions
More file actions
Latest commit
History
History
History
27 lines (24 loc) · 905 Bytes
Breadcrumbs
pythonnative
/
mypy.ini
Copy path
File metadata and controls
27 lines (24 loc) · 905 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
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
[mypy]
python_version
= 3.10
ignore_missing_imports
= True
warn_redundant_casts
= True
warn_unused_ignores
= True
warn_return_any
= False
strict_optional
= False
pretty
= True
files
= src, tests, examples
#
`examples/e2e-suite/app/` shares the top-level package name `app` with
#
`examples/hello-world/app/`, which makes mypy fail with a duplicate-module
#
error in whole-tree mode. The suite is exercised end-to-end by Maestro and
#
imports `app.screens.*` via a PYTHONPATH that only `pn run` sets, so it is
#
not a meaningful mypy target. Ruff + Black still cover it.
exclude
= (^build/|^examples/.*/build/|^examples/e2e-suite/)
disallow_untyped_defs
= True
disallow_incomplete_defs
= True
[mypy-pythonnative.*]
implicit_reexport
= True
disable_error_code
= attr-defined,no-redef
[mypy-pythonnative.native_views]
disable_error_code
= misc
[mypy-pythonnative.native_views.*]
disable_error_code
= misc
Back
|
FazBrowse Home
|
New Git URL