Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | 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 | |
| | ||||||
* | test: add a annotate test, and simplify the logic | Ned Batchelder | 2021-10-28 | 3 | -5/+32 | |
| | ||||||
* | chore(docs): 'make cmd_help' because cmdline.py changed | Ned Batchelder | 2021-10-28 | 4 | -0/+4 | |
| | ||||||
* | feat: html output directory gets a .gitignore file. #1244 | Ned Batchelder | 2021-10-27 | 5 | -0/+14 | |
| | ||||||
* | build: run tests and quality on my branches without making pull requests | Ned Batchelder | 2021-10-27 | 2 | -0/+2 | |
| | ||||||
* | fix(debug): ast_dump failed on a few things | Ned Batchelder | 2021-10-27 | 4 | -18/+42 | |
| | ||||||
* | refactor(test): re_lines is more useful if it returns a list | Ned Batchelder | 2021-10-27 | 4 | -19/+28 | |
| | ||||||
* | feat: xml and json say what they are doing, and -q quiets everything. #1254nedbat/dashq | Ned Batchelder | 2021-10-26 | 11 | -21/+88 | |
| | ||||||
* | build: force 'build' to shut up | Ned Batchelder | 2021-10-26 | 3 | -1/+11 | |
| | ||||||
* | test: a true unit test for render_report | Ned Batchelder | 2021-10-26 | 2 | -1/+51 | |
| | ||||||
* | refactor: alphabetize the options | Ned Batchelder | 2021-10-26 | 2 | -90/+90 | |
| | ||||||
* | refactor: more direct | Ned Batchelder | 2021-10-25 | 1 | -3/+2 | |
| | ||||||
* | fix: changes for PyPy3.8 | Ned Batchelder | 2021-10-25 | 8 | -5/+13 | |
| | | | | | | | | | | - Update tox.ini to let us run against PyPy3.8 - Some 3.8 behavior is (apparently) only on CPython - PyPy3.8 doesn't get along with virtualenv yet (https://github.com/pypa/virtualenv/issues/2182), so use venv instead for our virtualenv tests. | |||||
* | build: avoid direct setup.py use | Ned Batchelder | 2021-10-25 | 1 | -7/+7 | |
| | ||||||
* | build: make PyPy kits without invoking setup.py directlynedbat/pypy-kit-without-setup-py | Ned Batchelder | 2021-10-25 | 1 | -3/+4 | |
| | ||||||
* | build: a minimal tox.pip for getting tox started | Ned Batchelder | 2021-10-25 | 10 | -154/+100 | |
| | | | | | | No need to install a lot of junk just to have tox make a new venv and install things into it. And then ci.pip can be much smaller, installing just what kits need: kit.pip | |||||
* | chore: make upgrade | Ned Batchelder | 2021-10-25 | 3 | -2/+25 | |
| | ||||||
* | build: avoid direct setup.py invocations | Ned Batchelder | 2021-10-25 | 8 | -38/+18 | |
| | | | | Also simplified the .pip files a bit. | |||||
* | test: also test goldtest bad xml | Ned Batchelder | 2021-10-25 | 2 | -14/+37 | |
| | ||||||
* | test: finishing covering goldtest.py with test_goldtest.py | Ned Batchelder | 2021-10-24 | 4 | -24/+78 | |
| | ||||||
* | chore: make upgrade | Ned Batchelder | 2021-10-24 | 7 | -65/+515 | |
| | ||||||
* | build: use pip-tools to manage *.pip from *.in | Ned Batchelder | 2021-10-24 | 14 | -18/+117 | |
| | | | | | The requires.io site stopped working for me, and this is a more automated process anyway. | |||||
* | build: use 3.8 uniformly for ci tasks | Ned Batchelder | 2021-10-24 | 2 | -5/+5 | |
| |