Move .coveragerc config to pyproject.toml

pull/1298/head
Gulshan Singh 3 years ago
parent 8a417091b5
commit c73f79340c

@ -1,6 +0,0 @@
[run]
branch = True
parallel = True
disable_warnings = module-not-imported
source = .
omit = ida_script.py

@ -7,3 +7,10 @@ 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 = ["."]
omit = ["ida_script.py"]

@ -2,7 +2,7 @@
ROOT_DIR="$(readlink -f ../../)"
GDB_INIT_PATH="$ROOT_DIR/gdbinit.py"
COVERAGERC_PATH="$ROOT_DIR/.coveragerc"
COVERAGERC_PATH="$ROOT_DIR/pyproject.toml"
help_and_exit() {
echo "Usage: ./tests.sh [-p|--pdb] [<test-name-filter>]"

Loading…
Cancel
Save