diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2023-01-22 09:08:09 -0500 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2023-01-22 10:58:53 -0500 |
commit | 5f65d87b14245d4523bc866a75a16b6c55a7ce70 (patch) | |
tree | bd4d404c80baa1c7e6e25e2335ffcee52702ee66 /coverage/config.py | |
parent | c51ac463f07e31c87b20f50bd7e6445e4e4e83a2 (diff) | |
download | python-coveragepy-git-5f65d87b14245d4523bc866a75a16b6c55a7ce70.tar.gz |
feat: the debug output file can be specified in the config file. #1319
Diffstat (limited to 'coverage/config.py')
-rw-r--r-- | coverage/config.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/coverage/config.py b/coverage/config.py index 046c1b00..e15d2aff 100644 --- a/coverage/config.py +++ b/coverage/config.py @@ -199,6 +199,7 @@ class CoverageConfig(TConfigurable, TPluginConfig): self.cover_pylib = False self.data_file = ".coverage" self.debug: List[str] = [] + self.debug_file: Optional[str] = None self.disable_warnings: List[str] = [] self.dynamic_context: Optional[str] = None self.parallel = False @@ -375,6 +376,7 @@ class CoverageConfig(TConfigurable, TPluginConfig): ('cover_pylib', 'run:cover_pylib', 'boolean'), ('data_file', 'run:data_file'), ('debug', 'run:debug', 'list'), + ('debug_file', 'run:debug_file'), ('disable_warnings', 'run:disable_warnings', 'list'), ('dynamic_context', 'run:dynamic_context'), ('parallel', 'run:parallel', 'boolean'), |