summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* test: check pylint for new files before adding them to gitNed Batchelder2021-10-311-1/+1
|
* docs: another link for the no-jquery changelog entryNed Batchelder2021-10-311-3/+4
|
* test: when we measure our coverage, get a json report alsoNed Batchelder2021-10-313-1/+3
|
* build: clean up the Makefile a bitNed Batchelder2021-10-303-17/+6
|
* debug: code we can enable to see where tests are running and in what orderNed Batchelder2021-10-301-1/+9
|
* chore: update HTML gold filesNed Batchelder2021-10-3024-74/+77
| | | | test: I keep forgetting about the 3.10-only gold file
* fix: don't mention the p shortcut if not doing branchesNed Batchelder2021-10-301-1/+4
|
* fix: sticky HTML header only worked with branch coverageNed Batchelder2021-10-302-16/+26
|
* build: also pin pip and setuptoolsNed Batchelder2021-10-306-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 Batchelder2021-10-302-12/+18
|
* style: remove implicit string concatenationNed Batchelder2021-10-303-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">&lt;</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">&lt;</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">&lt;</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 upgradeNed Batchelder2021-10-306-19/+22
|
* docs: tweak the sidebarNed Batchelder2021-10-301-1/+1
|
* docs: fix two warnings in the release-notes processNed Batchelder2021-10-303-3/+3
| | | | ... and change "tox doc" to fail next time this happens.
* style: remove mention of Python 2Ned Batchelder2021-10-301-2/+2
|
* build: every release leads to tweaks to the processNed Batchelder2021-10-301-4/+2
|
* docs: link to the no-more-jquery pull requestNed Batchelder2021-10-301-1/+3
|
* chore: bump versionNed Batchelder2021-10-302-1/+6
|
* build: prep for version 6.16.1Ned Batchelder2021-10-294-7/+9
|
* docs: sample HTML report for 6.1Ned Batchelder2021-10-2918-4698/+4545
|
* docs: say a little more about annotate in the changelogNed Batchelder2021-10-291-1/+4
|
* deprecated: the annotate command will be removed in a future versionNed Batchelder2021-10-294-2/+24
|
* refactor(test): make re_lines (et al) look like re.searchNed Batchelder2021-10-287-74/+68
| | | | and also replace some calls with just-plain re.search.
* refactor(test): name this gold file properlyNed Batchelder2021-10-282-1/+1
|
* test: add a annotate test, and simplify the logicNed Batchelder2021-10-283-5/+32
|
* chore(docs): 'make cmd_help' because cmdline.py changedNed Batchelder2021-10-284-0/+4
|
* feat: html output directory gets a .gitignore file. #1244Ned Batchelder2021-10-275-0/+14
|
* build: run tests and quality on my branches without making pull requestsNed Batchelder2021-10-272-0/+2
|
* fix(debug): ast_dump failed on a few thingsNed Batchelder2021-10-274-18/+42
|
* refactor(test): re_lines is more useful if it returns a listNed Batchelder2021-10-274-19/+28
|
* feat: xml and json say what they are doing, and -q quiets everything. #1254nedbat/dashqNed Batchelder2021-10-2611-21/+88
|
* build: force 'build' to shut upNed Batchelder2021-10-263-1/+11
|
* test: a true unit test for render_reportNed Batchelder2021-10-262-1/+51
|
* refactor: alphabetize the optionsNed Batchelder2021-10-262-90/+90
|
* refactor: more directNed Batchelder2021-10-251-3/+2
|
* fix: changes for PyPy3.8Ned Batchelder2021-10-258-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 useNed Batchelder2021-10-251-7/+7
|
* build: make PyPy kits without invoking setup.py directlynedbat/pypy-kit-without-setup-pyNed Batchelder2021-10-251-3/+4
|
* build: a minimal tox.pip for getting tox startedNed Batchelder2021-10-2510-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 upgradeNed Batchelder2021-10-253-2/+25
|
* build: avoid direct setup.py invocationsNed Batchelder2021-10-258-38/+18
| | | | Also simplified the .pip files a bit.
* test: also test goldtest bad xmlNed Batchelder2021-10-252-14/+37
|
* test: finishing covering goldtest.py with test_goldtest.pyNed Batchelder2021-10-244-24/+78
|
* chore: make upgradeNed Batchelder2021-10-247-65/+515
|
* build: use pip-tools to manage *.pip from *.inNed Batchelder2021-10-2414-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 tasksNed Batchelder2021-10-242-5/+5
|
* Build wheel for PyPy3.8Hugo van Kemenade2021-10-241-0/+1
|
* test: test compare() from test/goldtest.pyNed Batchelder2021-10-243-45/+125
|
* refactor(test): os_sep and remove_tree helpersNed Batchelder2021-10-246-24/+30
|
* fix(html): ariaSort isn't supported in Firefox yetNed Batchelder2021-10-236-28/+26
| | | | The HTML report index page wasn't indicating the sort order properly