Skip to content

Commit 1b46751

Browse files
authored
Bump pylint from 2.17.5 to 3.0.3 (#866)
Bumps [pylint](https://github.com/pylint-dev/pylint) from 2.17.5 to 3.0.3. <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/pylint-dev/pylint/commit/1a5ffc1f447b77071ffe18a9c6836c09147ee2ed"><code>1a5ffc1</code></a> Bump pylint to 3.0.3, update changelog</li> <li><a href="https://github.com/pylint-dev/pylint/commit/54687e75b6fb4147e58f1c3204eea6cd915a472b"><code>54687e7</code></a> Disallow isort 5.13.0 (<a href="https://redirect.github.com/pylint-dev/pylint/issues/9290">#9290</a>) (<a href="https://redirect.github.com/pylint-dev/pylint/issues/9292">#9292</a>)</li> <li><a href="https://github.com/pylint-dev/pylint/commit/fea5483f2861df71ff5f60d3f6300c2fc93ef21a"><code>fea5483</code></a> [wrong-exception-operation] Fix FP for tuple concatenation of exception types...</li> <li><a href="https://github.com/pylint-dev/pylint/commit/d0d5c91e26c80933bfc13b36a0428d3a0c593cc0"><code>d0d5c91</code></a> [pointless-string-statement] Ignore docstrings on py3.12 type aliases (<a href="https://redirect.github.com/pylint-dev/pylint/issues/9269">#9269</a>)...</li> <li><a href="https://github.com/pylint-dev/pylint/commit/81f0f2ed02c2e79f6a44c324d47574cf271f9590"><code>81f0f2e</code></a> [Backport maintenance/3.0.x] [bugfix] Find files with ./ as input with a __in...</li> <li><a href="https://github.com/pylint-dev/pylint/commit/7f01d837385c4505eda1777f7b9c2693c9b305b1"><code>7f01d83</code></a> Fix doc generation in implicit-str-concat</li> <li><a href="https://github.com/pylint-dev/pylint/commit/a60ddd1a44dc00721163f8390d034d2e1385791f"><code>a60ddd1</code></a> Fix incorrect suggestion for unnecessary-comprehension (<a href="https://redirect.github.com/pylint-dev/pylint/issues/9172">#9172</a>) (<a href="https://redirect.github.com/pylint-dev/pylint/issues/9242">#9242</a>)</li> <li><a href="https://github.com/pylint-dev/pylint/commit/dc11223e95783bdbf337baea7c2a141e1897d06c"><code>dc11223</code></a> [todos] Fix the todos version and the warnings' text (<a href="https://redirect.github.com/pylint-dev/pylint/issues/9202">#9202</a>) (<a href="https://redirect.github.com/pylint-dev/pylint/issues/9204">#9204</a>)</li> <li><a href="https://github.com/pylint-dev/pylint/commit/0273db7fb4b77c882e40cd766c61a56a0cb2b8e2"><code>0273db7</code></a> Fix false positive for <code>unnecessary-lambda</code>. (<a href="https://redirect.github.com/pylint-dev/pylint/issues/9149">#9149</a>) (<a href="https://redirect.github.com/pylint-dev/pylint/issues/9200">#9200</a>)</li> <li><a href="https://github.com/pylint-dev/pylint/commit/53d4541eb52c3f249df8740e5508171a57be31ea"><code>53d4541</code></a> Fix <code>undefined-variable</code> etc for Python 3.12 generic type syntax (<a href="https://redirect.github.com/pylint-dev/pylint/issues/9195">#9195</a>) (<a href="https://redirect.github.com/pylint-dev/pylint/issues/9199">#9199</a>)</li> <li>Additional commits viewable in <a href="https://github.com/pylint-dev/pylint/compare/v2.17.5...v3.0.3">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=pylint&package-manager=pip&previous-version=2.17.5&new-version=3.0.3)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) 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-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore <dependency name> major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself) - `@dependabot ignore <dependency name> minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself) - `@dependabot ignore <dependency name>` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself) - `@dependabot unignore <dependency name>` will remove all of the ignore conditions of the specified dependency - `@dependabot unignore <dependency name> <ignore condition>` will remove the ignore condition of the specified dependency and ignore conditions </details>
2 parents 2a031be + 73b61a4 commit 1b46751

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ dev-mypy = [
8686
]
8787
dev-noxfile = ["nox == 2023.4.22", "frequenz-repo-config[lib] == 0.7.4"]
8888
dev-pylint = [
89-
"pylint == 2.17.5",
89+
"pylint == 3.0.3",
9090
# For checking the noxfile, docs/ script, and tests
9191
"frequenz-sdk[dev-mkdocs,dev-noxfile,dev-pytest]",
9292
]

src/frequenz/sdk/actor/power_distributing/power_distributing.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ class PowerDistributingActor(Actor):
4949
printed.
5050
"""
5151

52-
def __init__(
52+
def __init__( # pylint: disable=too-many-arguments
5353
self,
5454
requests_receiver: Receiver[Request],
5555
results_sender: Sender[Result],

tests/timeseries/_battery_pool/test_battery_pool_control_methods.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -148,15 +148,16 @@ async def _init_data_for_inverters(self, mocks: Mocks) -> None:
148148
0.05,
149149
)
150150

151-
def _assert_report(
151+
def _assert_report( # pylint: disable=too-many-arguments
152152
self,
153153
report: BatteryPoolReport,
154154
*,
155155
power: float | None,
156156
lower: float,
157157
upper: float,
158-
expected_result_pred: typing.Callable[[power_distributing.Result], bool]
159-
| None = None,
158+
expected_result_pred: (
159+
typing.Callable[[power_distributing.Result], bool] | None
160+
) = None,
160161
) -> None:
161162
assert report.target_power == (
162163
Power.from_watts(power) if power is not None else None

0 commit comments

Comments
 (0)