homeassistant-elasticsearch
homeassistant-elasticsearch copied to clipboard
Bump ruff from 0.3.7 to 0.4.2
Bumps ruff from 0.3.7 to 0.4.2.
Release notes
Sourced from ruff's releases.
v0.4.2
Changes
Rule changes
- [
flake8-pyi] Allow for overloaded__exit__and__aexit__definitions (PYI036) (#11057)- [
pyupgrade] Catch usages of"%s" % varand provide an unsafe fix (UP031) (#11019)- [
refurb] Implement new rule that suggests min/max oversorted()(FURB192) (#10868)Server
- Fix an issue with missing diagnostics for Neovim and Helix (#11092)
- Implement hover documentation for
noqacodes (#11096)- Introduce common Ruff configuration options with new server settings (#11062)
Bug fixes
- Use
macos-12for building release wheels to enable macOS 11 compatibility (#11146)- [
flake8-blind-expect] Allow raise from inBLE001(#11131)- [
flake8-pyi] Allow simple assignments toNonein enum class scopes (PYI026) (#11128)- [
flake8-simplify] Avoid raisingSIM911for non-zipattribute calls (#11126)- [
refurb] Avoidoperator.itemgettersuggestion for single-item tuple (#11095)- [
ruff] Respect per-file-ignores forRUF100with no other diagnostics (#11058)- [
ruff] Fix async comprehension false positive (RUF029) (#11070)Documentation
- [
flake8-bugbear] Document explicitly disabling strict zip (B905) (#11040)- [
flake8-type-checking] Mentionlint.typing-modulesinTCH001,TCH002, andTCH003(#11144)- [
isort] Improve documentation around customisortsections (#11050)- [
pylint] Fix documentation oversight forinvalid-X-returns(#11094)Performance
- Use
matchitto resolve per-file settings (#11111)Contributors
... (truncated)
Changelog
Sourced from ruff's changelog.
0.4.2
Rule changes
- [
flake8-pyi] Allow for overloaded__exit__and__aexit__definitions (PYI036) (#11057)- [
pyupgrade] Catch usages of"%s" % varand provide an unsafe fix (UP031) (#11019)- [
refurb] Implement new rule that suggests min/max oversorted()(FURB192) (#10868)Server
- Fix an issue with missing diagnostics for Neovim and Helix (#11092)
- Implement hover documentation for
noqacodes (#11096)- Introduce common Ruff configuration options with new server settings (#11062)
Bug fixes
- Use
macos-12for building release wheels to enable macOS 11 compatibility (#11146)- [
flake8-blind-expect] Allow raise from inBLE001(#11131)- [
flake8-pyi] Allow simple assignments toNonein enum class scopes (PYI026) (#11128)- [
flake8-simplify] Avoid raisingSIM911for non-zipattribute calls (#11126)- [
refurb] Avoidoperator.itemgettersuggestion for single-item tuple (#11095)- [
ruff] Respect per-file-ignores forRUF100with no other diagnostics (#11058)- [
ruff] Fix async comprehension false positive (RUF029) (#11070)Documentation
- [
flake8-bugbear] Document explicitly disabling strict zip (B905) (#11040)- [
flake8-type-checking] Mentionlint.typing-modulesinTCH001,TCH002, andTCH003(#11144)- [
isort] Improve documentation around customisortsections (#11050)- [
pylint] Fix documentation oversight forinvalid-X-returns(#11094)Performance
- Use
matchitto resolve per-file settings (#11111)0.4.1
Preview features
- [
pylint] Implementinvalid-hash-returned(PLE0309) (#10961)- [
pylint] Implementinvalid-index-returned(PLE0305) (#10962)Bug fixes
- [
pylint] AllowNoReturn-like functions for__str__,__len__, etc. (PLE0307) (#11017)- Parser: Use empty range when there's "gap" in token source (#11032)
- [
ruff] Ignore stub functions inunused-async(RUF029) (#11026)- Parser: Expect indented case block instead of match stmt (#11033)
0.4.0
... (truncated)
Commits
77c93fdBump version to 0.4.2 (#11151)1c9f5e3Display the AST even with syntax errors (#11147)263a0d2Usemacos-12to build release wheels (#11146)4738e19Remove unused lexical error types (#11145)f428bd5Docs: mentionlint.typing-modulesinTCH001,TCH002,TCH003(#11144)4690890ruff server: In 'publish diagnostics' mode, document diagnostics are cleare...19baabbREADME: add Apache Superset to project list (#11136)cee38f3[flake8-blind-expect] Allow raise from inBLE001(#11131)e3fde28[flake8-pyi] Allow overloaded__exit__and__aexit__definitions (`PYI0...1c8849fUse Matchit to Resolve Per-File Settings (#11111)- 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)
Coverage Report
File Stmts Miss Cover Missing __init__.py 0 0 100% elasticsearch __init__.py 112 6 94% 119, 155–156, 176–177, 271 config_flow.py 222 20 90% 165, 198, 328, 365, 379, 438–439, 450–452, 466–467, 471, 510, 516, 556, 631, 640, 674–675 const.py 34 0 100% entity_details.py 33 0 100% errors.py 28 3 89% 51, 60, 67 es_doc_creator.py 193 1 99% 322 es_doc_publisher.py 268 40 85% 69–70, 140–141, 180, 183, 186, 191, 208–209, 227–230, 234, 249–250, 266–267, 271, 296, 300, 394, 414, 456, 470, 481, 484, 512–513, 515–516, 518–519, 523–525, 544, 546, 552 es_gateway.py 144 20 86% 94–95, 114, 133–135, 137, 139–140, 142–143, 146–148, 153–154, 158–160, 253 es_index_manager.py 123 11 91% 43, 74, 79, 242–243, 260–261, 266–267, 296–297 es_integration.py 35 2 94% 45–46 es_privilege_check.py 60 0 100% es_serializer.py 10 1 90% 17 es_version.py 30 0 100% logger.py 2 0 100% system_info.py 25 1 96% 37 utils.py 4 0 100% TOTAL 1323 105 92%
| Tests | Skipped | Failures | Errors | Time |
|---|---|---|---|---|
| 222 | 0 :zzz: | 0 :x: | 0 :fire: | 11.715s :stopwatch: |
@dependabot rebase
Looks like this PR has been edited by someone other than Dependabot. That means Dependabot can't rebase it - sorry!
If you're happy for Dependabot to recreate it from scratch, overwriting any edits, you can request @dependabot recreate.
@dependabot recreate
Superseded by #303.