summaryrefslogtreecommitdiff
path: root/coverage/control.py
Commit message (Collapse)AuthorAgeFilesLines
* fix: save coverage data on SIGTERM (#1600)Lewis Gaul2023-04-061-1/+1
| | | | | | | * Add test that reproduces the issue * Suggested fix - always save data in sigterm exit flow * Address test failures on MacOS due to lack of 'Terminated' output on SIGTERM
* style: double quotesNed Batchelder2023-03-221-37/+37
|
* refactor: no placebos, use true OptionalNed Batchelder2023-02-141-48/+39
| | | | | | For objects that truly might not exist, use Optional. Some objects will always exist eventually, and for those we have some null implementation standins to use without making new placebo classes.
* refactor: make placebos privateNed Batchelder2023-02-121-7/+7
|
* fix: Path objects are ok for data_file and config_file. #1552Ned Batchelder2023-02-121-3/+7
|
* refactor: use placebos instead of non-existent attributesNed Batchelder2023-02-111-35/+64
| | | | | Details of the problem and thought process: https://nedbatchelder.com/blog/202302/late_initialization_with_mypy.html
* test: adapt to latest pylintNed Batchelder2023-02-091-1/+1
|
* feat: the debug output file can be specified in the config file. #1319Ned Batchelder2023-01-221-4/+2
|
* style: use good style for annotated defaults parametersNed Batchelder2023-01-051-76/+76
|
* mypy: Iterator is better than GeneratorNed Batchelder2023-01-051-2/+2
|
* mypy: test_debug.py test_execfile.py test_filereporter.py test_files.pyNed Batchelder2023-01-041-10/+11
|
* mypy: summary.py, test_summary.py, tests/coveragetest.pyNed Batchelder2023-01-041-14/+14
|
* mypy: partial debug.py and pytracer.pyNed Batchelder2023-01-021-1/+1
|
* mypy: check collector.py and plugin_support.pyNed Batchelder2023-01-011-5/+7
|
* mypy: add cmdline.py and test_cmdline.pyNed Batchelder2022-12-311-2/+2
|
* mypy: add env.pyNed Batchelder2022-12-311-4/+2
|
* mypy: control.py is checkedNed Batchelder2022-12-311-104/+127
|
* mypy: check tests/goldtest.py, tests/test_html.pyNed Batchelder2022-12-311-6/+6
|
* refactor: removed mentions of Jython and IronPythonNed Batchelder2022-12-301-10/+1
|
* style: correct some lint errorsNed Batchelder2022-12-301-2/+2
|
* mypy: inorout.py, disposition.py, and part of control.pyNed Batchelder2022-12-301-64/+73
|
* style: fix spellingNed Batchelder2022-11-281-2/+2
| | | | un-executed, white space, time stamp.
* build: next version will be 7.0Ned Batchelder2022-11-281-1/+1
|
* feat: implicit path mapping during reporting. #1212Ned Batchelder2022-11-271-10/+26
|
* style: long arg lists should be one per lineNed Batchelder2022-11-261-51/+142
|
* refactor, docs: clean-up for #1387Ned Batchelder2022-11-171-1/+1
|
* feat: added support for finding unexecuted namespace packages (#1387)Felix Horvat2022-11-171-0/+1
| | | | | | | | | | | | | | | | | | | * add support for namespace packages * fixed typo * update documentation * fixed lint issues * changed versionadded * convert to config setting * removed pure formatting changes * code review changes Co-authored-by: Ned Batchelder <ned@nedbatchelder.com>
* feat: complete removal of `[run] note`Ned Batchelder2022-11-111-3/+0
|
* feat: --format=total writes just the total numberNed Batchelder2022-11-061-1/+1
|
* refactor: use `format` wherever we canNed Batchelder2022-11-051-3/+3
|
* feat: report terminal output in Markdown Table format #1418 (#1479)stepeos2022-11-051-2/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * refactoring normal reporting text output * implemented markdown feature from #1418 * minor changes * fixed text output * fixed precision for text and markdown report format * minor changes * finished testing for markdown format feature * fixed testing outside test_summary.py * removed fixed-length widespace padding for tests * removed whitespaces * refactoring, fixing docs, rewriting cmd args * fixing code quality * implementing requested changes * doc fix * test: add another test of correct report formatting * fixed precision printing test * style: adjust the formatting Co-authored-by: Ned Batchelder <ned@nedbatchelder.com>
* feat: implicitly combine relative pathsNed Batchelder2022-10-151-10/+8
|
* feat: --debug=pathmap will show details of re-mapping due to [paths] setting.Ned Batchelder2022-09-161-1/+4
|
* docs: ensure code blocks are highlighted properlyNed Batchelder2022-08-211-2/+6
|
* fix: the SIGTERM handler is now opt-in. #1310Ned Batchelder2022-05-181-6/+7
|
* style: parens should indent the same as their opening lineNed Batchelder2022-05-011-6/+6
|
* fix: provide an intelligible error message for multiprocessing with no ↵Ned Batchelder2022-02-091-0/+2
| | | | config file. #1320
* debug: pybehave is now an option on `coverage debug`Ned Batchelder2022-02-061-20/+10
|
* debug: add 'pybehave' debug informationNed Batchelder2022-02-061-0/+13
| | | | It shows the behavior flags from coverage.env.
* fix: only set signal handlers from the main thread. #1312Ned Batchelder2022-01-261-1/+4
|
* feat: use --data-file to configure the coverage databaseNikita Bloshchanevich2022-01-251-3/+4
|
* fix: save data on SIGTERM #1307Ned Batchelder2022-01-231-2/+17
| | | | This covers multiprocessing.Process.terminate(), and maybe other cases also.
* feat: add "lcov" command for generating LCOV reportsBradley Burns2022-01-221-0/+20
| | | | | | | * Add LCOV functionality into coverage.py * Add testing for the LCOV reporter * Add documentation for the LCOV reporter
* feat: multiple --concurrency values. #1012 #1082nedbat/multi-concurrencyNed Batchelder2021-11-251-1/+1
|
* fix: suffix=False will suppress the suffix even with multiprocessing. #989Ned Batchelder2021-11-181-1/+6
|
* refactor: specialize exceptionsNed Batchelder2021-11-141-4/+6
| | | | | | CoverageException is fine as a base class, but not good to use for raising (and catching sometimes). Introduce specialized exceptions that allow third-party tools to integrate better.
* style(docs): make note:: uses uniformNed Batchelder2021-11-131-3/+5
|
* fix: remapping paths during combining needs to follow relative_files=True. #1147Ned Batchelder2021-11-061-1/+1
|
* deprecated: the annotate command will be removed in a future versionNed Batchelder2021-10-291-0/+8
|
* feat: xml and json say what they are doing, and -q quiets everything. #1254nedbat/dashqNed Batchelder2021-10-261-2/+2
|