diff options
| author | 2021-06-29 21:48:55 +0100 | |
|---|---|---|
| committer | 2021-06-29 21:48:55 +0100 | |
| commit | c4bfbe46ce102b061d84710c2dd79013c3b00cb4 (patch) | |
| tree | f9e386c80febd8504ed16a7e1db9ed490d956579 /pyproject.toml | |
| parent | Merge pull request #1660 from python-discord/don't-allow-mods-to-be-watched (diff) | |
| parent | Merge branch 'main' into move-cov-config-to-toml (diff) | |
Merge pull request #1659 from python-discord/move-cov-config-to-toml
Diffstat (limited to 'pyproject.toml')
| -rw-r--r-- | pyproject.toml | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/pyproject.toml b/pyproject.toml index 8368f80eb..c76bb47d6 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -49,7 +49,7 @@ taskipy = "~=1.7.0" python-dotenv = "~=0.17.1" pytest = "~=6.2.4" pytest-cov = "~=2.12.1" -pytest-xdist = { version = "~=2.2.1", extras = ["psutil"] } +pytest-xdist = { version = "~=2.3.0", extras = ["psutil"] } [build-system] requires = ["poetry-core>=1.0.0"] @@ -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"] |