Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Simplify ruff usage and tighten version constraint #26

Merged
merged 2 commits into from
May 2, 2024

Conversation

ekilmer
Copy link
Contributor

@ekilmer ekilmer commented May 2, 2024

After this change, $(ALL_PY_SRCS) is only used in the edit Makefile target

Let ruff choose which files to look at. This can also be configured with
pyproject.toml entries following the docs
https://docs.astral.sh/ruff/configuration/
Currently the versioning scheme for ruff includes breaking changes on
minor version updates and compatible changes with patch version updates.

Linting tools are often used in CI as a first pass, and pulling in a new
version with changes that find new issues can cause headaches. Pulling
in breaking changes and updates should be done carefully with manual
version bump.
@ekilmer ekilmer marked this pull request as ready for review May 2, 2024 21:01
@ekilmer ekilmer requested a review from woodruffw May 2, 2024 21:01
@woodruffw woodruffw merged commit e224c54 into main May 2, 2024
4 checks passed
@woodruffw woodruffw deleted the ekilmer/simplify branch May 2, 2024 21:24
@woodruffw
Copy link
Member

After this change, $(ALL_PY_SRCS) is only used in the edit Makefile target

TBH, I'd be okay with deleting the edit target entirely. I don't think anyone uses it.

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.

2 participants