summaryrefslogtreecommitdiff
path: root/coverage/cmdline.py
Commit message (Collapse)AuthorAgeFilesLines
* style: prefer explicit string concatenationNed Batchelder2021-10-101-30/+30
|
* test: mark some uncovered thingsNed Batchelder2021-10-081-0/+3
|
* Fix parsing 'command_line' option (#1201)Pavel Tsialnou2021-08-061-1/+1
| | | | | Coverage config files supports 'command_line' parameters. However, only '-m' is parsed properly. The line 'command_line = "--module unittest discover"' is considered as a path, not a module option.
* feat: HTML report now says where the report is. #1195 (#1207)Ned Batchelder2021-08-051-0/+1
|
* build: update pylint and remove some unneeded warning suppressionNed Batchelder2021-07-181-1/+1
|
* refactor: remove globals from NumbersNed Batchelder2021-06-011-1/+3
|
* fix: --fail-under=100 could report 100 is less than 100.Ned Batchelder2021-05-311-3/+3
| | | | | | | Use the same rounding rules for the fail-under message that are used for totals everywhere else, so that it won't say: total of 100 is less than fail-under=100
* refactor: convert more %-formatting to f-stringsNed Batchelder2021-05-021-13/+13
|
* refactor: move exceptions to their own moduleNed Batchelder2021-05-021-1/+1
|
* refactor: pyupgrade --py36-plus coverage/*.pyNed Batchelder2021-05-021-11/+10
|
* refactor: remove code explicitly choosing between py2 and py3Ned Batchelder2021-05-011-3/+1
|
* docs: clarify the --source valuesNed Batchelder2021-03-181-1/+1
| | | | | | On the Test & Code podcast (https://testandcode.com/148) Brian Okken explained why the old wording was confusing. I hope this makes it clearer.
* build: nicer publishing of HTML reportNed Batchelder2021-02-241-1/+1
| | | | Also, this correctly combines results from different runners.
* doc: touch-ups for `combine --keep`Ned Batchelder2021-01-301-1/+1
|
* Add combine --keep (#1110)Éric Larivière2021-01-301-1/+7
| | | | | | | | | | | * Add combine --keep Related to https://github.com/nedbat/coveragepy/issues/1108 * Fix unit tests * Fix line too long * Fix line too long
* Add 'coverage debug' to helpNed Batchelder2020-07-051-2/+3
|
* Add --help output to command docs, and other reorganizationNed Batchelder2020-07-041-2/+5
|
* Report descending sort option (#1005)Jerin Peter George2020-07-031-0/+8
| | | | | | | | | | | | | | | * added descending sort option in coverage report * commandline option for report sort added * Fix tests for pull #1005 * conditional statements improved * sort option help updated with choices * commandline test for sort added Co-authored-by: Ned Batchelder <ned@nedbatchelder.com>
* --skip-empty now applies to the XML report also. #976nedbat/bug976Ned Batchelder2020-06-301-1/+5
|
* Merge pull request #932 from asottile/no_skip_coveredNed Batchelder2020-06-291-0/+6
|\ | | | | Add --no-skip-covered to allow negation of --skip-covered
| * Add --no-skip-covered to allow negation of --skip-coveredAnthony Sottile2020-02-141-0/+6
| |
* | Provide more information in the fail-under messageNed Batchelder2020-06-281-1/+4
| |
* | Merge pull request #977 from navyad/navyad/fail-underNed Batchelder2020-06-281-0/+1
|\ \ | | | | | | message for fail-under
| * | message for fail-undernavyad2020-04-191-0/+1
| |/
* | BetterNed Batchelder2020-05-291-1/+1
| |
* | Make the bare help message a bit more helpfulNed Batchelder2020-05-171-1/+1
| |
* | Finish up --precisionNed Batchelder2020-05-121-1/+3
| |
* | Add --precision switch to report commandTeake Nutma2020-04-301-0/+10
|/
* Move an import to the topNed Batchelder2020-01-131-2/+1
|
* "coverage debug premain"Ned Batchelder2020-01-111-1/+5
|
* Update the man page, and in the process, organize cmdline.pyNed Batchelder2019-11-101-25/+25
|
* TOML support for pyproject.toml and other config filesFrazer McLean2019-11-031-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Squashed and rebased from https://github.com/nedbat/coveragepy/pull/699 Missing getfloat TOMLConfigParser -> TomlConfigParser fix getfloat for int Move TomlConfigParser Add name to contributors Import toml in backward.py fix indentation Don't ignore TomlDecodeError Raise if TomlConfigParser is used without toml installed Add tests for TOML config Fix test on Python 2 Mention toml support in documentation.
* Optionally skip empty files in reportsreybog902019-11-011-0/+9
|
* Context patterns are regexes, not globsNed Batchelder2019-10-021-2/+2
|
* Tweaks to JSON report docsNed Batchelder2019-08-311-1/+1
|
* Create a JSON reportMatt Bachmann2019-08-311-0/+34
|
* Rough-hewn use of ox_profileNed Batchelder2019-07-071-0/+19
|
* Clean up and test filtering contexts for reportingNed Batchelder2019-07-011-1/+1
|
* No need for a backslashNed Batchelder2019-07-011-2/+1
|
* Refactor text reporting to use the same code paths as other reportsNed Batchelder2019-06-161-2/+5
|
* Make --contexts available for HTML reportsNed Batchelder2019-06-101-1/+2
|
* Extend HTML report to to show contexts for every covered line.Stephan Richter2019-06-101-0/+7
|
* Pass the contexts to the report command.Albertas Agejevas2019-06-101-0/+12
|
* Don't name new method the same as old attributeNed Batchelder2019-04-201-1/+1
|
* Fix #708: .filename is private, and don't combine over ourselvesNed Batchelder2019-04-151-1/+1
|
* Use a function instead of a method to show helpNed Batchelder2018-11-261-65/+57
|
* PyRunner knows how to run Python files.Ned Batchelder2018-11-251-5/+9
| | | | Adjust sys.path to better emulate Python, but only if we should.
* Use implicit mock patching instead of explicit DI for cmdline testsNed Batchelder2018-11-251-17/+7
| | | | | This sets us up for mocking more or different globals without adding more explicit DI overrides in cmdline.py.
* Fix function call formattingNed Batchelder2018-11-151-5/+9
|
* Always include a documentation link at the end of help messagesNed Batchelder2018-10-211-8/+10
|