Skip to content

Simple ruff setup#2574

Draft
ulgens wants to merge 3 commits intomerenlab:masterfrom
ulgens:simple-ruff
Draft

Simple ruff setup#2574
ulgens wants to merge 3 commits intomerenlab:masterfrom
ulgens:simple-ruff

Conversation

@ulgens
Copy link
Copy Markdown
Contributor

@ulgens ulgens commented Apr 24, 2026

Built on https://github.com/j178/prek

The config I use as starting point for similar setups can be found here: https://github.com/ulgens/python-anything/blob/162a15b286ea85d7baf9195eeb0fc37f595d589d/.pre-commit-config.yaml

To keep the PR small, I added a single hook with no violations.

Depends on:

ulgens added 3 commits April 24, 2026 20:53
Built on https://github.com/j178/prek

The config I use as starting point for similar setups can be found here: https://github.com/ulgens/python-anything/blob/162a15b286ea85d7baf9195eeb0fc37f595d589d/.pre-commit-config.yaml

To keep the PR small, I added a single hook with no violations.
Enables UP009 as it doesn't affect the ownership info for the remaining files.

https://docs.astral.sh/ruff/rules/utf8-encoding-declaration/

The goal is to introduce a modern lint setup.
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