Skip to content

Update ruff to version 0.15.2 and pin in tox.ini - #1219

Closed
Suhail023 wants to merge 1 commit into
PyCalendar:mainfrom
Suhail023:update-ruff-0.15.2
Closed

Suhail023 wants to merge 1 commit into
PyCalendar:mainfrom
Suhail023:update-ruff-0.15.2

Conversation

@Suhail023

Copy link
Copy Markdown

Closes issue

Description

Updated ruff to the latest version (0.15.2) and pinned the version in tox.ini to ensure consistent formatting and linting across all environments.

Changes:

  • Updated pyproject.toml: ruff version from 0.15.0 to 0.15.2
  • Updated .pre-commit-config.yaml: ruff-pre-commit revision from v0.15.0 to v0.15.2
  • Updated tox.ini: pinned ruff version to 0.15.2 (was unpinned)

All files have been formatted and linting checks pass successfully.

Checklist

  • I've added a change log entry to CHANGES.rst.
  • I've added or updated tests if applicable.
  • I've run and ensured all tests pass locally by following Run tests.
  • I've added or edited documentation, both as docstrings to be rendered in the API documentation and narrative documentation, as necessary.

Additional information

  • Verified with ruff format --check . - all 212 files properly formatted
  • Verified with ruff check . - all checks passed
  • This update ensures CI tests will pass with the latest ruff version

@niccokunzmann

niccokunzmann commented Feb 21, 2026 •

Copy link
Copy Markdown
Member

@Suhail023 Thank you for your pull request!
#1218 already solved this.

However, we have a few other RUFF PRs in the making. Would you like to review?

#1217 #1216

I am asking specifically because you found the one in tox.ini - so you had a deeper look at the code base.

@Suhail023 Suhail023 closed this Feb 21, 2026
@Suhail023

Copy link
Copy Markdown
Author

already resolved!

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.

Update code formatter

3 participants