Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | build: list the files created in a separate easily findable step | Ned Batchelder | 2021-11-05 | 1 | -0/+12 | |
| | ||||||
* | build: cp39 musllinux wheels don't work in some places. #1268 | Ned Batchelder | 2021-11-05 | 1 | -0/+7 | |
| | ||||||
* | docs: a little refactoring of the recent xml doc change | Ned Batchelder | 2021-11-05 | 1 | -7/+7 | |
| | ||||||
* | docs: updated docs for #578 recommendation (#1148) | sur.la.route | 2021-11-05 | 1 | -0/+38 | |
| | | | | | | | | | | | | | * updated docs for #578 recommendation #578 https://github.com/nedbat/coveragepy/issues/578#issuecomment-413881957 https://bitbucket.org/suriya/coverage-xml-bug/pull-requests/1/demonstrate-a-fix-to-coverage-xml-bug/diff also see #1146 * fixed per lint * updated per lint | |||||
* | fix: give a default value to the name argument for Matchers. #1273 | Ned Batchelder | 2021-11-05 | 3 | -9/+15 | |
| | ||||||
* | build: check CTracer after building wheels | Ned Batchelder | 2021-11-05 | 1 | -3/+14 | |
| | | | | And also use the matrix to build them in parallel | |||||
* | fix: don't report branches to exclusions as missing. #1271 | Ned Batchelder | 2021-11-05 | 3 | -2/+22 | |
| | ||||||
* | docs: tweak the bug report template | Ned Batchelder | 2021-11-04 | 1 | -2/+2 | |
| | ||||||
* | chore: make upgrade | Ned Batchelder | 2021-11-04 | 7 | -16/+16 | |
| | ||||||
* | refactor(test): make traceback checks a bit flexible | Ned Batchelder | 2021-11-04 | 2 | -7/+11 | |
| | | | | | | | | | | | | Python 3.11 made a traceback look like this: Traceback (most recent call last): File "{path}", line 8, in <module> print(sys.argv[1]) ~~~~~~~~^^^ IndexError: list index out of range We needed to not care if that tilde-caret line was present or not. | |||||
* | refactor(test): don't even import contracts if not using PyContracts | Ned Batchelder | 2021-11-04 | 4 | -12/+13 | |
| | | | | | | | | On CPython 3.11, PyContracts fails on import, so we need to shut it off more completely. PyContracts is unmaintained these days, so we'll probably get rid of it completely soon. | |||||
* | debug(lab): renovate lab/parser.py | Ned Batchelder | 2021-11-03 | 2 | -232/+40 | |
| | ||||||
* | debug(lab): remove opcode histogram from lab/parser.py | Ned Batchelder | 2021-11-03 | 1 | -17/+2 | |
| | ||||||
* | docs: add a license notice to the top of goals.py | Ned Batchelder | 2021-11-03 | 1 | -0/+3 | |
| | ||||||
* | test(fix): isolate excepthook tests from each other | Ned Batchelder | 2021-11-02 | 2 | -0/+9 | |
| | ||||||
* | build(test): remove obsolete jQuery gold files #840 | Ned Batchelder | 2021-11-02 | 7 | -183/+25 | |
| | ||||||
* | test: force VirtualenvTest onto one worker to save time | Ned Batchelder | 2021-11-02 | 1 | -7/+50 | |
| | | | | | | | | | | | VirtualenvTest is slow because it has a session-scoped fixture that takes 10s to run. If all of those tests go to the same worker, we can reuse that fixture. If they go to different workers, we have to spend that time more than once. This is a hack which seems to work, but no guarantees into the future. Also, I don't know why the VirtualenvTests aren't run first on their worker. Time saved: about 10%, from ~50s to ~45s. | |||||
* | lab: improvements to coverage-goals | Ned Batchelder | 2021-11-01 | 1 | -10/+11 | |
| | | | | | | | | - Warning up-front - Works for line-only measurement - Correct the command description. | |||||
* | a proof-of-concept for coverage-goals | Ned Batchelder | 2021-10-31 | 1 | -0/+91 | |
| | ||||||
* | build: bump version | Ned Batchelder | 2021-10-31 | 2 | -1/+7 | |
| | ||||||
* | docs: sample HTML report for 6.1.16.1.1 | Ned Batchelder | 2021-10-31 | 12 | -45/+62 | |
| | ||||||
* | build: prep for 6.1.1 | Ned Batchelder | 2021-10-31 | 4 | -6/+8 | |
| | ||||||
* | perf(test): run pip just once, shaves 1.2s off the fixture | Ned Batchelder | 2021-10-31 | 1 | -8/+9 | |
| | | | | ... though that means it's 8.1s instead of 9.3s, so still pretty slow. | |||||
* | test: use the coverage-command fixture throughout the venv tests | Ned Batchelder | 2021-10-31 | 1 | -4/+4 | |
| | ||||||
* | fix: don't warn about already imported files for namespace packages #888 | Ned Batchelder | 2021-10-31 | 4 | -4/+70 | |
| | | | | Ignore namespace packages in the already-imported check. #888 | |||||
* | refactor(test): the virtualenv tests deserve their own file | Ned Batchelder | 2021-10-31 | 2 | -263/+277 | |
| | ||||||
* | test: check pylint for new files before adding them to git | Ned Batchelder | 2021-10-31 | 1 | -1/+1 | |
| | ||||||
* | docs: another link for the no-jquery changelog entry | Ned Batchelder | 2021-10-31 | 1 | -3/+4 | |
| | ||||||
* | test: when we measure our coverage, get a json report also | Ned Batchelder | 2021-10-31 | 3 | -1/+3 | |
| | ||||||
* | build: clean up the Makefile a bit | Ned Batchelder | 2021-10-30 | 3 | -17/+6 | |
| | ||||||
* | debug: code we can enable to see where tests are running and in what order | Ned Batchelder | 2021-10-30 | 1 | -1/+9 | |
| | ||||||
* | chore: update HTML gold files | Ned Batchelder | 2021-10-30 | 24 | -74/+77 | |
| | | | | test: I keep forgetting about the 3.10-only gold file | |||||
* | fix: don't mention the p shortcut if not doing branches | Ned Batchelder | 2021-10-30 | 1 | -1/+4 | |
| | ||||||
* | fix: sticky HTML header only worked with branch coverage | Ned Batchelder | 2021-10-30 | 2 | -16/+26 | |
| | ||||||
* | build: also pin pip and setuptools | Ned Batchelder | 2021-10-30 | 6 | -13/+24 | |
| | | | | Mostly to get rid of the "you're not using the latest pip!" warning. | |||||
* | test: fix the trailing-space test, and suppress warnings about \<space> | Ned Batchelder | 2021-10-30 | 2 | -12/+18 | |
| | ||||||
* | style: remove implicit string concatenation | Ned Batchelder | 2021-10-30 | 3 | -26/+26 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | .. and also add trailing commas where needed to remove ambiguity. I used semgrep with this config: ``` rules: - id: implicit-string-concatenation pattern: | "$X" "$Y" languages: - python message: string cat BAD severity: INFO ``` Running it showed this: ``` $ semgrep --config=../lab/string-cat.yml coverage tests doc ci igor.py setup.py __main__.py Running 1 rules... setup.py severity:info rule:lab.implicit-string-concatenation: string cat BAD 128: 'https://tidelift.com/subscription/pkg/pypi-coverage' 129: '?utm_source=pypi-coverage&utm_medium=referral&utm_campaign=pypi' tests/test_api.py severity:info rule:lab.implicit-string-concatenation: string cat BAD 319: "!coverage.py: This is a private format, don't read it directly!" 320: '{"lines":{"/private/tmp/foo.py":[1,5,2,3]}}' tests/test_html.py severity:info rule:lab.implicit-string-concatenation: string cat BAD 614: ('<span class="key">if</span> <span class="num">1</span> ' 615: '<span class="op"><</span> <span class="num">2</span>'), -------------------------------------------------------------------------------- 616: (' <span class="nam">a</span> ' 617: '<span class="op">=</span> <span class="num">3</span>'), -------------------------------------------------------------------------------- 665: ('<span class="key">if</span> <span class="nam">x</span> ' 666: '<span class="op"><</span> <span class="num">2</span>'), -------------------------------------------------------------------------------- 667: (' <span class="nam">a</span> <span class="op">=</span> ' 668: '<span class="num">3</span>'), -------------------------------------------------------------------------------- 949: ('<span class="key">if</span> <span class="num">1</span> ' 950: '<span class="op"><</span> <span class="num">2</span>'), -------------------------------------------------------------------------------- 951: (' <span class="nam">a</span> <span class="op">=</span> ' 952: '<span class="num">3</span>'), ran 1 rules on 134 files: 8 findings ``` This wasn't all of the instances, so I wrote a bug report: https://github.com/returntocorp/semgrep/issues/4184 | |||||
* | chore: make upgrade | Ned Batchelder | 2021-10-30 | 6 | -19/+22 | |
| | ||||||
* | docs: tweak the sidebar | Ned Batchelder | 2021-10-30 | 1 | -1/+1 | |
| | ||||||
* | docs: fix two warnings in the release-notes process | Ned Batchelder | 2021-10-30 | 3 | -3/+3 | |
| | | | | ... and change "tox doc" to fail next time this happens. | |||||
* | style: remove mention of Python 2 | Ned Batchelder | 2021-10-30 | 1 | -2/+2 | |
| | ||||||
* | build: every release leads to tweaks to the process | Ned Batchelder | 2021-10-30 | 1 | -4/+2 | |
| | ||||||
* | docs: link to the no-more-jquery pull request | Ned Batchelder | 2021-10-30 | 1 | -1/+3 | |
| | ||||||
* | chore: bump version | Ned Batchelder | 2021-10-30 | 2 | -1/+6 | |
| | ||||||
* | build: prep for version 6.16.1 | Ned Batchelder | 2021-10-29 | 4 | -7/+9 | |
| | ||||||
* | docs: sample HTML report for 6.1 | Ned Batchelder | 2021-10-29 | 18 | -4698/+4545 | |
| | ||||||
* | docs: say a little more about annotate in the changelog | Ned Batchelder | 2021-10-29 | 1 | -1/+4 | |
| | ||||||
* | deprecated: the annotate command will be removed in a future version | Ned Batchelder | 2021-10-29 | 4 | -2/+24 | |
| | ||||||
* | refactor(test): make re_lines (et al) look like re.search | Ned Batchelder | 2021-10-28 | 7 | -74/+68 | |
| | | | | and also replace some calls with just-plain re.search. | |||||
* | refactor(test): name this gold file properly | Ned Batchelder | 2021-10-28 | 2 | -1/+1 | |
| |