Skip to content

Adopt Ruff#1372

Merged
AA-Turner merged 2 commits into
python:mainfrom
AA-Turner:ruff
Aug 15, 2024
Merged

Adopt Ruff#1372
AA-Turner merged 2 commits into
python:mainfrom
AA-Turner:ruff

Conversation

@AA-Turner

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

Copy link
Copy Markdown
Member

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/

Comment thread .ruff.toml

@hugovk hugovk left a comment

Copy link
Copy Markdown
Member

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.

Comment thread .ruff.toml
Comment thread .ruff.toml
Comment thread .pre-commit-config.yaml Outdated
Comment thread .ruff.toml Outdated
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
@AA-Turner AA-Turner merged commit 8e00ff2 into python:main Aug 15, 2024
@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