You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
pwndbg/pyproject.toml

58 lines
1.1 KiB
TOML

[tool.black]
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
follow_imports = "skip"
exclude = [
#"^pwndbg/commands",
"^pwndbg/heap",
#'^pwndbg/[^/]*\.py',
'^pwndbg/ida.py',
'^pwndbg/gdblib/vmmap.py',
]
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
known_third_party = ["capstone", "unicorn", "psutil", "pycparser", "gdb"]
extend_skip_glob = ["gdb-pt-dump/*"]
[tool.coverage.run]
branch = true
parallel = true
disable_warnings = ["module-not-imported"]
source = ["${SRC_DIR-.}"]
omit = ["ida_script.py"]
data_file = ".cov/coverage"
[tool.coverage.report]
omit = ["ida_script.py", "tests/*"]