Go to file Use this template
ItsDrike 97f7f5da2a
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
Move to a much stricter pyright configuration
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
.github basedpyright: Treat warnings as errors 2024-07-13 12:59:17 +02:00
src Add py.typed file 2024-06-30 22:23:58 +02:00
tests Add internal src/ dir in tests/ 2024-06-30 23:03:44 +02:00
.editorconfig Add editorconfig file 2024-06-30 21:39:24 +02:00
.gitattributes update crlf rant 2024-06-30 21:57:57 +02:00
.gitignore Update gitignore 2024-06-30 21:56:17 +02:00
.pre-commit-config.yml basedpyright: Treat warnings as errors 2024-07-13 12:59:17 +02:00
ATTRIBUTION.md Add attribution & license-third-party files 2024-06-30 23:03:22 +02:00
LICENSE-THIRD-PARTY.txt Add attribution & license-third-party files 2024-06-30 23:03:22 +02:00
LICENSE.txt Initial commit 2024-04-25 19:46:36 +02:00
poetry.lock Switch to basedpyright 2024-07-10 17:30:22 +02:00
pyproject.toml Move to a much stricter pyright configuration 2024-07-13 13:01:45 +02:00
README.md Initial commit 2024-04-25 19:46:36 +02:00
SECURITY.md Add security policy 2024-06-30 21:33:02 +02:00

Python template

This is a simple template repository that I can use as a reference, or a base for any new python projects.