Commit Graph
12 Commits
Author SHA1 Message Date
David Sangrey d00226f9e3 [2186] Additional Documentations 2024-04-05 17:20:05 -04:00
David Sangrey 1690f8f3a9 #2040 Retire iSort
Going to do a handover to black (New Maintainer Preference)
2023-07-26 23:18:18 -04:00
Athanasius 87b48031a0 development: Also exclude .venv/ as that's VSCode default 2022-12-21 12:30:53 +00:00
Athanasius eceaa4f0be pyproject.toml: Fix typoed 'Contributing.md' 2022-10-02 19:46:27 +01:00
Athanasius 80a8a32666 pytest/coverage: Improve the .toml comment about pragma 'inversion' 2022-10-02 12:38:24 +01:00
Athanasius baf62f03fd pytest/coverage: Resolve the "which way around to have pragmas" issue
1. You end up either inverting the sense of a `coverage_conditional_plugin`
  pragma's name (versus what it actually tests), *or* where you put it in
  the code.
2. As the pragmas are only defined in once, in one place, it's better to
  invert the sense there, rather than in *every single use case*.
Then technically any 'other' branch isn't guaranteed to
2022-10-02 12:11:16 +01:00
Athanasius 5efd27a83c tests: Attempt to fix config/ coverage
* Define `darwin` and `linux` *and* "platform known" pragmas.
* Use per-platform pragmas in `config/__init__.py` selection of implementation.
* Attempt, and fail, to use pragma in `config/darwin.py` to ignore it on
  other platforms.
2022-09-30 19:45:12 +01:00
Athanasius 1b0bbb9a56 tests: Improved coverage reporting
* Always report on coverage, if no tests failed.
* Remove `.coveragerc`, in favour of `pyproject.toml`.
* Use `coverage-conditional-plugin`:
  - Two rules added, `sys-platform-win32` and `sys-platform-not-win32`.
  - Those rules used so non-win32 code run on win32 doesn't cause coverage
    to be reported as less than 100%.

There's the assumption that !win32 means Linux, probably.
2022-09-30 19:25:22 +01:00
A_D f160acfe57 add configs for switching platforms 2022-01-26 18:51:49 +02:00
A_D 7135c3be9c Missing newline 2021-04-01 14:45:46 +01:00
A_D dcd142af15 Added configuration for tests 2021-04-01 14:45:45 +01:00
A_D 0be9bb7a6d renamed pyproject.toml, added flake8-isort 2020-08-06 02:21:27 +02:00