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

Update Python package ruff to ^0.0.285 #2928

Merged
merged 9 commits into from
Aug 18, 2023
Merged

Update Python package ruff to ^0.0.285 #2928

merged 9 commits into from
Aug 18, 2023

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Aug 18, 2023

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
ruff (source, changelog) ^0.0.275 -> ^0.0.285 age adoption passing confidence

Release Notes

astral-sh/ruff (ruff)

v0.0.285

Compare Source

What's Changed

New rules
Rule changes
Settings
Bug Fixes
Playground
Performance

New Contributors

Full Changelog: astral-sh/ruff@v0.0.284...v0.0.285

v0.0.284

Compare Source

What's Changed

This release fixes a few bugs. Notably, the previous release announced a breaking change where the default target
Python version changed from 3.10 to 3.8 but the change was not applied. Thanks to @​rco-ableton for fixing this in
https://github.com/astral-sh/ruff/pull/6444

Bug Fixes

New Contributors

Full Changelog: astral-sh/ruff@v0.0.283...v0.0.284

v0.0.283

Compare Source

What's Changed

Breaking Changes
Rules
Rule Changes
Bug Fixes
Playground
Other Changes

New Contributors

Full Changelog: astral-sh/ruff@v0.0.282...v0.0.283

v0.0.282

Compare Source

What's Changed

Bug Fixes

New Contributors

Full Changelog: astral-sh/ruff@v0.0.281...v0.0.282

v0.0.281

Compare Source

What's Changed

See the release blog post for more, including detailed descriptions of any newly added rules.

New rules
Rule changes
Settings
Bug Fixes

New Contributors

Full Changelog: astral-sh/ruff@v0.0.280...v0.0.281

v0.0.280

Compare Source

What's Changed

Bug Fixes

Full Changelog: astral-sh/ruff@v0.0.279...v0.0.280

v0.0.279

Compare Source

What's Changed

Rules
Rule changes
Bug Fixes

New Contributors

Full Changelog: astral-sh/ruff@v0.0.278...v0.0.279

v0.0.278

Compare Source

See the release blog post for more, including detailed descriptions of any newly added rules.

What's Changed

Rules
Settings
Bug Fixes

New Contributors

Full Changelog: astral-sh/ruff@v0.0.277...v0.0.278

v0.0.277

Compare Source

What's Changed

Breaking Changes
Rules
Settings
Bug Fixes

Full Changelog: astral-sh/ruff@v0.0.276...v0.0.277

v0.0.276

Compare Source

See the release blog post for more, including detailed descriptions of any newly added rules.

What's Changed

Highlights include: experimental support for linting Jupyter Notebooks.

To opt-in to linting Jupyter Notebook files, add the *.ipynb pattern to your include
setting, like so:

[tool.ruff]

##### Allow Ruff to discover `*.ipynb` files.
include = ["*.py", "*.pyi", "**/pyproject.toml", "*.ipynb"]

This will prompt Ruff to discover Jupyter Notebook files in any specified directories, and lint them
accordingly.

Jupyter Notebook support is currently opt-in and experimental. We'd love your help testing it out.
Have feedback? Run into issues? Let us know!

New Rules
Jupyter
Settings
Bug Fixes

Configuration

📅 Schedule: Branch creation - "before 4am every weekday,every weekend" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot enabled auto-merge August 18, 2023 02:25
renovate-approve[bot]
renovate-approve bot previously approved these changes Aug 18, 2023
@vilkinsons
Copy link
Member

@TimDiekmann While #2927 made it to the queue successfully, this linter update actually produced a few new flags. Linting therefore failed as expected.

renovate-approve[bot]
renovate-approve bot previously approved these changes Aug 18, 2023
TimDiekmann
TimDiekmann previously approved these changes Aug 18, 2023
apps/hash-ai-worker-py/app/_status.py Outdated Show resolved Hide resolved
@renovate
Copy link
Contributor Author

renovate bot commented Aug 18, 2023

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

Warning: custom changes will be lost.

apps/hash-ai-worker-py/pyproject.toml Outdated Show resolved Hide resolved
TimDiekmann
TimDiekmann previously approved these changes Aug 18, 2023
@indietyp
Copy link
Member

indietyp commented Aug 18, 2023

wtf ruff, first it creates an auto-fix to remove the ANN402 annotation, then complains about it in CI. 🤦

I guess has something to do with version discrepancies.

This reverts commit 48c11dd.
@renovate renovate bot added this pull request to the merge queue Aug 18, 2023
Merged via the queue into main with commit 67482bf Aug 18, 2023
29 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/apps > hash* Affects HASH (a `hash-*` app) area/apps area/libs Relates to first-party libraries/crates/packages (area) type/eng > backend Owned by the @backend team
Development

Successfully merging this pull request may close these issues.

None yet

3 participants