Add mypy configuration to pyproject.toml (#1468)

pull/1469/head
Gulshan Singh 3 years ago committed by GitHub
parent a4e8b2a028
commit 806943f58f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -2,6 +2,35 @@
line-length = 100
extend-exclude = "gdb-pt-dump"
[tool.mypy]
strict_optional = false
allow_untyped_globals = true
allow_redefinition = true
show_error_context = true
check_untyped_defs = true
pretty = true
show_error_codes = true
incremental = false
disable_error_code = [
"misc",
"import",
"name-defined",
"attr-defined",
"var-annotated",
"index",
"arg-type",
"assignment",
"operator",
"override",
"call-overload",
"union-attr",
"str-format",
"call-arg",
"return-value",
"has-type",
"no-redef",
]
[tool.isort]
profile = "black"
force_single_line = true

Loading…
Cancel
Save