summaryrefslogtreecommitdiff
path: root/coverage/config.py
Commit message (Collapse)AuthorAgeFilesLines
...
* Use abspath to rc file so that chdir doesn't bork us. #890Ned Batchelder2019-12-231-2/+3
|
* A way to artificially crash coverage, for testing.Ned Batchelder2019-12-231-0/+2
|
* The [paths] setting is ordered. #649Ned Batchelder2019-12-011-2/+5
|
* Experimental: relative_files to support relative file names.Ned Batchelder2019-12-011-1/+3
|
* Don't do vars and users in abs_fileNed Batchelder2019-11-281-0/+1
| | | | It meant file names could be incorrectly expanded.
* Give warnings about not being able to parse TOML files if toml isn't installedNed Batchelder2019-11-031-3/+0
|
* A better way to import optional modulesNed Batchelder2019-11-031-2/+3
|
* TOML support for pyproject.toml and other config filesFrazer McLean2019-11-031-3/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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/+2
|
* Polish up substitute_variables based on a lightning talkNed Batchelder2019-09-141-1/+1
|
* Reporting methods shouldn't permanently change the configurationNed Batchelder2019-09-011-1/+6
|
* Create a JSON reportMatt Bachmann2019-08-311-0/+10
|
* Clean up and test filtering contexts for reportingNed Batchelder2019-07-011-1/+2
|
* Silence a pylint warningNed Batchelder2019-07-011-0/+2
|
* Make show_contexts available to set_option, and document it.Ned Batchelder2019-06-301-1/+2
|
* Extend HTML report to to show contexts for every covered line.Stephan Richter2019-06-101-0/+1
|
* Provide a default for query contexts.Stephan Richter2019-06-101-0/+1
|
* Use pylint 2.xNed Batchelder2019-05-131-2/+2
|
* Add a set_env.py line for COVERAGE_DEBUGNed Batchelder2019-04-151-0/+1
|
* `[run] command_line` is the command line to use for 'coverage run'. #695Ned Batchelder2018-10-181-0/+2
|
* Dynamic contextsNed Batchelder2018-09-231-0/+2
|
* Plumb through context= settingNed Batchelder2018-09-181-0/+2
|
* Move variable substitution to be independentNed Batchelder2018-09-081-17/+2
|
* Show the contents of the config fileNed Batchelder2018-08-301-0/+3
|
* Update NOTICE link to GitHub.Ned Batchelder2018-06-241-1/+1
|
* Make version checking more uniformNed Batchelder2018-06-131-2/+2
|
* COVERAGE_RCFILE can specify the config file location. #650Ned Batchelder2018-04-191-1/+7
|
* Slight refactor of how we look for configuration filesNed Batchelder2018-03-191-25/+42
|
* fail_under can now be a float. #631.Ned Batchelder2018-01-211-2/+2
|
* Don't confuse run-include with report-include (and also omit). Fixes #621 ↵Ned Batchelder2018-01-201-10/+4
| | | | and #622.
* Clean up and credit for #265 and #101Ned Batchelder2017-10-241-2/+5
|
* * --source and --include are mutually exclusive (take 2) #265loic@dachary.org2017-01-071-7/+20
| | | | | close #265 close #101
* Explicitly specified secondary config files are properly read. #588Ned Batchelder2017-10-211-26/+56
|
* Perform tilde expansion on file path config values. #589Ned Batchelder2017-10-211-0/+6
|
* Update to pylint 1.7.1Ned Batchelder2017-04-221-4/+4
|
* Warnings can be disabledNed Batchelder2017-04-041-1/+3
|
* Remove hastiliy short-circuited check for conflicting include and sourceNed Batchelder2016-12-301-10/+0
|
* Revert the check for conflicting --source and --include. Closes #541, ↵Ned Batchelder2016-12-281-0/+3
| | | | re-opens #265
* 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
* 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
* Fix the docstringNed Batchelder2016-11-201-2/+3
|
* Move the config logic out of the Coverage constructorNed Batchelder2016-11-201-0/+57
|
* Make sure that an uninterested setup.cfg doesn't prevent tox.ini from workingNed Batchelder2016-11-191-4/+21
|
* No longer need this pragmaNed Batchelder2016-11-081-1/+1
|
* Use latest pylintNed Batchelder2016-08-071-1/+1
|
* Set the rcfile for multiprocessing subprocessesNed Batchelder2016-07-241-1/+2
|
* Let the concurrency option be multi-valued. #484Ned Batchelder2016-07-041-2/+2
|
* Make report's 'sort' option available only via the configuration file, not ↵Dan Wandschneider2016-06-081-0/+1
| | | | available on the command line.
* Protect ourselves from mock'ed os. #416Ned Batchelder2015-10-061-1/+3
|