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 dependency ruff to v0.1.8 #888

Merged
merged 1 commit into from
Dec 14, 2023
Merged

⬆️ Update dependency ruff to v0.1.8 #888

merged 1 commit into from
Dec 14, 2023

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Dec 13, 2023

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
ruff (source, changelog) 0.1.7 -> 0.1.8 age adoption passing confidence

Release Notes

astral-sh/ruff (ruff)

v0.1.8

Compare Source

This release includes opt-in support for formatting Python snippets within
docstrings via the docstring-code-format setting.
Check out the blog post for more details!

Preview features
  • Add "preserve" quote-style to mimic Black's skip-string-normalization (#​8822)
  • Implement prefer_splitting_right_hand_side_of_assignments preview style (#​8943)
  • [pycodestyle] Add fix for unexpected-spaces-around-keyword-parameter-equals (#​9072)
  • [pycodestyle] Add fix for comment-related whitespace rules (#​9075)
  • [pycodestyle] Allow sys.path modifications between imports (#​9047)
  • [refurb] Implement hashlib-digest-hex (FURB181) (#​9077)
Rule changes
  • Allow flake8-type-checking rules to automatically quote runtime-evaluated references (#​6001)
  • Allow transparent cell magics in Jupyter Notebooks (#​8911)
  • [flake8-annotations] Avoid ANN2xx fixes for abstract methods with empty bodies (#​9034)
  • [flake8-self] Ignore underscore references in type annotations (#​9036)
  • [pep8-naming] Allow class names when apps.get_model is a non-string (#​9065)
  • [pycodestyle] Allow matplotlib.use calls to intersperse imports (#​9094)
  • [pyflakes] Support fixing unused assignments in tuples by renaming variables (F841) (#​9107)
  • [pylint] Add fix for subprocess-run-without-check (PLW1510) (#​6708)
Formatter
  • Add docstring-code-format knob to enable docstring snippet formatting (#​8854)
  • Use double quotes for all docstrings, including single-quoted docstrings (#​9020)
  • Implement "dynamic" line width mode for docstring code formatting (#​9098)
  • Support reformatting Markdown code blocks (#​9030)
  • add support for formatting reStructuredText code snippets (#​9003)
  • Avoid trailing comma for single-argument with positional separator (#​9076)
  • Fix handling of trailing target comment (#​9051)
CLI
  • Hide unsafe fix suggestions when explicitly disabled (#​9095)
  • Add SARIF support to --output-format (#​9078)
Bug fixes
  • Apply unnecessary index rule prior to enumerate rewrite (#​9012)
  • [flake8-err-msg] Allow EM fixes even if msg variable is defined (#​9059)
  • [flake8-pie] Prevent keyword arguments duplication (#​8450)
  • [flake8-pie] Respect trailing comma in unnecessary-dict-kwargs (PIE804) (#​9015)
  • [flake8-raise] Avoid removing parentheses on ctypes.WinError (#​9027)
  • [isort] Avoid invalid combination of force-sort-within-types and lines-between-types (#​9041)
  • [isort] Ensure that from-style imports are always ordered first in __future__ (#​9039)
  • [pycodestyle] Allow tab indentation before keyword (#​9099)
  • [pylint] Ignore @overrides and @overloads for too-many-positional (#​9000)
  • [pyupgrade] Enable printf-string-formatting fix with comments on right-hand side (#​9037)
  • [refurb] Make math-constant (FURB152) rule more targeted (#​9054)
  • [refurb] Support floating-point base in redundant-log-base (FURB163) (#​9100)
  • [ruff] Detect unused-asyncio-dangling-task (RUF006) on unused assignments (#​9060)

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), 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.


  • 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 added dependencies Upgrade or downgrade of project dependencies. no-stale This issue or PR is exempted from the stable bot. python Pull requests that update Python code labels Dec 13, 2023
Copy link

codecov bot commented Dec 13, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (2acca5c) 100.00% compared to head (35d0d68) 100.00%.

Additional details and impacted files
@@            Coverage Diff            @@
##              main      #888   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            9         9           
  Lines          316       316           
  Branches        26        26           
=========================================
  Hits           316       316           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link

sonarcloud bot commented Dec 13, 2023

Quality Gate Passed Quality Gate passed

Kudos, no new issues were introduced!

0 New issues
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarCloud

@frenck frenck merged commit ab59dbb into main Dec 14, 2023
29 checks passed
@frenck frenck deleted the renovate/ruff-0.x branch December 14, 2023 05:51
@github-actions github-actions bot locked and limited conversation to collaborators Dec 15, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
dependencies Upgrade or downgrade of project dependencies. no-stale This issue or PR is exempted from the stable bot. python Pull requests that update Python code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant