Skip to content

[WIP] Introduce ruff checks#296

Draft
LecrisUT wants to merge 10 commits intojnikula:masterfrom
LecrisUT:chore/ruff
Draft

[WIP] Introduce ruff checks#296
LecrisUT wants to merge 10 commits intojnikula:masterfrom
LecrisUT:chore/ruff

Conversation

@LecrisUT
Copy link
Contributor

This requires a lot of consideration on how to configure, and how to avoid a huge PR change

Depends on #295

No longer needed for quite a while now, and the build-system is hatchling not setuptools, so it shouldn't even work properly.

Signed-off-by: Cristian Le <[email protected]>
Primarily needed for tests and docs for downstream packaging, but in practice, there is no reason to be conservative on the sdist size for non-compiled python packages. Only packagers would be using the sdist and they would rather have the source as close to the git archive as possible (and hatchling does that by default)

Signed-off-by: Cristian Le <[email protected]>
Trying to mirror all existing checks into pre-commit.

`mypy` was intentionally left out because it does not work well with dependencies

Signed-off-by: Cristian Le <[email protected]>
These are not yet being used in the CI or Makefile. More design work is needed

Signed-off-by: Cristian Le <[email protected]>
Also convert them to `dependency-groups`

Signed-off-by: Cristian Le <[email protected]>
The upgrades is postponed to use uv.lock instead or pylock.toml if pip learns how to use it

Signed-off-by: Cristian Le <[email protected]>
For now disabling the majority of checks to minimize the impact

Signed-off-by: Cristian Le <[email protected]>
Signed-off-by: Cristian Le <[email protected]>
This was referenced Nov 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant