Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | refactor: no need for maybe-u prefixes in test regexes | Ned Batchelder | 2021-10-10 | 1 | -3/+3 |
| | | | | That was for Python 2, which we don't support anymore. | ||||
* | style: prefer explicit string concatenation | Ned Batchelder | 2021-10-10 | 1 | -8/+8 |
| | |||||
* | feat: unrecognized options are now a warning rather than error. #1035 (#1206) | Ned Batchelder | 2021-08-05 | 1 | -6/+6 |
| | | | | Because they are warnings issued while parsing the configuration file, it's not possible to suppress them with the coverage configuration. | ||||
* | style: fix typos discovered by codespell (#1197) | Christian Clauss | 2021-08-01 | 1 | -1/+1 |
| | | | | | | | | | | | python3 -m pip install codespell codespell --ignore-words-list="ba,cant,datas,hart,linke,ned,nin,overthere,upto" --skip="*.js" * Fix typos discovered by codespell * datas * intgers ==> integers | ||||
* | Support TOML v1.0.0 syntax in `pyproject.toml` (#1186) | Thomas Grainger | 2021-07-13 | 1 | -28/+25 |
| | | | | | | | | | | | | | | | | | * Support TOML v1.0.0 syntax in `pyproject.toml` fixes #1180 Co-authored-by: Taneli Hukkinen <3275109+hukkin@users.noreply.github.com> * fix toml meta test * use pytest.mark.parametrize to narrow test failure * Update tests/test_config.py Co-authored-by: Taneli Hukkinen <3275109+hukkin@users.noreply.github.com> Co-authored-by: Taneli Hukkinen <3275109+hukkin@users.noreply.github.com> | ||||
* | refactor: move exceptions to their own module | Ned Batchelder | 2021-05-02 | 1 | -1/+1 |
| | |||||
* | refactor: pyupgrade --py36-plus tests/**.py | Ned Batchelder | 2021-05-02 | 1 | -7/+6 |
| | |||||
* | test: remove the .egg test | Ned Batchelder | 2021-04-14 | 1 | -2/+2 |
| | | | | | | People don't use .egg much anymore, distutils is showing deprecation warnings, and coverage.py only deals with them the same way it deals with .zip files, so let's just rely on a .zip test to cover that. | ||||
* | test: add a test of missing sections and options | Ned Batchelder | 2021-02-25 | 1 | -0/+12 |
| | |||||
* | refactor: put a test in a more appropriate class | Ned Batchelder | 2021-02-25 | 1 | -11/+11 |
| | |||||
* | style: fix long lines and avoid backslashesnedbat/unittest2pytest | Ned Batchelder | 2021-01-31 | 1 | -6/+3 |
| | |||||
* | style: correct placement of auto-added pytest imports | Ned Batchelder | 2021-01-31 | 1 | -1/+1 |
| | |||||
* | style: singleton comparisons should use is | Ned Batchelder | 2021-01-31 | 1 | -8/+8 |
| | | | | | | I guess the original line was wrong, but it would have been nice for unittest2pytest to fix it for me: https://github.com/pytest-dev/unittest2pytest/issues/52 | ||||
* | refactor: unittest2pytest -w tests | Ned Batchelder | 2021-01-31 | 1 | -133/+128 |
| | | | | One step of moving to pure pytest tests. | ||||
* | Simplify the testing of the toml extra, fixing #1084 | Ned Batchelder | 2021-01-18 | 1 | -5/+5 |
| | |||||
* | Create Way to force package even if filepath exists (#1026) | Thomas Grainger | 2020-09-12 | 1 | -0/+2 |
| | | | Fixes: #268 | ||||
* | Read the config file contents as bytes, it's just for debugging anyway. #990 | Ned Batchelder | 2020-05-23 | 1 | -4/+10 |
| | |||||
* | Beef up the test for get_option(paths) | Ned Batchelder | 2020-04-11 | 1 | -1/+14 |
| | |||||
* | Allow plugins to alter the paths config | Bernat Gabor | 2020-04-03 | 1 | -0/+12 |
| | | | | Signed-off-by: Bernat Gabor <bgabor8@bloomberg.net> | ||||
* | Don't do vars and users in abs_file | Ned Batchelder | 2019-11-28 | 1 | -0/+6 |
| | | | | It meant file names could be incorrectly expanded. | ||||
* | '[run] note' is no longer supported. | Ned Batchelder | 2019-11-09 | 1 | -0/+11 |
| | |||||
* | Refactor the toml logic | Ned Batchelder | 2019-11-04 | 1 | -6/+21 |
| | | | | | | | | | - Section names can be dotted. - We only ever read one file, so we don't need to loop over files. - Error messages should show the actual section names where problems happened. | ||||
* | Give warnings about not being able to parse TOML files if toml isn't installed | Ned Batchelder | 2019-11-03 | 1 | -0/+34 |
| | |||||
* | Expand environment variables in any part of a TOML config | Ned Batchelder | 2019-11-03 | 1 | -1/+2 |
| | |||||
* | TOML support for pyproject.toml and other config files | Frazer McLean | 2019-11-03 | 1 | -0/+123 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 reports | reybog90 | 2019-11-01 | 1 | -0/+2 |
| | |||||
* | Create a JSON report | Matt Bachmann | 2019-08-31 | 1 | -0/+6 |
| | |||||
* | Prefer assertRaisesRegex to assertRaises | Ned Batchelder | 2019-04-21 | 1 | -6/+6 |
| | |||||
* | Update NOTICE link to GitHub. | Ned Batchelder | 2018-06-24 | 1 | -1/+1 |
| | |||||
* | COVERAGE_RCFILE can specify the config file location. #650 | Ned Batchelder | 2018-04-19 | 1 | -0/+15 |
| | |||||
* | Don't confuse run-include with report-include (and also omit). Fixes #621 ↵ | Ned Batchelder | 2018-01-20 | 1 | -1/+1 |
| | | | | and #622. | ||||
* | * --source and --include are mutually exclusive (take 2) #265 | loic@dachary.org | 2017-01-07 | 1 | -4/+9 |
| | | | | | close #265 close #101 | ||||
* | Explicitly specified secondary config files are properly read. #588 | Ned Batchelder | 2017-10-21 | 1 | -0/+7 |
| | |||||
* | Perform tilde expansion on file path config values. #589 | Ned Batchelder | 2017-10-21 | 1 | -1/+34 |
| | |||||
* | Refactor common test infrastructure for fiddling sys.path and finding files | Ned Batchelder | 2017-05-04 | 1 | -11/+2 |
| | |||||
* | Warnings can be disabled | Ned Batchelder | 2017-04-04 | 1 | -0/+2 |
| | |||||
* | --source and --include are mutually exclusive #265 | loic@dachary.org | 2016-12-16 | 1 | -2/+0 |
| | | | | | | | | | | | | | | | | | | | 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 | ||||
* | Make sure that an uninterested setup.cfg doesn't prevent tox.ini from working | Ned Batchelder | 2016-11-19 | 1 | -0/+9 |
| | |||||
* | Tweak test helper names and docstrings | Ned Batchelder | 2016-11-19 | 1 | -17/+16 |
| | |||||
* | Put this test back, it was failing when trying to check both setup.cfg and ↵ | Ned Batchelder | 2016-11-19 | 1 | -9/+7 |
| | | | | tox.ini | ||||
* | Clean up line wraps and leftover prints | Ned Batchelder | 2016-11-19 | 1 | -6/+3 |
| | |||||
* | Read options from tox.ini | Stephen Finucane | 2016-11-18 | 1 | -18/+59 |
| | | | | | | | | | | | | | | | | 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 | ||||
* | Test the debug settings more, and strip spaces from the environment variable | Ned Batchelder | 2016-10-21 | 1 | -0/+11 |
| | |||||
* | Let the concurrency option be multi-valued. #484 | Ned Batchelder | 2016-07-04 | 1 | -2/+3 |
| | |||||
* | Add an explicit test of the source= rc setting. | Ned Batchelder | 2016-02-21 | 1 | -0/+2 |
| | |||||
* | Non-ascii characters work again in config regexes. Fixes #455. | Ned Batchelder | 2015-12-24 | 1 | -0/+7 |
| | |||||
* | Combining now issues warnings on unreadable files, unconditionally | Ned Batchelder | 2015-10-04 | 1 | -5/+0 |
| | |||||
* | Combine can now ignore errors. | Ned Batchelder | 2015-10-03 | 1 | -0/+5 |
| | |||||
* | Change the coverage.config item-access syntax to a real method call. | Ned Batchelder | 2015-08-02 | 1 | -15/+15 |
| | | | | | The square brackets were too cute, and I couldn't figure out how to document them anyway! | ||||
* | Use the new class name | Ned Batchelder | 2015-07-27 | 1 | -21/+21 |
| |