Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | | | 2.6 and 2.7 are not different wrt constants in while loops | Ned Batchelder | 2016-12-24 | 1 | -2/+1 | |
| | | | | ||||||
* | | | | Move the test program into the test | Ned Batchelder | 2016-12-24 | 1 | -1/+1 | |
| | | | | ||||||
* | | | | also use AST for while constants in python-2.7 #502 | loic@dachary.org | 2016-12-15 | 1 | -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 Batchelder | 2016-12-18 | 1 | -1/+1 | |
| | | | | ||||||
* | | | | More parser code clean-up | Ned Batchelder | 2016-12-18 | 1 | -14/+25 | |
| | | | | ||||||
* | | | | Clean up #493 fix | Ned Batchelder | 2016-12-18 | 1 | -0/+2 | |
| | | | | ||||||
* | | | | Merged in dachary/coverage.py/issue-493-2 (pull request #108) | Ned Batchelder | 2016-12-18 | 1 | -5/+7 | |
|\ \ \ \ | | | | | | | | | | | | | | | | finally happens before return in a try #493 | |||||
| * | | | | finally happens before return in a try #493 | loic@dachary.org | 2016-12-18 | 1 | -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 Batchelder | 2016-12-18 | 1 | -8/+19 | |
| | | | | ||||||
* | | | | More doc and cleanup of ast parsing | Ned Batchelder | 2016-12-18 | 1 | -6/+29 | |
| | | | | ||||||
* | | | | Add some to the ArcStart docstring, and remove defaultable arguments | Ned Batchelder | 2016-12-18 | 1 | -5/+9 | |
| | | | | ||||||
* | | | | Merged in pebers/coverage.py (pull request #57) | Ned Batchelder | 2016-12-18 | 1 | -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 Ebden | 2015-07-13 | 1 | -1/+1 | |
| | | | | | ||||||
* | | | | | Provide a more useful error message if failing to run a non-Python file. #514 | Ned Batchelder | 2016-12-17 | 1 | -6/+12 | |
| | | | | | ||||||
* | | | | | Clean up and credit the #265 work | Ned Batchelder | 2016-12-16 | 1 | -6/+4 | |
| | | | | | ||||||
* | | | | | --source and --include are mutually exclusive #265 | loic@dachary.org | 2016-12-16 | 1 | -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 #524 | loic@dachary.org | 2016-12-12 | 1 | -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 argument | loic@dachary.org | 2016-12-12 | 1 | -0/+2 | |
| | | | | ||||||
* | | | | Prevent UnicodeErrors in HTML reports with Unicode configuration values | Ned Batchelder | 2016-12-06 | 1 | -3/+3 | |
| | | | | ||||||
* | | | | status.json file is more compact | Ned Batchelder | 2016-11-29 | 1 | -1/+1 | |
| |/ / |/| | | ||||||
* | | | More-accurate pragmas | Ned Batchelder | 2016-11-29 | 1 | -2/+2 | |
| | | | ||||||
* | | | Avoid flags in regexes we combine | Ned Batchelder | 2016-11-27 | 1 | -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 unicode | Ned Batchelder | 2016-11-23 | 1 | -2/+2 | |
| | | | ||||||
* | | | Conditionalize the ast_dump code | Ned Batchelder | 2016-11-22 | 1 | -55/+60 | |
| | | | ||||||
* | | | Fix the docstring | Ned Batchelder | 2016-11-20 | 1 | -2/+3 | |
| | | | ||||||
* | | | Move the config logic out of the Coverage constructor | Ned Batchelder | 2016-11-20 | 2 | -36/+60 | |
| | | | ||||||
* | | | Make sure that an uninterested setup.cfg doesn't prevent tox.ini from working | Ned Batchelder | 2016-11-19 | 1 | -4/+21 | |
| | | | ||||||
* | | | Update the docs about reading tox.ini | Ned Batchelder | 2016-11-19 | 1 | -3/+3 | |
| | | | ||||||
* | | | Clean up line wraps and leftover prints | Ned Batchelder | 2016-11-19 | 1 | -7/+2 | |
| | | | ||||||
* | | | Read options from tox.ini | Stephen Finucane | 2016-11-18 | 1 | -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. #533 | Ned Batchelder | 2016-11-17 | 1 | -2/+10 | |
| | | | ||||||
* | | | A better name for a stat | Ned Batchelder | 2016-11-12 | 2 | -4/+4 | |
| | | | ||||||
* | | | Allow for the possibility of null-testing | Ned Batchelder | 2016-11-12 | 2 | -0/+9 | |
| | | | ||||||
* | | | A macro for extreme debugging. | Ned Batchelder | 2016-11-12 | 1 | -0/+3 | |
| | | | ||||||
* | | | A better word | Ned Batchelder | 2016-11-10 | 1 | -1/+1 | |
| | | | ||||||
* | | | When importing newly made files, we have to invalidate import caches | Ned Batchelder | 2016-11-09 | 1 | -0/+6 | |
| | | | ||||||
* | | | No longer need this pragma | Ned Batchelder | 2016-11-08 | 1 | -1/+1 | |
| | | | ||||||
* | | | Use py2 ConfigParser if we can, prevents deprecation warnings. #530 | Ned Batchelder | 2016-11-08 | 1 | -3/+6 | |
| | | | ||||||
* | | | A fix for coding declarations, bug #529 | Ned Batchelder | 2016-11-05 | 1 | -1/+5 | |
| | | | ||||||
* | | | Downgrading these from TODO | Ned Batchelder | 2016-10-22 | 1 | -6/+6 | |
| | | | ||||||
* | | | Update changes | Ned Batchelder | 2016-10-22 | 1 | -1/+1 | |
| | | | ||||||
* | | | Remove two temporary debugging log messages | Ned Batchelder | 2016-10-21 | 2 | -5/+0 | |
| | | | ||||||
* | | | Test the debug settings more, and strip spaces from the environment variable | Ned Batchelder | 2016-10-21 | 2 | -2/+2 | |
| | | | ||||||
* | | | Also log when erasing data files | Ned Batchelder | 2016-10-21 | 1 | -0/+4 | |
| | | | ||||||
* | | | Fix the new deleting file debug message | Ned Batchelder | 2016-10-21 | 2 | -4/+10 | |
| | | | ||||||
* | | | Also log when we delete combined files. | Ned Batchelder | 2016-10-21 | 1 | -0/+2 | |
| | | | ||||||
* | | | Clean up pylint pragmas | Ned Batchelder | 2016-10-18 | 1 | -4/+2 | |
| |/ |/| | ||||||
* | | Use explicit integer division where we need integer division | Ned Batchelder | 2016-09-28 | 1 | -1/+1 | |
| | | ||||||
* | | A better way to prevent call stacks during multi-line output | Ned Batchelder | 2016-09-25 | 2 | -18/+31 | |
| | | ||||||
* | | Change the debug=callers test to something that will be coverable | Ned Batchelder | 2016-09-24 | 1 | -1/+1 | |
| | |