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

Adopt Ruff #1372

Merged
merged 2 commits into from
Aug 15, 2024
Merged

Adopt Ruff #1372

merged 2 commits into from
Aug 15, 2024

Conversation

AA-Turner
Copy link
Member

@AA-Turner AA-Turner commented Aug 14, 2024

I've set target-version = "py312" as that is what we have in CPython, but we could lower this requirement if wanted.

A


📚 Documentation preview 📚: https://cpython-devguide--1372.org.readthedocs.build/

Copy link
Member

@hugovk hugovk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've set target-version = "py312" as that is what we have in CPython, but we could lower this requirement if wanted.

I don't mind much, but some others have asked for lower versions before. We don't gain a lot by requiring a higher version, just the datetime thing at the moment, which isn't too much bother.

.ruff.toml Show resolved Hide resolved
.ruff.toml Show resolved Hide resolved
.pre-commit-config.yaml Outdated Show resolved Hide resolved
.ruff.toml Outdated Show resolved Hide resolved
Co-authored-by: Hugo van Kemenade <[email protected]>
@AA-Turner AA-Turner merged commit 8e00ff2 into python:main Aug 15, 2024
4 checks passed
@AA-Turner AA-Turner deleted the ruff branch August 15, 2024 13:13
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.

3 participants