summaryrefslogtreecommitdiff
path: root/coverage
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | 2.6 and 2.7 are not different wrt constants in while loopsNed Batchelder2016-12-241-2/+1
| | | |
* | | | Move the test program into the testNed Batchelder2016-12-241-1/+1
| | | |
* | | | also use AST for while constants in python-2.7 #502loic@dachary.org2016-12-151-5/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The node.id is set to False, True or None is python-2.7: there is no reason to only check for it with python-3. It is more reliable than using the DEFAULT_PARTIAL_ALWAYS regexps on source lines. close #502 --HG-- branch : issue-502-7
* | | | Fix #496, while-true loop with a continue.Ned Batchelder2016-12-181-1/+1
| | | |
* | | | More parser code clean-upNed Batchelder2016-12-181-14/+25
| | | |
* | | | Clean up #493 fixNed Batchelder2016-12-181-0/+2
| | | |
* | | | Merged in dachary/coverage.py/issue-493-2 (pull request #108)Ned Batchelder2016-12-181-5/+7
|\ \ \ \ | | | | | | | | | | | | | | | finally happens before return in a try #493
| * | | | finally happens before return in a try #493loic@dachary.org2016-12-181-5/+7
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In a try block such as: if expr: try: return finally print pass the print happens before the return and cannot be followed by pass. The general case is that when the body/else/handlers in a try block all have return, break etc., the code behind finally: has no arc to the statement following the try block. close #493 --HG-- branch : issue-493-2
* | | | More ast parsing clean-up.Ned Batchelder2016-12-181-8/+19
| | | |
* | | | More doc and cleanup of ast parsingNed Batchelder2016-12-181-6/+29
| | | |
* | | | Add some to the ArcStart docstring, and remove defaultable argumentsNed Batchelder2016-12-181-5/+9
| | | |
* | | | Merged in pebers/coverage.py (pull request #57)Ned Batchelder2016-12-181-1/+1
|\ \ \ \ | | | | | | | | | | | | | | | Add support for searching inside .pex archives similarly to .zip and .egg.
| * | | | Add support for searching inside .pex archives similarly to .zip and .egg.Peter Ebden2015-07-131-1/+1
| | | | |
* | | | | Provide a more useful error message if failing to run a non-Python file. #514Ned Batchelder2016-12-171-6/+12
| | | | |
* | | | | Clean up and credit the #265 workNed Batchelder2016-12-161-6/+4
| | | | |
* | | | | --source and --include are mutually exclusive #265loic@dachary.org2016-12-161-0/+8
| |/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add a sanity_check function to CoverageConfig to perform sanity checks after configuration values have been collected from files, arguments etc. Raise an error if --source and --include are both set. The config tests are amended because some of them have both source and include set. Based on the original patch from Nathan Land close #265 --HG-- branch : issue-265 extra : amend_source : 2c0e1173285d07174bc632fb3a8df437201607a6
* | | | report must ignore skipped files #524loic@dachary.org2016-12-121-27/+42
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When files are 100% covered and --skipped-covered is specified, they must not be taken into account to format the text report. It is specially useful when a long filename is skipped. --HG-- branch : issue-524-2
* | | | Document report API skip_covered argumentloic@dachary.org2016-12-121-0/+2
| | | |
* | | | Prevent UnicodeErrors in HTML reports with Unicode configuration valuesNed Batchelder2016-12-061-3/+3
| | | |
* | | | status.json file is more compactNed Batchelder2016-11-291-1/+1
| |/ / |/| |
* | | More-accurate pragmasNed Batchelder2016-11-291-2/+2
| | |
* | | Avoid flags in regexes we combineNed Batchelder2016-11-271-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | These regexes get piped together with other regexes, and flags not at the beginning of the regex raise DeprecationWarnings. Also, I'm not sure what the flag will do when combined with the other regexes. Also also, do people really use upper-case pragmas? --HG-- extra : amend_source : 0123e985b9ddba0a7ef18276816a05bdb3f8d170
* | | Use a 2/3 name for unicodeNed Batchelder2016-11-231-2/+2
| | |
* | | Conditionalize the ast_dump codeNed Batchelder2016-11-221-55/+60
| | |
* | | Fix the docstringNed Batchelder2016-11-201-2/+3
| | |
* | | Move the config logic out of the Coverage constructorNed Batchelder2016-11-202-36/+60
| | |
* | | Make sure that an uninterested setup.cfg doesn't prevent tox.ini from workingNed Batchelder2016-11-191-4/+21
| | |
* | | Update the docs about reading tox.iniNed Batchelder2016-11-191-3/+3
| | |
* | | Clean up line wraps and leftover printsNed Batchelder2016-11-191-7/+2
| | |
* | | Read options from tox.iniStephen Finucane2016-11-181-8/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If coveragerc does not exist, setup.cfg does not exist or does not contain any coverage-related metadata, and no custom config file is provided, fall back to tox.ini. The syntax of tox.ini files is the same as that expected of setup.cfg files, namely: [coverage:{section}] Fixes: #519 --HG-- branch : issue-519
* | | Don't collapse in an ascii-only file-world. #533Ned Batchelder2016-11-171-2/+10
| | |
* | | A better name for a statNed Batchelder2016-11-122-4/+4
| | |
* | | Allow for the possibility of null-testingNed Batchelder2016-11-122-0/+9
| | |
* | | A macro for extreme debugging.Ned Batchelder2016-11-121-0/+3
| | |
* | | A better wordNed Batchelder2016-11-101-1/+1
| | |
* | | When importing newly made files, we have to invalidate import cachesNed Batchelder2016-11-091-0/+6
| | |
* | | No longer need this pragmaNed Batchelder2016-11-081-1/+1
| | |
* | | Use py2 ConfigParser if we can, prevents deprecation warnings. #530Ned Batchelder2016-11-081-3/+6
| | |
* | | A fix for coding declarations, bug #529Ned Batchelder2016-11-051-1/+5
| | |
* | | Downgrading these from TODONed Batchelder2016-10-221-6/+6
| | |
* | | Update changesNed Batchelder2016-10-221-1/+1
| | |
* | | Remove two temporary debugging log messagesNed Batchelder2016-10-212-5/+0
| | |
* | | Test the debug settings more, and strip spaces from the environment variableNed Batchelder2016-10-212-2/+2
| | |
* | | Also log when erasing data filesNed Batchelder2016-10-211-0/+4
| | |
* | | Fix the new deleting file debug messageNed Batchelder2016-10-212-4/+10
| | |
* | | Also log when we delete combined files.Ned Batchelder2016-10-211-0/+2
| | |
* | | Clean up pylint pragmasNed Batchelder2016-10-181-4/+2
| |/ |/|
* | Use explicit integer division where we need integer divisionNed Batchelder2016-09-281-1/+1
| |
* | A better way to prevent call stacks during multi-line outputNed Batchelder2016-09-252-18/+31
| |
* | Change the debug=callers test to something that will be coverableNed Batchelder2016-09-241-1/+1
| |