Henry Schreiner
bbe00a21e3
chore: fix warning on pylint 4 ( #2624 )
...
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com >
2025-10-25 15:35:48 +01:00
f628c9dd23
[pre-commit.ci] pre-commit autoupdate ( #2505 )
...
* [pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.12.3 → v0.12.4](https://github.com/astral-sh/ruff-pre-commit/compare/v0.12.3...v0.12.4 )
- [github.com/pre-commit/mirrors-mypy: v1.16.1 → v1.17.0](https://github.com/pre-commit/mirrors-mypy/compare/v1.16.1...v1.17.0 )
* chore: fix typing issue from match statement
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com >
---------
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com >
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Henry Schreiner <henryschreineriii@gmail.com >
2025-07-23 17:18:48 -04:00
Henry Schreiner and Joe Rickerby
834ea40510
chore: pattern matching ( #2434 )
...
* chore: use match for stringify_setting
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com >
* chore: more match statements
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com >
---------
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com >
Co-authored-by: Joe Rickerby <joerick@mac.com >
2025-07-08 08:59:20 -04:00
Henry Schreiner
708cf1d32b
style: remove from future import annotations
...
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com >
2025-02-28 16:38:15 -05:00
Henry Schreiner and Matthieu Darbois
cc1d977359
feat: support test-groups ( #2063 )
...
* feat: support test-groups
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com >
* refactor: address review comments
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com >
* tests: add a integration test
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com >
* Apply suggestions from code review
Co-authored-by: Matthieu Darbois <mayeut@users.noreply.github.com >
* fix: better error messages based on feedback
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com >
---------
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com >
Co-authored-by: Matthieu Darbois <mayeut@users.noreply.github.com >
2024-11-04 21:25:01 +01:00
f21ff5e84c
[pre-commit.ci] pre-commit autoupdate ( #1914 )
...
* [pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.4.10 → v0.5.0](https://github.com/astral-sh/ruff-pre-commit/compare/v0.4.10...v0.5.0 )
- [github.com/pre-commit/mirrors-mypy: v1.10.0 → v1.10.1](https://github.com/pre-commit/mirrors-mypy/compare/v1.10.0...v1.10.1 )
* style follow suggestion
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com >
---------
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com >
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Henry Schreiner <henryschreineriii@gmail.com >
2024-07-01 22:08:31 -04:00
Henry Schreiner
f34ae7731d
fix(setup.py): look inside if name == main block
...
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com >
2023-09-13 15:45:40 -04:00
mayeut
4b19db8454
chore: drop python 3.7 for cibuildwheel driver
...
This drops python 3.7 for cibuildwheel.
Building python 3.6 / 3.7 packages is still supported.
2023-07-01 14:33:24 +02:00
Henry Schreiner
aff6dd5adc
refactor: tomllib in _compat
...
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com >
2023-04-18 23:29:54 -04:00
Henry Schreiner
c8b037ba3e
chore: use Ruff ( #1405 )
...
chore: use ruff
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com >
2023-01-30 15:53:44 -05:00
Henry Schreiner
7c4bbf8cb3
chore: minor cleanups from reverb ( #1293 )
...
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com >
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com >
2022-10-07 08:47:31 -04:00
mayeut
6d27f05c7c
chore: use from __future__ import annotations
2022-07-19 07:47:45 +02:00
Shantanu and hauntsaninja <>
6d4431306e
chore: use tomllib on Python 3.11 ( #1047 )
...
* Use tomllib on Python 3.11
* delint
Co-authored-by: hauntsaninja <>
2022-04-16 00:00:57 -04:00
Henry Schreiner and Joe Rickerby
d6dc3b7cd9
chore: add PyLint and fix most issues ( #999 )
...
* chore: add PyLint and fix most issues
* fix: minor fixes after first push
* chore: remove reference to old toml lib
* chore: minor options cleanup
* ci: only fail with many pylint issues, annotate in GHA
* refactor: address review
* ci: force nox to report in CI
* refactor: use map instead of if chain
* refactor: simpler shell_with_arch
* refactor: even simpler shell_with_arch
* Restore if...elif...else blocks where guard-style is not intended
Co-authored-by: Joe Rickerby <joerick@mac.com >
2022-02-27 14:16:37 -05:00
e9ef3e9750
fix: open setup.py as utf-8 in get_requires_python_str ( #977 )
...
* open setup.py as utf-8 in get_requires_python_str
fix #976
* update test for UTF-8 setup.py
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: mayeut <mayeut@users.noreply.github.com >
2021-12-30 10:14:16 +01:00
Matthieu Darbois
21df1e576d
fix: minor fixes to get pycharm not to complain too much ( #972 )
2021-12-27 09:26:33 +01:00
pre-commit-ci[bot] and pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
f8bd6a502b
[pre-commit.ci] pre-commit autoupdate ( #950 )
...
* [pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/psf/black: 21.11b1 → 21.12b0](https://github.com/psf/black/compare/21.11b1...21.12b0 )
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2021-12-13 17:23:59 -05:00
Henry Schreiner and Joe Rickerby
f511961b40
chore: adding extra checks, more scoping ( #867 )
...
* chore: adding extra checks, more scoping
* Remove 'manual' pre-commit checks from CI
Co-authored-by: Joe Rickerby <joerick@mac.com >
2021-10-16 21:31:20 -04:00
Henry Schreiner
bf36398572
chore: drop toml, use tomli ( #876 )
...
This is required to get TOML 1.0 support, and lightens our dependencies a bit.
2021-10-15 11:30:16 -04:00
Henry Schreiner
bda76b21cb
style: activate string normalization
2021-05-03 13:12:36 -04:00
Henry Schreiner
178aaea6c7
style: apply black via pre-commit run -a
2021-05-03 13:12:36 -04:00
Henry Schreiner
eb700a164c
feat: requires-python ( #536 )
...
* feat: requires-python
refactor: updating to current proposal
fix: add tests and fix a few issues
docs: Update mostly from @joerick
docs: update README from readthedocs
* refactor: pull out config file reading
* fix: always assume highest Python patch version
* refactor: try new design
* refactor: function and bump MyPy to 0.800
* fix: tighten AST to call only, add docs
* fix: address review points from @joerick
2021-01-31 17:14:15 -05:00