mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-05-20 10:34:30 +00:00
pyproject.toml: Exclude the build directory from mypy checks
- build/ directory is generated after the 'make build install' step and contains files that are duplicates of the main source leading to a failure. Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org> Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
parent
3aae4b39d6
commit
5399efde73
@ -201,6 +201,9 @@ disable = [
|
|||||||
"too-many-ancestors", # Easy to hit when using Django
|
"too-many-ancestors", # Easy to hit when using Django
|
||||||
]
|
]
|
||||||
|
|
||||||
|
[tool.mypy]
|
||||||
|
exclude = "build/"
|
||||||
|
|
||||||
# Ignore missing type stubs for some libraries. Try to keep this list minimal
|
# Ignore missing type stubs for some libraries. Try to keep this list minimal
|
||||||
# and use type annotations where available.
|
# and use type annotations where available.
|
||||||
[[tool.mypy.overrides]]
|
[[tool.mypy.overrides]]
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user