Commit graph

15 commits

Author SHA1 Message Date
ItsDrike 9922734472
coverage: Disable fail_under (code-base specific)
Some checks are pending
CI / validation (push) Waiting to run
CI / unit-tests (push) Waiting to run
CI / Produce Pull Request payload artifact (push) Waiting to run
2024-07-13 13:38:29 +02:00
ItsDrike 800c63cfc6
ruff: Enable implicit namespace pkgs in .github/scripts
Some checks are pending
CI / validation (push) Waiting to run
CI / unit-tests (push) Waiting to run
CI / Produce Pull Request payload artifact (push) Waiting to run
2024-07-13 13:30:11 +02:00
ItsDrike 93f9dc3b20
ruff: Enable flake8-boolean-trap
Some checks are pending
CI / validation (push) Waiting to run
CI / unit-tests (push) Waiting to run
CI / Produce Pull Request payload artifact (push) Waiting to run
2024-07-13 13:26:45 +02:00
ItsDrike 2c54f8b123
Fix typo in comment
Some checks are pending
CI / validation (push) Waiting to run
CI / unit-tests (push) Waiting to run
CI / Produce Pull Request payload artifact (push) Waiting to run
2024-07-13 13:08:49 +02:00
ItsDrike 97f7f5da2a
Move to a much stricter pyright configuration
Some checks are pending
CI / validation (push) Waiting to run
CI / unit-tests (push) Waiting to run
CI / Produce Pull Request payload artifact (push) Waiting to run
This moves us from using the "standard" type-checking mode (which has a
lot of the diagnostic rules disabled, which meant we were almost in a
whitelist-based system, where most diagnostic rules were disabled unless
explicitly enabled) to "all" (where all diagnotic rules are enabled,
except for those explicitly disabled, moving us to a blacklist-based
system).

The current configuration here is very strict and might not fit all
code-bases, but it will work very well for new projects, as this
strictness, while slightly annoying sometimes, forces a lot better and
more correct typing to the previous set of rules.

This template still leaves the rules for reporting unknown types
disabled, as these are incredibly strict and while they can definitely
be beneficial, for most people it's too big of an annoyance for what
it's worth.
2024-07-13 13:01:45 +02:00
ItsDrike 0855c6fbb3
basedpyright: Treat warnings as errors 2024-07-13 12:59:17 +02:00
ItsDrike 824d6273a6
Switch to basedpyright
Some checks failed
CI / validation (push) Has been cancelled
CI / unit-tests (push) Has been cancelled
CI / Produce Pull Request payload artifact (push) Has been cancelled
2024-07-10 17:30:22 +02:00
ItsDrike 04ca4a486d
Enable flake-type-checking 2024-06-30 22:52:36 +02:00
ItsDrike 7c95528c6a
Add typing-extensions dependency 2024-06-30 22:52:27 +02:00
ItsDrike 80d42cd68c
Ignore TRY003 2024-06-30 22:49:13 +02:00
ItsDrike 8cb7ad48bc
Add poe commands 2024-06-30 22:42:27 +02:00
ItsDrike 5a167c358e
Add pytest & coverage settings 2024-06-30 22:35:17 +02:00
ItsDrike 7b6c577485
ruff: Move to blacklist, enable all plugins by default 2024-06-28 16:18:15 +02:00
ItsDrike 25c975d9e5
Remove some lint rule ignores 2024-04-25 20:01:48 +02:00
ItsDrike d66a4b9fa5
Initial commit 2024-04-25 19:46:36 +02:00