⬆️ Update dependency ruff to v0.0.276#721
Merged
renovate[bot] merged 1 commit intomainfrom Jul 4, 2023
Merged
Conversation
|
Kudos, SonarCloud Quality Gate passed! |
Codecov Report
@@ Coverage Diff @@
## main #721 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 3 3
Lines 96 96
Branches 15 15
=========================================
Hits 96 96 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.








This PR contains the following updates:
0.0.275->0.0.276Release Notes
astral-sh/ruff (ruff)
v0.0.276Compare 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
*.ipynbpattern to yourincludesetting, like so:
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
flake8-pyi] ImplementPYI002,PYI003,PYI004,PYI005by @density in https://github.com/astral-sh/ruff/pull/5457numpy] Implementnumpy-deprecated-function(NPY003) by @charliermarsh in https://github.com/astral-sh/ruff/pull/5468perflint] Implementunnecessary-list-cast(PERF101) by @qdegraaf in https://github.com/astral-sh/ruff/pull/5121perflint] Implementtry-except-in-loop(PERF203) by @evanrittenhouse in https://github.com/astral-sh/ruff/pull/5166perflint] Implementmanual-list-comprehension(PERF401) andmanual-list-copy(PERF402) rules by @qdegraaf in https://github.com/astral-sh/ruff/pull/5298pylint] Implement Pylintsingle-string-used-for-slots(C0205) assingle-string-slots(PLC0205) by @tjkuson in https://github.com/astral-sh/ruff/pull/5399Jupyter
--show-source) by @dhruvmanila in https://github.com/astral-sh/ruff/pull/5402--show-source) (#5402) by @dhruvmanila in https://github.com/astral-sh/ruff/pull/5414Settings
pyupgrade] Restore thekeep-runtime-typingsetting by @charliermarsh in https://github.com/astral-sh/ruff/pull/5470PythonVersion::Py312by @charliermarsh in https://github.com/astral-sh/ruff/pull/5316Bug Fixes
pydantic.BaseSettingsinmutable-class-defaultby @charliermarsh in https://github.com/astral-sh/ruff/pull/5312__slots__assignments inmutable-class-defaultby @charliermarsh in https://github.com/astral-sh/ruff/pull/5314iteration-over-setby @charliermarsh in https://github.com/astral-sh/ruff/pull/5392unnecessary-encode-utf8to fixencodeon parenthesized strings correctly by @harupy in https://github.com/astral-sh/ruff/pull/5478Finalassignments in stubs by @charliermarsh in https://github.com/astral-sh/ruff/pull/5490abcdecorators when classifying function types by @charliermarsh in https://github.com/astral-sh/ruff/pull/5315@Authorformat for "Missing Author" rule inflake8-todosby @mayrholu in https://github.com/astral-sh/ruff/pull/4903invalid-escape-sequencerule by @charliermarsh in https://github.com/astral-sh/ruff/pull/5359flake8-django] Skip duplicate violations inDJ012by @charliermarsh in https://github.com/astral-sh/ruff/pull/5469New Contributors
Full Changelog: astral-sh/ruff@v0.0.275...v0.0.276
Configuration
📅 Schedule: Branch creation - "before 2am" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.