Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | docs: final paperwork for exclude_also #1557 | Ned Batchelder | 2023-02-22 | 1 | -2/+3 |
| | |||||
* | feat: add extend_exclude option | Alpha Chen | 2023-02-22 | 1 | -0/+9 |
| | |||||
* | fix: Path objects are ok for data_file and config_file. #1552 | Ned Batchelder | 2023-02-12 | 1 | -3/+5 |
| | |||||
* | mypy: use __future__ uniformly in checked files | Ned Batchelder | 2023-01-05 | 1 | -0/+2 |
| | |||||
* | refactor: a better way to have maybe-importable third-party modules | Ned Batchelder | 2023-01-03 | 1 | -6/+5 |
| | |||||
* | mypy: test_config.py, test_context.py | Ned Batchelder | 2023-01-03 | 1 | -54/+55 |
| | |||||
* | mypy: inorout.py, disposition.py, and part of control.py | Ned Batchelder | 2022-12-30 | 1 | -2/+2 |
| | |||||
* | mypy: check tomlconfig.py | Ned Batchelder | 2022-12-29 | 1 | -0/+1 |
| | |||||
* | fix: [tools.coverage] is valid for settings in a toml file. #1516 | Ned Batchelder | 2022-12-27 | 1 | -0/+13 |
| | |||||
* | test: run mypy on config.py | Ned Batchelder | 2022-12-27 | 1 | -6/+7 |
| | |||||
* | feat: added support for finding unexecuted namespace packages (#1387) | Felix Horvat | 2022-11-17 | 1 | -0/+3 |
| | | | | | | | | | | | | | | | | | | | * add support for namespace packages * fixed typo * update documentation * fixed lint issues * changed versionadded * convert to config setting * removed pure formatting changes * code review changes Co-authored-by: Ned Batchelder <ned@nedbatchelder.com> | ||||
* | feat: complete removal of `[run] note` | Ned Batchelder | 2022-11-11 | 1 | -11/+0 |
| | |||||
* | test: correct some config tests, and fully cover tomlconfig.py | Ned Batchelder | 2022-10-28 | 1 | -4/+21 |
| | |||||
* | fix: in toml config, only apply environment substitution to coverage ↵ | Ned Batchelder | 2022-10-28 | 1 | -7/+12 |
| | | | | settings. #1481 | ||||
* | test: simulate the failure from issue #1481 | Ned Batchelder | 2022-10-28 | 1 | -0/+4 |
| | |||||
* | Use tomllib on Python 3.11 (#1359) | Shantanu | 2022-05-15 | 1 | -4/+7 |
| | | | Co-authored-by: hauntsaninja <> | ||||
* | refactor(test): use math.isclose to check float values | Ned Batchelder | 2022-01-07 | 1 | -2/+3 |
| | |||||
* | refactor: specialize exceptions | Ned Batchelder | 2021-11-14 | 1 | -18/+18 |
| | | | | | | CoverageException is fine as a base class, but not good to use for raising (and catching sometimes). Introduce specialized exceptions that allow third-party tools to integrate better. | ||||
* | test(refactor): convert looping tests to parametrize | Ned Batchelder | 2021-11-11 | 1 | -32/+25 |
| | |||||
* | style: convert more string formatting to f-strings | Ned Batchelder | 2021-11-11 | 1 | -2/+2 |
| | |||||
* | 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 |
| |