Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | mypy: use __future__ uniformly in checked files | Ned Batchelder | 2023-01-05 | 1 | -0/+2 |
| | |||||
* | mypy: test_debug.py test_execfile.py test_filereporter.py test_files.py | Ned Batchelder | 2023-01-04 | 1 | -4/+4 |
| | |||||
* | refactor: a better way to have maybe-importable third-party modules | Ned Batchelder | 2023-01-03 | 1 | -3/+3 |
| | |||||
* | mypy: check tomlconfig.py | Ned Batchelder | 2022-12-29 | 1 | -21/+36 |
| | |||||
* | fix: [tools.coverage] is valid for settings in a toml file. #1516 | Ned Batchelder | 2022-12-27 | 1 | -1/+1 |
| | |||||
* | refactor: no longer need a strange typing import | Ned Batchelder | 2022-12-27 | 1 | -5/+0 |
| | |||||
* | test: run mypy on config.py | Ned Batchelder | 2022-12-27 | 1 | -1/+5 |
| | |||||
* | test: correct some config tests, and fully cover tomlconfig.py | Ned Batchelder | 2022-10-28 | 1 | -7/+4 |
| | |||||
* | fix: in toml config, only apply environment substitution to coverage ↵ | Ned Batchelder | 2022-10-28 | 1 | -22/+47 |
| | | | | settings. #1481 | ||||
* | fix: use tomli for [toml] under more precise conditions. #1390 | Ned Batchelder | 2022-06-01 | 1 | -1/+1 |
| | |||||
* | refactor: clean up tomllib addition | Ned Batchelder | 2022-05-15 | 1 | -4/+5 |
| | |||||
* | Use tomllib on Python 3.11 (#1359) | Shantanu | 2022-05-15 | 1 | -9/+14 |
| | | | Co-authored-by: hauntsaninja <> | ||||
* | refactor: specialize exceptions | Ned Batchelder | 2021-11-14 | 1 | -3/+3 |
| | | | | | | 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. | ||||
* | fix: source modules need to be re-imported. #1232 | Ned Batchelder | 2021-10-11 | 1 | -1/+5 |
| | |||||
* | fix: pretend we didn't import third-party packages we use. #1228 | Ned Batchelder | 2021-10-06 | 1 | -5/+2 |
| | | | | | | tomli couldn't use coverage themselves because we imported it early. Cleaning sys.modules means their own imports will actually execute after coverage has started, so their files will be properly measured. | ||||
* | refactor: convert %-strings to f-strings | Ned Batchelder | 2021-07-28 | 1 | -3/+1 |
| | |||||
* | fix: raise chained errors with "from" #998 | Ned Batchelder | 2021-07-20 | 1 | -4/+4 |
| | | | | | | This makes exceptions report their causes correctly, as "The above exception was the direct cause of the following exception" instead of "During handling of the above exception, another exception occurred." | ||||
* | Support TOML v1.0.0 syntax in `pyproject.toml` (#1186) | Thomas Grainger | 2021-07-13 | 1 | -6/+6 |
| | | | | | | | | | | | | | | | | | * 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/+2 |
| | |||||
* | build: update to latest pylintgood-meta | Ned Batchelder | 2021-05-02 | 1 | -1/+0 |
| | |||||
* | refactor: remove a few more version checks | Ned Batchelder | 2021-05-02 | 1 | -3/+1 |
| | |||||
* | refactor: pyupgrade --py36-plus coverage/*.py | Ned Batchelder | 2021-05-02 | 1 | -4/+3 |
| | |||||
* | refactor: remove unneeded backward.py shims | Ned Batchelder | 2021-05-01 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | Removed were: - StringIO - configparser - string_class - unicode_class - range - zip_longest - get_thread_id - path_types - shlex_quote - reprlib | ||||
* | Simplify the testing of the toml extra, fixing #1084 | Ned Batchelder | 2021-01-18 | 1 | -2/+6 |
| | |||||
* | Consolidate the type checking of toml values | Ned Batchelder | 2019-11-04 | 1 | -22/+12 |
| | |||||
* | Refactor the toml logic | Ned Batchelder | 2019-11-04 | 1 | -77/+82 |
| | | | | | | | | | - 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 | -19/+28 |
| | |||||
* | A better way to import optional modules | Ned Batchelder | 2019-11-03 | 1 | -1/+2 |
| | |||||
* | Expand environment variables in any part of a TOML config | Ned Batchelder | 2019-11-03 | 1 | -7/+4 |
| | |||||
* | Cleanups for TOML code | Ned Batchelder | 2019-11-03 | 1 | -4/+20 |
| | |||||
* | TOML support for pyproject.toml and other config files | Frazer McLean | 2019-11-03 | 1 | -0/+146 |
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. |