summaryrefslogtreecommitdiff
path: root/coverage/annotate.py
Commit message (Collapse)AuthorAgeFilesLines
* refactor: file names match the commands they implement betterNed Batchelder2023-05-131-1/+1
|
* style: use double-quotesNed Batchelder2023-03-221-11/+11
|
* style: use good style for annotated defaults parametersNed Batchelder2023-01-051-1/+1
|
* mypy: add annotate.py and jsonreport.pyNed Batchelder2022-12-311-4/+14
|
* test: add a annotate test, and simplify the logicNed Batchelder2021-10-281-5/+2
|
* style: use the official designation for utf-8Ned Batchelder2021-10-101-1/+1
| | | | | Yes, this is completely unimportant. Don't ask me why I bothered, I'm not really sure.
* refactor: pyupgrade --py36-plus coverage/*.pyNed Batchelder2021-05-021-11/+10
|
* No need to pass coverage/config separately everywhereNed Batchelder2019-06-171-3/+3
|
* Get rid of Reporter base classNed Batchelder2019-06-161-4/+6
|
* Reporter base class shouldn't be responsible for directoriesNed Batchelder2019-06-151-2/+4
|
* Need to get_data for .annotate() to workNed Batchelder2018-11-151-0/+1
|
* Update NOTICE link to GitHub.Ned Batchelder2018-06-241-1/+1
|
* Protect ourselves from mock'ed os. #416Ned Batchelder2015-10-061-0/+4
|
* Move flat_rootname from FileReporter to a utility function.Ned Batchelder2015-08-091-1/+2
|
* Add license mention to the top of all files. #313.Ned Batchelder2015-07-241-1/+4
|
* Pylint weedingNed Batchelder2015-05-231-1/+0
|
* Write all annotated files as utf8Ned Batchelder2015-05-191-13/+12
|
* Merged in lep/coverage.py (pull request #48)Ned Batchelder2015-04-241-0/+5
|\ | | | | | | Fix #363: crash when annotating non-ascii characters in python 2.
| * Fix #363: crash when annotating non-ascii characters in python 2.Leonardo Pistone2015-04-141-0/+5
| | | | | | | | | | --HG-- extra : amend_source : 8297268531b6014e4f2c2a445385f89688a3fb93
* | Remove every last trace of CodeUnit, and bring me a glass of vodkaNed Batchelder2015-02-221-5/+5
|/
* Use file names with extensions in reports.Ned Batchelder2015-01-171-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | --HG-- rename : tests/farm/html/gold_a/a.html => tests/farm/html/gold_a/a_py.html rename : tests/farm/html/gold_b_branch/b.html => tests/farm/html/gold_b_branch/b_py.html rename : tests/farm/html/gold_bom/bom.html => tests/farm/html/gold_bom/bom_py.html rename : tests/farm/html/gold_isolatin1/isolatin1.html => tests/farm/html/gold_isolatin1/isolatin1_py.html rename : tests/farm/html/gold_omit_1/m1.html => tests/farm/html/gold_omit_1/m1_py.html rename : tests/farm/html/gold_omit_1/m2.html => tests/farm/html/gold_omit_1/m2_py.html rename : tests/farm/html/gold_omit_1/m3.html => tests/farm/html/gold_omit_1/m3_py.html rename : tests/farm/html/gold_omit_1/main.html => tests/farm/html/gold_omit_1/main_py.html rename : tests/farm/html/gold_omit_2/m2.html => tests/farm/html/gold_omit_2/m2_py.html rename : tests/farm/html/gold_omit_2/m3.html => tests/farm/html/gold_omit_2/m3_py.html rename : tests/farm/html/gold_omit_2/main.html => tests/farm/html/gold_omit_2/main_py.html rename : tests/farm/html/gold_omit_3/m3.html => tests/farm/html/gold_omit_3/m3_py.html rename : tests/farm/html/gold_omit_3/main.html => tests/farm/html/gold_omit_3/main_py.html rename : tests/farm/html/gold_omit_4/m1.html => tests/farm/html/gold_omit_4/m1_py.html rename : tests/farm/html/gold_omit_4/m3.html => tests/farm/html/gold_omit_4/m3_py.html rename : tests/farm/html/gold_omit_4/main.html => tests/farm/html/gold_omit_4/main_py.html rename : tests/farm/html/gold_omit_5/m1.html => tests/farm/html/gold_omit_5/m1_py.html rename : tests/farm/html/gold_omit_5/main.html => tests/farm/html/gold_omit_5/main_py.html rename : tests/farm/html/gold_other/blah_blah_other.html => tests/farm/html/gold_other/blah_blah_other_py.html rename : tests/farm/html/gold_other/here.html => tests/farm/html/gold_other/here_py.html rename : tests/farm/html/gold_partial/partial.html => tests/farm/html/gold_partial/partial_py.html rename : tests/farm/html/gold_styled/a.html => tests/farm/html/gold_styled/a_py.html rename : tests/farm/html/gold_unicode/unicode.html => tests/farm/html/gold_unicode/unicode_py.html
* Continued refactoring of CodeUnitNed Batchelder2014-05-181-1/+1
|
* Modernize annotate.pyNed Batchelder2014-05-181-43/+35
|
* Include all files when annotating, not just relative ones. #57Ned Batchelder2014-05-181-3/+0
|
* Merged 4.0 to defaultNed Batchelder2013-12-131-1/+0
|\
* | Use sets as much as possible to speed HTML reports. Seems to be a 10% speedup.Ned Batchelder2013-10-231-3/+4
|/
* Refactor reporters so the config is part of construction, and is then ↵Ned Batchelder2012-04-191-4/+4
| | | | available everywhere.
* Pass config objects around to limit the sprawl of argument lists.Ned Batchelder2010-09-021-2/+2
|
* Omit and include are now filename patterns rather than prefixes. BACKWARD ↵Ned Batchelder2010-05-231-6/+2
| | | | INCOMPATIBLE change.
* Format the code to pylint's liking, and fix up the docstrings for omit and ↵Ned Batchelder2010-05-151-7/+9
| | | | include.
* Change 'requires' to 'include'.Ned Batchelder2010-05-151-4/+4
|
* add a --require option to specify directories which are required to be at ↵Zooko Ofsimplegeo2010-04-191-3/+9
| | | | | | | | | the beginning of the path for any file that is going to be included in code coverage make the --omit and --require options apply to code coverage generation as well as to reporting; This speeds up tests from 6 seconds to 1 second on my system, as well as making the resulting .coverage db include *only* the code that I care about, which helps with my code coverage progression/regression tool. --HG-- extra : transplant_source : %1F.4%81%E8%DA%0B%D0%D5%9D%89%DE%E1vY%E6%CD%1A%EB%C9
* Massive eol whitespace clean-up.Ned Batchelder2009-12-021-9/+9
|
* Refactor the analysis results so we aren't passing so many tuples around.Ned Batchelder2009-10-151-1/+5
|
* HTML report includes non-relative code units also. Fixes issue #11, though ↵Ned Batchelder2009-09-261-0/+3
| | | | the paths displayed in the HTML are kind of heinous.
* Add some excluded lines to the annotation tests, and write some docstrings ↵Ned Batchelder2009-05-131-0/+22
| | | | for annotate.py
* The name of the project is Coverage, not coverage.py.Ned Batchelder2009-04-301-1/+1
|
* HTML reporting, phase 0.Ned Batchelder2009-04-201-19/+3
|
* Line length < 80.Ned Batchelder2009-04-191-3/+3
|
* Annotated files are only created for source files relative to the current ↵Ned Batchelder2009-04-191-12/+20
| | | | | | | | directory. When writing to a separate file, annotation file names include the directory hierarchy flattened, so that same-named files won't collide. --HG-- rename : test/farm/annotate/gold_anno_dir/a.py,cover => test/farm/annotate/gold_anno_dir/a_a.py,cover rename : test/farm/annotate/gold_anno_dir/b.py,cover => test/farm/annotate/gold_anno_dir/b_b.py,cover
* Remove debugging trace.Ned Batchelder2009-04-181-1/+0
|
* More annotate tests, but something is amiss.Ned Batchelder2009-04-181-0/+3
|
* No need for coverage.analysis to return the filename, it's a property on the ↵Ned Batchelder2009-03-131-2/+2
| | | | CodeUnit passed in.
* Start moving common reporter functionality into Reporter.Ned Batchelder2009-03-131-7/+6
|
* Refactor the annotate code into annotate.pyNed Batchelder2009-03-131-0/+75