-
Notifications
You must be signed in to change notification settings - Fork 37
Update to the latest ruff version #166
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
Conversation
@jaraco Note that this change might format code slightly differently downstream. From the 0.9.0 Release Notes:
|
… version 7.2.0 Anderson Bravalheri (3): Add `--fix` flag to ruff pre-commit hook for automatic suggestion of fixes (jaraco/skeleton#140) Bump pre-commit hook for ruff to avoid clashes with pytest-ruff (jaraco/skeleton#150) Fix new mandatory configuration field for RTD (jaraco/skeleton#159) Avasam (6): Add Protocols, remove @overload, from `.coveragerc` `exclude_also` (jaraco/skeleton#135) Loosen restrictions on mypy (jaraco/skeleton#136) Fix an incompatibility (and source of merge conflicts) with projects using Ruff/isort. Select Ruff rules for modern type annotations (jaraco/skeleton#160) Consistent import sorting (isort) (jaraco/skeleton#157) remove extra spaces in ruff.toml (jaraco/skeleton#164) Dimitri Papadopoulos Orfanos (3): Update to the latest ruff version (jaraco/skeleton#137) Enable ruff rules ISC001/ISC002 (jaraco/skeleton#158) Update to the latest ruff version (jaraco/skeleton#166) Jason R. Coombs (25): Split the test dependencies into four classes (test, cover, type, check). (jaraco/skeleton#139) Add upstream and local sections for 'type' extra, since many projects will have 'types-*' dependencies. 🧎♀️ Genuflect to the types. 🧎♀️ Genuflect to the types. Disable mypy for now. Ref jaraco/skeleton#143 Move overload-overlap disablement to its own line for easier diffs and simpler relevant comments. Add a degenerate nitpick_ignore for downstream consumers. Add a 'local' comment to delineate where the skeleton ends and the downstream begins. Add support for linking usernames. Include the trailing slash in disable_error_code(overload-overlap), also required for clean diffs. Remove workaround for sphinx-contrib/sphinx-lint#83 Allow the workflow to be triggered manually. Add Python 3.13 and 3.14 into the matrix. (jaraco/skeleton#146) Add Python 3.13 and 3.14 into the matrix. (jaraco/skeleton#151) Include pyproject.toml in ruff.toml. Require Python 3.9 or later now that Python 3.8 is EOL. Use extend for proper workaround. 👹 Feed the hobgoblins (delint). Bump badge for 2025. Removing dependabot config. Closes jaraco/skeleton#156 Add support for building lxml on pre-release Pythons. Remove pycodestyle warnings, no longer meaningful when using ruff formatter. 👹 Feed the hobgoblins (delint). cpython-v3.14.0a5 rev=3c289d5d1b73 cpython-main rev=72e5b25efb58 Finalize
Thanks for the heads-up. Since most workflows don't pin any particular ruff version, the version indicated in pre-commit is just a trailing version - developers and CI run at head. |
…version 79.0.0 Anderson Bravalheri (1): Remove deprecated license classifier (PEP 639) (jaraco/skeleton#170) Avasam (1): remove extra spaces in ruff.toml (jaraco/skeleton#164) Dimitri Papadopoulos Orfanos (2): Enable ruff rules ISC001/ISC002 (jaraco/skeleton#158) Update to the latest ruff version (jaraco/skeleton#166) Hugo van Kemenade (1): Fix typo: pyproject.license -> project.license Jason R. Coombs (11): Remove pycodestyle warnings, no longer meaningful when using ruff formatter. Remove workaround and update badge. Remove PIP_NO_PYTHON_VERSION_WARNING. Extract _resolve_download_filename with test. Add a check to ensure the name resolves relative to the tmpdir. Extract _sanitize method for sanitizing the filename. Rely on re.sub to perform the decision in one expression. Add news fragment. Bump version: 78.1.0 → 78.1.1 Removed support for the 'legacy-editable' feature. Bump version: 78.1.1 → 79.0.0
See #137 (comment) from August 2024 and possibly #150 from October 2024.