sir-lancebot
sir-lancebot copied to clipboard
Bump ruff from 0.2.1 to 0.3.1
Bumps ruff from 0.2.1 to 0.3.1.
Release notes
Sourced from ruff's releases.
v0.3.1
Changes
Preview features
- [
pycodestyle] Fix E301 not triggering on decorated methods. (#10117)- [
pycodestyle] Respectisortsettings in blank line rules (E3*) (#10096)- [
pycodestyle] Make blank lines in typing stub files optional (E3*) (#10098)- [
pylint] Implementsingledispatch-method(E1519) (#10140)- [
pylint] Implementuseless-exception-statement(W0133) (#10176)Rule changes
- [
flake8-debugger] Check for use ofdebugpyandptvsddebug modules (#10177) (#10194)- [
pyupgrade] Generate diagnostic for all valid f-string conversions regardless of line length (UP032) (#10238)- [
pep8_naming] Add fixes forN804andN805(#10215)CLI
- Colorize the output of
ruff format --diff(#10110)- Make
--configand--isolatedglobal flags (#10150)- Correctly expand tildes and environment variables in paths passed to
--config(#10219)Configuration
- Accept a PEP 440 version specifier for
required-version(#10216)- Implement isort's
default-sectionsetting (#10149)Bug fixes
- Remove trailing space from
CapWordsmessage (#10220)- Respect external codes in file-level exemptions (#10203)
- [
flake8-raise] Avoid false-positives for parens-on-raise withfuture.exception()(RSE102) (#10206)- [
pylint] Add fix for unary expressions inPLC2801(#9587)- [
ruff] Fix RUF028 not allowing# fmt: skipon match cases (#10178)Contributors
... (truncated)
Changelog
Sourced from ruff's changelog.
0.3.1
Preview features
- [
pycodestyle] Fix E301 not triggering on decorated methods. (#10117)- [
pycodestyle] Respectisortsettings in blank line rules (E3*) (#10096)- [
pycodestyle] Make blank lines in typing stub files optional (E3*) (#10098)- [
pylint] Implementsingledispatch-method(E1519) (#10140)- [
pylint] Implementuseless-exception-statement(W0133) (#10176)Rule changes
- [
flake8-debugger] Check for use ofdebugpyandptvsddebug modules (#10177) (#10194)- [
pyupgrade] Generate diagnostic for all valid f-string conversions regardless of line length (UP032) (#10238)- [
pep8_naming] Add fixes forN804andN805(#10215)CLI
- Colorize the output of
ruff format --diff(#10110)- Make
--configand--isolatedglobal flags (#10150)- Correctly expand tildes and environment variables in paths passed to
--config(#10219)Configuration
- Accept a PEP 440 version specifier for
required-version(#10216)- Implement isort's
default-sectionsetting (#10149)Bug fixes
- Remove trailing space from
CapWordsmessage (#10220)- Respect external codes in file-level exemptions (#10203)
- [
flake8-raise] Avoid false-positives for parens-on-raise withfuture.exception()(RSE102) (#10206)- [
pylint] Add fix for unary expressions inPLC2801(#9587)- [
ruff] Fix RUF028 not allowing# fmt: skipon match cases (#10178)0.3.0
This release introduces the new Ruff formatter 2024.2 style and adds a new lint rule to detect invalid formatter suppression comments.
Preview features
- [
flake8-bandit] Remove suspicious-lxml-import (S410) (#10154)- [
pycodestyle] Allowos.environmodifications between imports (E402) (#10066)- [
pycodestyle] Don't warn about a single whitespace character before a comma in a tuple (E203) (#10094)Rule changes
... (truncated)
Commits
b9264a5Set maturin version inrelease.yaml(#10257)ea79f61Bump version to v0.3.1 (#10252)f999b1bTweakE712docs (#8613)fe6afbeFixruff-actiondocumentation to consistently useargsinstead of `option...cbd927fMake rule PT012 example clearer (#10248)6159a8e[pyupgrade] Generate diagnostic for all valid f-string conversions regardle...8ea5b08refactor: UseQualifiedNameforImported::call_path(#10214)4c05c25Add encoding when opening files in generate_mkdocs.py (#10244)af6ea2f[pycodestyle]: Make blank lines in typing stub files optional (E3*) (#10098)46ab9de[pycodestyle] Respectisortsettings in blank line rules (E3*) (#10096)- Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)