sir-lancebot
sir-lancebot copied to clipboard
Bump ruff from 0.5.2 to 0.6.3
Bumps ruff from 0.5.2 to 0.6.3.
Release notes
Sourced from ruff's releases.
0.6.3
Release Notes
Preview features
- [
flake8-simplify] Extendopen-file-with-context-handlerto work withdbm.sqlite3(SIM115) (#13104)- [
pycodestyle] DisableE741in stub files (.pyi) (#13119)- [
pydoclint] AvoidDOC201on explicit returns in functions that only returnNone(#13064)Rule changes
- [
flake8-async] Disable check forasynciobefore Python 3.11 (ASYNC109) (#13023)Bug fixes
- [
FastAPI] Avoid introducing invalid syntax in fix forfast-api-non-annotated-dependency(FAST002) (#13133)- [
flake8-implicit-str-concat] Normalize octals before merging concatenated strings insingle-line-implicit-string-concatenation(ISC001) (#13118)- [
flake8-pytest-style] Improve help message forpytest-incorrect-mark-parentheses-style(PT023) (#13092)- [
pylint] Avoid autofix for calls that aren'tminormaxas starred expression (PLW3301) (#13089)- [
ruff] Adddatetime.time,datetime.tzinfo, anddatetime.timezoneas immutable function calls (RUF009) (#13109)- [
ruff] Extend comment deletion forRUF100to include trailing text fromnoqadirectives while preserving any following comments on the same line, if any (#13105)- Fix dark theme on initial page load for the Ruff playground (#13077)
Contributors
@AlexWaygood@JonathanPlasse@MichaReiser@N-Wouda@PalAditya@arkuhn@calumy@carljm@chriskrycho@dhruvmanila@diceroll123@dylwil3@renovate@teofr@tjkuson@vdweesInstall ruff 0.6.3
Install prebuilt binaries via shell script
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/astral-sh/ruff/releases/download/0.6.3/ruff-installer.sh | shInstall prebuilt binaries via powershell script
... (truncated)
Changelog
Sourced from ruff's changelog.
0.6.3
Preview features
- [
flake8-simplify] Extendopen-file-with-context-handlerto work withdbm.sqlite3(SIM115) (#13104)- [
pycodestyle] DisableE741in stub files (.pyi) (#13119)- [
pydoclint] AvoidDOC201on explicit returns in functions that only returnNone(#13064)Rule changes
- [
flake8-async] Disable check forasynciobefore Python 3.11 (ASYNC109) (#13023)Bug fixes
- [
FastAPI] Avoid introducing invalid syntax in fix forfast-api-non-annotated-dependency(FAST002) (#13133)- [
flake8-implicit-str-concat] Normalize octals before merging concatenated strings insingle-line-implicit-string-concatenation(ISC001) (#13118)- [
flake8-pytest-style] Improve help message forpytest-incorrect-mark-parentheses-style(PT023) (#13092)- [
pylint] Avoid autofix for calls that aren'tminormaxas starred expression (PLW3301) (#13089)- [
ruff] Adddatetime.time,datetime.tzinfo, anddatetime.timezoneas immutable function calls (RUF009) (#13109)- [
ruff] Extend comment deletion forRUF100to include trailing text fromnoqadirectives while preserving any following comments on the same line, if any (#13105)- Fix dark theme on initial page load for the Ruff playground (#13077)
0.6.2
Preview features
- [
flake8-simplify] Extendopen-file-with-context-handlerto work with other standard-library IO modules (SIM115) (#12959)- [
ruff] Avoidunused-asyncfor functions with FastAPI route decorator (RUF029) (#12938)- [
ruff] Ignorefstring-missing-syntax(RUF027) forfastAPIpaths (#12939)- [
ruff] Implement check for Decimal called with a float literal (RUF032) (#12909)Rule changes
- [
flake8-bugbear] Update diagnostic message when expression is at the end of function (B015) (#12944)- [
flake8-pyi] Skip type annotations instring-or-bytes-too-long(PYI053) (#13002)- [
flake8-type-checking] Always recognise relative imports as first-party (#12994)- [
flake8-unused-arguments] Ignore unused arguments on stub functions (ARG001) (#12966)- [
pylint] Ignore augmented assignment forself-cls-assignment(PLW0642) (#12957)Server
- Show full context in error log messages (#13029)
Bug fixes
- [
pep8-naming] Don't flagfromimports following conventional import names (N817) (#12946)- [
pylint] - Allow__new__methods to haveclsas their first argument even if decorated with@staticmethodforbad-staticmethod-argument(PLW0211) (#12958)Documentation
... (truncated)
Commits
ee258caBump version to 0.6.3 (#13152)b4d9d26Update faq.md to highlight changes to src (#13145)a998320[ruff] - extend comment deletions for unused-noqa (RUF100) (#13105)770ef2a[red-knot] support deferred evaluation of type expressions (#13131)c6023c0[red-knot] Add docs on usingRAYON_NUM_THREADSfor better logging (#13140)df694ca[FastAPI] Avoid introducing invalid syntax in fix for `fast-api-non-annotat...2e75cfbFormatPYIexamples in docs as.pyi-file snippets (#13116)cfafaa7[red-knot] Remove very noisy tracing call when resolvingImportFromstateme...3e9c7adReplace crates by dependi for VS Code Dev Container (#13125)81cd438red-knot: infer and display ellipsis type (#13124)- 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)