diff options
author | 2021-06-27 23:00:14 +0100 | |
---|---|---|
committer | 2021-06-27 23:00:14 +0100 | |
commit | 12e8bdca8257940f85ac53716b01cb851c11eaf3 (patch) | |
tree | b192a79d1f594fd8dfd1b0cf84fb3542371d0e25 | |
parent | Merge pull request #1626 from python-discord/xdist (diff) |
move cov config to toml
-rw-r--r-- | .coveragerc | 5 | ||||
-rw-r--r-- | pyproject.toml | 5 |
2 files changed, 5 insertions, 5 deletions
diff --git a/.coveragerc b/.coveragerc deleted file mode 100644 index d572bd705..000000000 --- a/.coveragerc +++ /dev/null @@ -1,5 +0,0 @@ -[run] -branch = true -source = - bot - tests diff --git a/pyproject.toml b/pyproject.toml index 8368f80eb..c80ad1ce9 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -65,3 +65,8 @@ test-nocov = "pytest -n auto" test = "pytest -n auto --cov-report= --cov" html = "coverage html" report = "coverage report" + +[tool.coverage.run] +branch = true +source_pkgs = ["bot"] +source = ["tests"] |