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

ruff 0.8.2 #200187

Merged
merged 2 commits into from
Dec 5, 2024
Merged

ruff 0.8.2 #200187

merged 2 commits into from
Dec 5, 2024

Conversation

BrewTestBot
Copy link
Member

Created by brew bump


Created with brew bump-formula-pr.

release notes
## Release Notes

Preview features

  • [airflow] Avoid deprecated values (AIR302) (#14582)
  • [airflow] Extend removed names for AIR302 (#14734)
  • [ruff] Extend unnecessary-regular-expression to non-literal strings (RUF055) (#14679)
  • [ruff] Implement used-dummy-variable (RUF052) (#14611)
  • [ruff] Implement unnecessary-cast-to-int (RUF046) (#14697)

Rule changes

  • [airflow] Check AIR001 from builtin or providers operators module (#14631)
  • [flake8-pytest-style] Remove @ in pytest.mark.parametrize rule messages (#14770)
  • [pandas-vet] Skip rules if the panda module hasn't been seen (#14671)
  • [pylint] Fix false negatives for ascii and sorted in len-as-condition (PLC1802) (#14692)
  • [refurb] Guard hashlib imports and mark hashlib-digest-hex fix as safe (FURB181) (#14694)

Configuration

  • [flake8-import-conventions] Improve syntax check for aliases supplied in configuration for unconventional-import-alias (ICN001) (#14745)

Bug fixes

  • Revert: [pyflakes] Avoid false positives in @no_type_check contexts (F821, F722) (#14615) (#14726)
  • [pep8-naming] Avoid false positive for class Bar(type(foo)) (N804) (#14683)
  • [pycodestyle] Handle f-strings properly for invalid-escape-sequence (W605) (#14748)
  • [pylint] Ignore @overload in PLR0904 (#14730)
  • [refurb] Handle non-finite decimals in verbose-decimal-constructor (FURB157) (#14596)
  • [ruff] Avoid emitting assignment-in-assert when all references to the assigned variable are themselves inside asserts (RUF018) (#14661)

Documentation

  • Improve docs for flake8-use-pathlib rules (#14741)
  • Improve error messages and docs for flake8-comprehensions rules (#14729)
  • [flake8-type-checking] Expands TC006 docs to better explain itself (#14749)

Contributors

Install ruff 0.8.2

Install prebuilt binaries via shell script

curl --proto '=https' --tlsv1.2 -LsSf https://github.com/astral-sh/ruff/releases/download/0.8.2/ruff-installer.sh | sh

Install prebuilt binaries via powershell script

powershell -ExecutionPolicy ByPass -c "irm https://github.com/astral-sh/ruff/releases/download/0.8.2/ruff-installer.ps1 | iex"

Download ruff 0.8.2

File Platform Checksum
ruff-aarch64-apple-darwin.tar.gz Apple Silicon macOS checksum
ruff-x86_64-apple-darwin.tar.gz Intel macOS checksum
ruff-aarch64-pc-windows-msvc.zip ARM64 Windows checksum
ruff-i686-pc-windows-msvc.zip x86 Windows checksum
ruff-x86_64-pc-windows-msvc.zip x64 Windows checksum
ruff-aarch64-unknown-linux-gnu.tar.gz ARM64 Linux checksum
ruff-i686-unknown-linux-gnu.tar.gz x86 Linux checksum
ruff-powerpc64-unknown-linux-gnu.tar.gz PPC64 Linux checksum
ruff-powerpc64le-unknown-linux-gnu.tar.gz PPC64LE Linux checksum
ruff-s390x-unknown-linux-gnu.tar.gz S390x Linux checksum
ruff-x86_64-unknown-linux-gnu.tar.gz x64 Linux checksum
ruff-armv7-unknown-linux-gnueabihf.tar.gz ARMv7 Linux checksum
ruff-aarch64-unknown-linux-musl.tar.gz ARM64 MUSL Linux checksum
ruff-i686-unknown-linux-musl.tar.gz x86 MUSL Linux checksum
ruff-x86_64-unknown-linux-musl.tar.gz x64 MUSL Linux checksum
ruff-arm-unknown-linux-musleabihf.tar.gz ARMv6 MUSL Linux (Hardfloat) checksum
ruff-armv7-unknown-linux-musleabihf.tar.gz ARMv7 MUSL Linux checksum

@github-actions github-actions bot added rust Rust use is a significant feature of the PR or issue bump-formula-pr PR was created using `brew bump-formula-pr` labels Dec 5, 2024
Copy link
Contributor

github-actions bot commented Dec 5, 2024

🤖 An automated task has requested bottles to be published to this PR.

@github-actions github-actions bot added the CI-published-bottle-commits The commits for the built bottles have been pushed to the PR branch. label Dec 5, 2024
@BrewTestBot BrewTestBot enabled auto-merge December 5, 2024 14:43
@BrewTestBot BrewTestBot added this pull request to the merge queue Dec 5, 2024
Merged via the queue into master with commit de116fa Dec 5, 2024
15 checks passed
@BrewTestBot BrewTestBot deleted the bump-ruff-0.8.2 branch December 5, 2024 14:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bump-formula-pr PR was created using `brew bump-formula-pr` CI-published-bottle-commits The commits for the built bottles have been pushed to the PR branch. rust Rust use is a significant feature of the PR or issue
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants