Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | fix: put contexts dict in <script> and reveal them using JavaScript (#1587) | Oleh Krehel | 2023-03-22 | 7 | -17/+65 | |
| | | | | | | | | | | | | | | | * Put contexts dict in <script> and reveal them using JavaScript Fixes #1584 * Address review comments * coverage/htmlfiles/style.css: Align the contexts to the right * coverage/htmlfiles/style.scss: Match style.css * coverage/html.py: Fix linting and mypy errors * two_tests_py.html: make update-gold | |||||
* | docs: fix some formatting in contributing.rst | Ned Batchelder | 2023-03-21 | 1 | -7/+6 | |
| | ||||||
* | docs: correct some misspellings and add good words to the dict | Ned Batchelder | 2023-03-21 | 3 | -1/+21 | |
| | ||||||
* | build(docs): sort the spelling dict | Ned Batchelder | 2023-03-21 | 1 | -24/+24 | |
| | ||||||
* | build(docs): only load sphinxcontrib.spelling if we are spell-checking #1593 | Ned Batchelder | 2023-03-21 | 1 | -1/+3 | |
| | ||||||
* | test: check the HTML for context output | Ned Batchelder | 2023-03-21 | 3 | -0/+224 | |
| | ||||||
* | test: provide more guidance about working with gold files | Ned Batchelder | 2023-03-21 | 4 | -7/+25 | |
| | | | | And make it easier to add new gold tests. | |||||
* | build: tidy up the clean action | Ned Batchelder | 2023-03-21 | 1 | -2/+2 | |
| | | | | | | | clean_platform was added in 7379c811580cd27e8695763ed5eb15746b133275 so we could remove platform-specific pyc files to run Linux tests. Those were removed in 76e80108c11b042e6e929641fe3f38975f5765ba, but it couldn't hurt to keep things organized this way. | |||||
* | build: make sure build can be deleted | Ned Batchelder | 2023-03-21 | 1 | -0/+1 | |
| | | | | | If the virtualenv tests fail, they somehow leave behind build directories with 000 permissions. | |||||
* | docs: three PRs from the PyCascades sprint | Ned Batchelder | 2023-03-20 | 1 | -0/+3 | |
| | ||||||
* | docs: correct name alphabetization | Ned Batchelder | 2023-03-20 | 1 | -3/+3 | |
| | ||||||
* | docs: further slimming down of contribution instructions | Ned Batchelder | 2023-03-20 | 1 | -27/+12 | |
| | ||||||
* | docs: update contribution instructions (#1591) | polkapolka | 2023-03-20 | 1 | -16/+29 | |
| | | | | | | | * Updating contribution to include fork instructions * Fixing urls * Fix urls | |||||
* | docs: additional clarity for getting started + contributing (#1590) | Kassandra Keeton | 2023-03-20 | 1 | -2/+4 | |
| | | | | | | | | | | | | | * additional clarity for getting started + contributing * Apply suggestions from code review Updating formatting (limitation of 79 characters for linting),. Co-authored-by: Ned Batchelder <ned@nedbatchelder.com> --------- Co-authored-by: Ned Batchelder <ned@nedbatchelder.com> | |||||
* | build: Migrate pytest configuration to pyproject.toml. | neiljp (Neil Pilgrim) | 2023-03-20 | 2 | -23/+26 | |
| | ||||||
* | docs: more details, and current output, in contributing.rst | Ned Batchelder | 2023-03-20 | 1 | -43/+78 | |
| | ||||||
* | build: more convenient cheats | Ned Batchelder | 2023-03-16 | 3 | -3/+9 | |
| | ||||||
* | build: more conventional job names for kit.yml | Ned Batchelder | 2023-03-16 | 1 | -3/+3 | |
| | ||||||
* | chore: make upgrade | Ned Batchelder | 2023-03-16 | 9 | -48/+41 | |
| | ||||||
* | build: slightly more release automation | Ned Batchelder | 2023-03-16 | 2 | -1/+13 | |
| | ||||||
* | build: bump version | Ned Batchelder | 2023-03-16 | 2 | -2/+8 | |
| | ||||||
* | docs: sample html for 7.2.27.2.2 | Ned Batchelder | 2023-03-16 | 10 | -37/+37 | |
| | ||||||
* | docs: prep for 7.2.2 | Ned Batchelder | 2023-03-16 | 5 | -11/+13 | |
| | ||||||
* | fix: Remove missing type parameter (#1570) | KotlinIsland | 2023-03-15 | 1 | -1/+5 | |
| | | | | Co-authored-by: KotlinIsland <kotlinisland@users.noreply.github.com> Co-authored-by: Ned Batchelder <ned@nedbatchelder.com> | |||||
* | fix: don't measure all third-party packages if source is in third-party location | Manuel Jacob | 2023-03-15 | 4 | -15/+44 | |
| | | | | | | | | There is logic to not measure third-party packages inside configured sources. However, when a (i.e. another) configured source was inside a third-party location, this logic was previously disabled completely. This caused a problem if a virtual env is set up inside a configured source directory and a configured source package gets installed inside the virtual env. Previously in this case, coverage was measured for all files in the virtual env for the reason described in the previous paragraph. This commit changes the code to collect all configured source directories inside third-party locations and disable coverage for code in third-party locations only if its not in one of these collected source directories. | |||||
* | docs: wrap long lines | Ned Batchelder | 2023-03-15 | 2 | -6/+7 | |
| | ||||||
* | docs: #1573 is fixed, thanks Benjamin Parzella | Ned Batchelder | 2023-03-14 | 2 | -0/+7 | |
| | ||||||
* | fix: generate xml report packages correctly on windows (#1574) | Benjamin Parzella | 2023-03-14 | 2 | -1/+34 | |
| | | | | | | | * fix: generate xml report packages correctly on windows * test: check duplicate package names in xml report * fix: shorten long line in test_xml | |||||
* | build: will this work on fork pr's? | Ned Batchelder | 2023-03-14 | 1 | -2/+2 | |
| | | | | | | | | | | | | | | With .ref, on a PR from a fork, I got: ``` Run actions/dependency-review-action@v3 with: base-ref: master head-ref: xml_duplicate_fix repo-token: *** fail-on-severity: low fail-on-scopes: runtime Error: Bad Request ``` | |||||
* | build: run dependency check on pushes, for more action uniformity | Ned Batchelder | 2023-03-14 | 1 | -1/+11 | |
| | ||||||
* | build: use .in from .in | Ned Batchelder | 2023-03-14 | 6 | -136/+58 | |
| | | | | | | | | | | | | | We build the .pip files on Mac. Some transitive dependencies are different on other OS's, and so would fail there, like this: ``` ERROR: In --require-hashes mode, all requirements must have their versions pinned with ==. These do not: SecretStorage>=3.2 from https://files.pythonhosted.org/packages/54/24/b4293291fa1dd830f353d2cb163295742fa87f179fcc8a20a306a81978b7/SecretStorage-3.3.3-py3-none-any.whl#sha256=f356e6628222568e3af06f2eba8df495efa13b3b63081dafd4f7d9a7b7bc9f99 (from keyring==23.13.1->-r requirements/dev.pip (line 279)) ``` By keeping the .in files self-contained, we provide a way to install without hashes. | |||||
* | chore: make upgrade | Ned Batchelder | 2023-03-14 | 8 | -87/+87 | |
| | ||||||
* | docs: never run pip directly | Ned Batchelder | 2023-03-14 | 4 | -6/+6 | |
| | ||||||
* | docs: changelog for #1583 | Ned Batchelder | 2023-03-14 | 2 | -1/+6 | |
| | ||||||
* | Fix lcov coverage | Ian Moore | 2023-03-14 | 2 | -3/+3 | |
| | ||||||
* | build: make the coverage workflow more similar to the testsuite workflow | Ned Batchelder | 2023-03-12 | 2 | -6/+6 | |
| | ||||||
* | fix: recent pypy3.9 now omits lines after jumps | Ned Batchelder | 2023-03-12 | 2 | -4/+10 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We were seeing these failures in the nightly builds: ``` FAILED tests/test_arcs.py::LoopArcTest::test_continue - AssertionError: Possible arcs differ: minus is expected, plus is actual (-1, 1) # .1 (1, 2) # 12 (1, 5) # 15 (2, 3) # 23 (3, 1) # 31 - (4, 1) # 41 (5, -1) # 5. Missing arcs differ: minus is expected, plus is actual - (4, 1) # 41 + assert False FAILED tests/test_arcs.py::LoopArcTest::test_break - AssertionError: Possible arcs differ: minus is expected, plus is actual (-1, 1) # .1 (1, 2) # 12 (1, 5) # 15 (2, 3) # 23 (3, 5) # 35 - (4, 1) # 41 (5, -1) # 5. Missing arcs differ: minus is expected, plus is actual (1, 5) # 15 - (4, 1) # 41 assert False FAILED tests/test_arcs.py::ExceptionArcTest::test_raise_followed_by_statement - AssertionError: Possible arcs differ: minus is expected, plus is actual (-1, 1) # .1 (1, 2) # 12 (2, 3) # 23 (3, 4) # 34 (4, 6) # 46 - (5, 8) # 58 (6, 7) # 67 (7, 8) # 78 (8, -1) # 8. Missing arcs differ: minus is expected, plus is actual - (5, 8) # 58 + assert False FAILED tests/test_coverage.py::SimpleStatementTest::test_raise_followed_by_statement - AssertionError: [1, 2, 4, 5] != [1, 2, 3, 4, 5] assert [1, 2, 4, 5] == [1, 2, 3, 4, 5] At index 2 diff: 4 != 3 Right contains one more item: 5 Full diff: - [1, 2, 3, 4, 5] ? --- + [1, 2, 4, 5] FAILED tests/test_coverage.py::SimpleStatementTest::test_break - AssertionError: [1, 2, 3, 5] != [1, 2, 3, 4, 5] assert [1, 2, 3, 5] == [1, 2, 3, 4, 5] At index 3 diff: 5 != 4 Right contains one more item: 5 Full diff: - [1, 2, 3, 4, 5] ? --- + [1, 2, 3, 5] FAILED tests/test_coverage.py::SimpleStatementTest::test_continue - AssertionError: [1, 2, 3, 5] != [1, 2, 3, 4, 5] assert [1, 2, 3, 5] == [1, 2, 3, 4, 5] At index 3 diff: 5 != 4 Right contains one more item: 5 Full diff: - [1, 2, 3, 4, 5] ? --- + [1, 2, 3, 5] ``` | |||||
* | debug: label the assert messages | Ned Batchelder | 2023-03-12 | 1 | -2/+2 | |
| | ||||||
* | build: run mypy by default, and fix "unused" errors from updated mypy | Ned Batchelder | 2023-03-07 | 3 | -5/+5 | |
| | ||||||
* | chore: make upgrade | Ned Batchelder | 2023-03-07 | 9 | -523/+506 | |
| | ||||||
* | build: bump version | Ned Batchelder | 2023-02-26 | 2 | -2/+8 | |
| | ||||||
* | docs: sample html for 7.2.17.2.1 | Ned Batchelder | 2023-02-26 | 10 | -37/+37 | |
| | ||||||
* | docs: prep for 7.2.1 | Ned Batchelder | 2023-02-26 | 3 | -9/+11 | |
| | ||||||
* | docs: build steps need to make a release-prep branch sooner | Ned Batchelder | 2023-02-26 | 1 | -1/+2 | |
| | ||||||
* | fix: export our public names for type checking. #1564 | Ned Batchelder | 2023-02-26 | 5 | -9/+31 | |
| | ||||||
* | refactor: remove unneeded pydoc weirdness | Ned Batchelder | 2023-02-25 | 1 | -11/+3 | |
| | ||||||
* | fix: always use full-version rtfd links #1566 | Ned Batchelder | 2023-02-24 | 3 | -7/+10 | |
| | ||||||
* | fix(docs): wrong link syntax | Ned Batchelder | 2023-02-23 | 1 | -1/+1 | |
| | ||||||
* | chore: make upgrade | Ned Batchelder | 2023-02-23 | 9 | -138/+138 | |
| | ||||||
* | build: bump version | Ned Batchelder | 2023-02-22 | 2 | -2/+8 | |
| |