Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | refactor: remove redundant Python 2 code (#1155) | Hugo van Kemenade | 2021-05-02 | 13 | -78/+61 | |
| | | | | | | | | | | | * Remove Python 2 code * Upgrade Python syntax with pyupgrade * Upgrade Python syntax with pyupgrade --py3-plus * Upgrade Python syntax with pyupgrade --py36-plus * Remove unused imports | |||||
* | refactor: convert more %-formatting to f-strings | Ned Batchelder | 2021-05-02 | 5 | -21/+26 | |
| | ||||||
* | build: remove needless excludes | Ned Batchelder | 2021-05-02 | 2 | -6/+0 | |
| | | | | | Unfortunately, excluding files that don't exist causes warnings. So try to keep the list as accurate as possible. | |||||
* | Use license_files instead of deprecated license_file | Hugo van Kemenade | 2021-05-02 | 1 | -1/+1 | |
| | ||||||
* | test: avoid xdist to ensure coverage is collected | Ned Batchelder | 2021-05-02 | 1 | -1/+3 | |
| | ||||||
* | docs: update the examples in contributing.rst | Ned Batchelder | 2021-05-02 | 1 | -60/+39 | |
| | ||||||
* | refactor: remove a now no-op function | Ned Batchelder | 2021-05-02 | 2 | -13/+6 | |
| | ||||||
* | refactor: move exceptions to their own module | Ned Batchelder | 2021-05-02 | 35 | -81/+99 | |
| | ||||||
* | build: don't refer to py27 in the Makefile | Ned Batchelder | 2021-05-02 | 1 | -3/+3 | |
| | ||||||
* | build: update build tools | Ned Batchelder | 2021-05-02 | 2 | -5/+4 | |
| | ||||||
* | test: update to latest pytest | Ned Batchelder | 2021-05-02 | 3 | -10/+6 | |
| | ||||||
* | build: update to latest pylintgood-meta | Ned Batchelder | 2021-05-02 | 6 | -7/+3 | |
| | ||||||
* | refactor: remove unneeded Py2 C code | Ned Batchelder | 2021-05-02 | 2 | -59/+0 | |
| | ||||||
* | refactor: remove a few more version checks | Ned Batchelder | 2021-05-02 | 11 | -50/+17 | |
| | ||||||
* | refactor: remove unneeded py2-only gold files | Ned Batchelder | 2021-05-02 | 2 | -161/+0 | |
| | ||||||
* | refactor: pyupgrade --py36-plus *.py | Ned Batchelder | 2021-05-02 | 2 | -19/+18 | |
| | ||||||
* | refactor: pyupgrade --py36-plus tests/**.py | Ned Batchelder | 2021-05-02 | 33 | -186/+171 | |
| | ||||||
* | refactor: pyupgrade --py36-plus coverage/*.py | Ned Batchelder | 2021-05-02 | 29 | -251/+243 | |
| | ||||||
* | docs: update Python versions supported | Ned Batchelder | 2021-05-02 | 3 | -8/+8 | |
| | ||||||
* | build: next version will be 6.0, dropping support for 2.7 & 3.5 | Ned Batchelder | 2021-05-01 | 2 | -6/+3 | |
| | ||||||
* | refactor: move the remaining backward.py code, no more backward.py | Ned Batchelder | 2021-05-01 | 14 | -177/+68 | |
| | ||||||
* | refactor: remove some unneeded behavior conditionals | Ned Batchelder | 2021-05-01 | 4 | -28/+2 | |
| | ||||||
* | refactor: remove yet more unneeded backward.py shims | Ned Batchelder | 2021-05-01 | 5 | -45/+16 | |
| | | | | | | | | Gone are: - PYC_MAGIC_NUMBER - code_object - SimpleNamespace | |||||
* | refactor: remove more unneeded backward.py shims | Ned Batchelder | 2021-05-01 | 16 | -138/+35 | |
| | | | | | | | | | | | | | | Gone are: - iitems - litems - iternext - to_bytes - to_string - binary_bytes - byte_to_int - bytes_to_ints - BUILTINS | |||||
* | refactor: remove unneeded backward.py shims | Ned Batchelder | 2021-05-01 | 16 | -123/+53 | |
| | | | | | | | | | | | | | | | Removed were: - StringIO - configparser - string_class - unicode_class - range - zip_longest - get_thread_id - path_types - shlex_quote - reprlib | |||||
* | refactor: remove code explicitly choosing between py2 and py3 | Ned Batchelder | 2021-05-01 | 27 | -338/+52 | |
| | ||||||
* | build: don't run CI on 2.7, pypy2, or 3.5 | Ned Batchelder | 2021-05-01 | 4 | -33/+5 | |
| | ||||||
* | fix: don't warn that dynamic plugins already imported their source files. #1150 | Ned Batchelder | 2021-05-01 | 4 | -2/+46 | |
| | ||||||
* | build: no more Windows 2.7? | Ned Batchelder | 2021-05-01 | 2 | -0/+6 | |
| | | | | | Microsoft removed the vcpython27 code (because 2.7 isn't supported anymore). Discussion here: https://community.chocolatey.org/packages/vcpython27 | |||||
* | docs: fix code comment formatting (#1153) | Mayank Singhal | 2021-04-30 | 3 | -10/+10 | |
| | | | | | | | | | | | | | | | | | | | | | | | | * docs(branch.rst): Line number comments not needed The topic `Branch Coverage Management` in this file already has a setting: :linenothreshold: 5 Using this setting, sphinx will automatically provide line numbers for code block longer than 5 lines. reference: https://www.sphinx-doc.org/en/master/usage/restructuredtext/directives.html#directive-option-highlight-linenothreshold * docs: Extra spaces in comment (maybe intentional) The lines edited in this commit might have been given extra indentation purposefully. As they are an instruction for coverage py and are immediately followed by another comment that is not for coveragepy. * docs: inconsistent spaces in comments Fix extra indentations or lack of indentations. | |||||
* | docs: clarify that loads/dumps are not related to data files | Ned Batchelder | 2021-04-19 | 1 | -1/+8 | |
| | ||||||
* | Use current_thread instead of currentThread that was deprecated in Python 3.10 | Karthikeyan Singaravelan | 2021-04-17 | 2 | -5/+5 | |
| | ||||||
* | build: make tags like 5.6.1 not coverage-5.6.1 | Ned Batchelder | 2021-04-15 | 5 | -7/+7 | |
| | ||||||
* | build: remove one leftover install_egg | Ned Batchelder | 2021-04-14 | 1 | -1/+1 | |
| | ||||||
* | build: suppress new 3.10 warnings | Ned Batchelder | 2021-04-14 | 1 | -0/+11 | |
| | ||||||
* | build: avoid pylint randomness | Ned Batchelder | 2021-04-14 | 1 | -1/+1 | |
| | | | | | | | -j seems to introduce non-determinism: https://github.com/PyCQA/pylint/issues/4356 With -j4, we'd have occasional (1 in 20?) failures on CI. | |||||
* | test: improve zipfile test | Ned Batchelder | 2021-04-14 | 4 | -45/+50 | |
| | | | | | | | Before this commit, the GetZipBytesTest.test_get_encoded_zip_files test was flaky on Python 3.10.0a7. Since I had just added new files to the common zip file, I tried splitting the newly added stuff into its own file, and that seemed to fix the problem. | |||||
* | build: run tests and quality on all branches | Ned Batchelder | 2021-04-14 | 2 | -4/+0 | |
| | ||||||
* | test: remove the .egg test | Ned Batchelder | 2021-04-14 | 8 | -48/+24 | |
| | | | | | | 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. | |||||
* | fix: correct slight mis-layout of the hotkey panels | Ned Batchelder | 2021-04-13 | 6 | -16/+16 | |
| | ||||||
* | build: bump version to 5.6b2 | Ned Batchelder | 2021-04-12 | 2 | -1/+7 | |
| | ||||||
* | build: version 5.6b1coverage-5.6b1v5.x | Ned Batchelder | 2021-04-12 | 3 | -6/+8 | |
| | ||||||
* | fix: pypy3 7.3.4 uses a non-empty sys.path[0] | Ned Batchelder | 2021-04-12 | 1 | -1/+4 | |
| | ||||||
* | build: report errors a little better in download_gha_artifacts.py | Ned Batchelder | 2021-04-11 | 1 | -0/+2 | |
| | ||||||
* | build: use 3.10.0a7 in CI | Ned Batchelder | 2021-04-11 | 2 | -2/+2 | |
| | ||||||
* | build: update build dependencies | Ned Batchelder | 2021-04-11 | 3 | -12/+12 | |
| | ||||||
* | build: update pylint | Ned Batchelder | 2021-04-11 | 2 | -3/+3 | |
| | ||||||
* | fix: adapt to 3.10.0a7's f_lasti field | Ned Batchelder | 2021-04-11 | 3 | -2/+10 | |
| | ||||||
* | fix: restore metacov functioning | Ned Batchelder | 2021-04-11 | 2 | -3/+1 | |
| | | | | | | | The check for coverage files inside the --source check disables our metacoverage. Removing it means that coverage files will still not be measured, but the reason will be given as "is third-party" rather than "is part of coverage.py," which is a small price to pay. | |||||
* | fix: restore html report selection highlighting | Ned Batchelder | 2021-04-11 | 2 | -7/+6 | |
| |