Skip to content

Commit fbe09b0

Browse files
authored
Bump the patch group across 1 directory with 3 updates (#478)
Bumps the patch group with 3 updates in the / directory: [pylint](https://github.com/pylint-dev/pylint), [flake8-pyproject](https://github.com/john-hen/Flake8-pyproject) and [setuptools-scm[toml]](https://github.com/pypa/setuptools-scm). Updates `pylint` from 4.0.0 to 4.0.4 <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/pylint-dev/pylint/commit/e16f942166511d6fb4427e503a734152fae0c4fe"><code>e16f942</code></a> Bump pylint to 4.0.4, update changelog</li> <li><a href="https://github.com/pylint-dev/pylint/commit/657b386c0a83202faa95c9a525b8feb80a4c11ab"><code>657b386</code></a> [Backport maintenance/4.0.x] [invalid-name] Fix FP for exclusive assignment o...</li> <li><a href="https://github.com/pylint-dev/pylint/commit/03f8a922a2eabe5b517457807cc992e122dcc9c0"><code>03f8a92</code></a> [Backport maintenance/4.0.x] fix: avoid false positive when module-level name...</li> <li><a href="https://github.com/pylint-dev/pylint/commit/84b6552b86e210097ac29de7ef64b152efb4a454"><code>84b6552</code></a> Bump pylint to 4.0.3, update changelog (<a href="https://redirect.github.com/pylint-dev/pylint/issues/10741">#10741</a>)</li> <li><a href="https://github.com/pylint-dev/pylint/commit/77b0cd8c0e40eb563ab96067be6bdb3e9e266f1e"><code>77b0cd8</code></a> [Backport maintenance/4.0.x] fix(expand_modules): pass ignore_list to modutil...</li> <li><a href="https://github.com/pylint-dev/pylint/commit/755f2d0327809a5b358b99ad7fc67a7a5a2faad0"><code>755f2d0</code></a> [Backport maintenance/4.0.x] Upgrade astroid to 4.0.2 (<a href="https://redirect.github.com/pylint-dev/pylint/issues/10733">#10733</a>)</li> <li><a href="https://github.com/pylint-dev/pylint/commit/c96a9e4d232abcfa1d7f449839b68337816305e9"><code>c96a9e4</code></a> [Backport maintenance/4.0.x] Fix crash when a variable annotation is used as ...</li> <li><a href="https://github.com/pylint-dev/pylint/commit/108191ebbcd9dc8fa9e3fb71c83fd247d2f6ccd1"><code>108191e</code></a> [Backport maintenance/4.0.x] Fix a false positive for class attribute typed w...</li> <li><a href="https://github.com/pylint-dev/pylint/commit/0ed81725382db48ac0061c96c1948f42fe75f85d"><code>0ed8172</code></a> [Backport maintenance/4.0.x] Fix crash when a <code>slice</code> object is called (<a href="https://redirect.github.com/pylint-dev/pylint/issues/10728">#10728</a>)</li> <li><a href="https://github.com/pylint-dev/pylint/commit/b128b7d909bf541b2978d84bfe5ed4f4d67210e5"><code>b128b7d</code></a> [Backport maintenance/4.0.x] Fix a false positive for ``unbalanced-tuple-unpa...</li> <li>Additional commits viewable in <a href="https://github.com/pylint-dev/pylint/compare/v4.0.0...v4.0.4">compare view</a></li> </ul> </details> <br /> Updates `flake8-pyproject` from 1.2.3 to 1.2.4 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/john-hen/Flake8-pyproject/releases">flake8-pyproject's releases</a>.</em></p> <blockquote> <h2>1.2.4</h2> <ul> <li>Fixes typo in name of meta variable in <code>--toml-config</code> help message. (<a href="https://redirect.github.com/john-hen/Flake8-pyproject/issues/21">#21</a>)</li> <li>Registers GitHub repo as trusted publisher for PyPI releases. (<a href="https://redirect.github.com/john-hen/Flake8-pyproject/issues/38">#38</a>)</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/john-hen/Flake8-pyproject/commit/3c516a9319beee324f9a200dfb4e08677de4a63f"><code>3c516a9</code></a> Bumped version to 1.2.4.</li> <li><a href="https://github.com/john-hen/Flake8-pyproject/commit/df70f19558f784eb0cb7988440735d56f53f3cae"><code>df70f19</code></a> Added GitHub workflow for releases on PyPI.</li> <li><a href="https://github.com/john-hen/Flake8-pyproject/commit/d46e99c695149cd860a918c354de0d1d89166b7e"><code>d46e99c</code></a> Only run scheduled test weekly instead of nightly.</li> <li><a href="https://github.com/john-hen/Flake8-pyproject/commit/da0b9ed7d586490aff8503e38f2d481c1706bdee"><code>da0b9ed</code></a> Added link to GitHub releases as a project URL.</li> <li><a href="https://github.com/john-hen/Flake8-pyproject/commit/8e4b87fbe7291687f41b11180c8b3ae486ac538e"><code>8e4b87f</code></a> Cosmetic changes to code format of dev tools in <code>tools</code> folder.</li> <li><a href="https://github.com/john-hen/Flake8-pyproject/commit/4227bd4a987b66a9ab46f0b4e04b098e388598e7"><code>4227bd4</code></a> Use longer names for dev tools in <code>tools</code> folder.</li> <li><a href="https://github.com/john-hen/Flake8-pyproject/commit/3866f48fbcd63231622f54e848268273605be1a8"><code>3866f48</code></a> Mention early on that we need to be called in <code>pyproject.toml</code> folder.</li> <li><a href="https://github.com/john-hen/Flake8-pyproject/commit/40bf63915dabd85a53a7d06c24232a3b278c4b25"><code>40bf639</code></a> Removed configuration and documentation of pre-commit hook.</li> <li><a href="https://github.com/john-hen/Flake8-pyproject/commit/9df7abb5a4b1b25f032c7d3f06fd3f074424c471"><code>9df7abb</code></a> Bump actions/checkout from 5 to 6 in the github-actions group</li> <li><a href="https://github.com/john-hen/Flake8-pyproject/commit/2c230622c7e81e3f2f6cd632272c92fd6bdda83b"><code>2c23062</code></a> Fixed reporting of code coverage.</li> <li>Additional commits viewable in <a href="https://github.com/john-hen/Flake8-pyproject/compare/1.2.3...1.2.4">compare view</a></li> </ul> </details> <br /> Updates `setuptools-scm[toml]` from 9.2.0 to 9.2.2 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/pypa/setuptools-scm/releases">setuptools-scm[toml]'s releases</a>.</em></p> <blockquote> <h2>v9.2.2</h2> <!-- raw HTML omitted --> <h2>What's Changed</h2> <ul> <li>fix: don't warn about tool.setuptools.dynamic.version when only using file finder by <a href="https://github.com/RonnyPfannschmidt"><code>@​RonnyPfannschmidt</code></a> in <a href="https://redirect.github.com/pypa/setuptools-scm/pull/1232">pypa/setuptools-scm#1232</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/pypa/setuptools-scm/compare/v9.2.1...v9.2.2">https://github.com/pypa/setuptools-scm/compare/v9.2.1...v9.2.2</a></p> <h2>v9.2.1</h2> <!-- raw HTML omitted --> <h2>What's Changed</h2> <ul> <li>Mark recently yanked versions in changelog by <a href="https://github.com/seifertm"><code>@​seifertm</code></a> in <a href="https://redirect.github.com/pypa/setuptools-scm/pull/1209">pypa/setuptools-scm#1209</a></li> <li>Fix 1216 explicitly deprecate setuptools dynamic version when active by <a href="https://github.com/RonnyPfannschmidt"><code>@​RonnyPfannschmidt</code></a> in <a href="https://redirect.github.com/pypa/setuptools-scm/pull/1219">pypa/setuptools-scm#1219</a></li> <li>prepare Release v9.2.1 by <a href="https://github.com/RonnyPfannschmidt"><code>@​RonnyPfannschmidt</code></a> in <a href="https://redirect.github.com/pypa/setuptools-scm/pull/1226">pypa/setuptools-scm#1226</a></li> </ul> <h2>New Contributors</h2> <ul> <li><a href="https://github.com/seifertm"><code>@​seifertm</code></a> made their first contribution in <a href="https://redirect.github.com/pypa/setuptools-scm/pull/1209">pypa/setuptools-scm#1209</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/pypa/setuptools-scm/compare/v9.2.0...v9.2.1">https://github.com/pypa/setuptools-scm/compare/v9.2.0...v9.2.1</a></p> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/pypa/setuptools-scm/blob/main/CHANGELOG.md">setuptools-scm[toml]'s changelog</a>.</em></p> <blockquote> <h2>v9.2.2</h2> <h3>Fixed</h3> <ul> <li>fix <a href="https://redirect.github.com/pypa/setuptools-scm/issues/1231">#1231</a>: don't warn about <code>tool.setuptools.dynamic.version</code> when only using file finder. The warning about combining version guessing with setuptools dynamic versions should only be issued when setuptools-scm is performing version inference, not when it's only being used for its file finder functionality.</li> </ul> <h2>v9.2.1</h2> <h3>Fixed</h3> <ul> <li>fix <a href="https://redirect.github.com/pypa/setuptools-scm/issues/1216">#1216</a>: accept and create a warning for usages of <code>version = attr:</code> in setuptools config. unfortunately dozens of projects cargo-culted that antipattern</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/pypa/setuptools-scm/commit/e56b78fcd4c1e79aa36c1e4700fca34c8ff540fe"><code>e56b78f</code></a> Merge pull request <a href="https://redirect.github.com/pypa/setuptools-scm/issues/1232">#1232</a> from RonnyPfannschmidt/fix-1231-dont-warn-when-no-guess</li> <li><a href="https://github.com/pypa/setuptools-scm/commit/4f55e9585e398e13103112a6fd488109d9da4ead"><code>4f55e95</code></a> docs: update changelog for v9.2.2 patch release</li> <li><a href="https://github.com/pypa/setuptools-scm/commit/95a0c47553ea0b373238bb64aa344b2c2547c849"><code>95a0c47</code></a> fix: don't warn about tool.setuptools.dynamic.version when only using file fi...</li> <li><a href="https://github.com/pypa/setuptools-scm/commit/338f562e6a38f8d32fd5aeb4677b3f87fc5a0122"><code>338f562</code></a> Merge pull request <a href="https://redirect.github.com/pypa/setuptools-scm/issues/1226">#1226</a> from RonnyPfannschmidt/prepare-release</li> <li><a href="https://github.com/pypa/setuptools-scm/commit/a893634c36a074052ed3f6d0e77b076b582c72ab"><code>a893634</code></a> Prepare release v9.2.1</li> <li><a href="https://github.com/pypa/setuptools-scm/commit/ad83282242e96fe11c958227740ee03a7a2ed0fe"><code>ad83282</code></a> Merge pull request <a href="https://redirect.github.com/pypa/setuptools-scm/issues/1225">#1225</a> from pypa/pre-commit-ci-update-config</li> <li><a href="https://github.com/pypa/setuptools-scm/commit/20a44648f299f64b1241a448bdbafde9b1871ebf"><code>20a4464</code></a> [pre-commit.ci] pre-commit autoupdate</li> <li><a href="https://github.com/pypa/setuptools-scm/commit/70f69429c40f8c8d3c4e0eec2d8b4a6794671c88"><code>70f6942</code></a> Merge pull request <a href="https://redirect.github.com/pypa/setuptools-scm/issues/1219">#1219</a> from RonnyPfannschmidt/fix-1216-explicitly-deprecate...</li> <li><a href="https://github.com/pypa/setuptools-scm/commit/14d85c0fb8fa9efd1ec4bac3413f48aea0e319f5"><code>14d85c0</code></a> Install Mercurial on Windows runners via Chocolatey</li> <li><a href="https://github.com/pypa/setuptools-scm/commit/8c5cec917123e4cc87b490f56b6e7af27a3b0399"><code>8c5cec9</code></a> Fix API stability check workflow to install griffe and improve reporting</li> <li>Additional commits viewable in <a href="https://github.com/pypa/setuptools-scm/compare/v9.2.0...v9.2.2">compare view</a></li> </ul> </details> <br /> 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 53f93ba + 8e2e9c0 commit fbe09b0

File tree

2 files changed

+14
-14
lines changed

2 files changed

+14
-14
lines changed

pyproject.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# Copyright © 2023 Frequenz Energy-as-a-Service GmbH
33

44
[build-system]
5-
requires = ["setuptools == 80.9.0", "setuptools_scm[toml] == 9.2.0"]
5+
requires = ["setuptools == 80.9.0", "setuptools_scm[toml] == 9.2.2"]
66
build-backend = "setuptools.build_meta"
77

88
[project]
@@ -70,7 +70,7 @@ extra-lint-examples = [
7070
dev-flake8 = [
7171
"flake8 == 7.3.0",
7272
"flake8-docstrings == 1.7.0",
73-
"flake8-pyproject == 1.2.3", # For reading the flake8 config from pyproject.toml
73+
"flake8-pyproject == 1.2.4", # For reading the flake8 config from pyproject.toml
7474
"pydoclint == 0.7.3",
7575
"pydocstyle == 6.3.0",
7676
]
@@ -105,7 +105,7 @@ dev-pylint = [
105105
]
106106
dev-pytest = [
107107
"pytest == 8.4.2",
108-
"pylint == 4.0.0", # We need this to check for the examples
108+
"pylint == 4.0.4", # We need this to check for the examples
109109
"cookiecutter == 2.6.0", # For checking the cookiecutter scripts
110110
"jinja2 == 3.1.6", # For checking the cookiecutter scripts
111111
"sybil >= 6.1.1, < 10", # Should be consistent with the extra-lint-examples dependency

src/frequenz/repo/config/nox/config.py

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ def path_args(
147147
return list(str(p) for p in _util.existing_paths(paths))
148148

149149

150-
_config: Config | None = None
150+
_CONFIG: Config | None = None
151151
"""The global configuration object."""
152152

153153

@@ -159,8 +159,8 @@ def get() -> Config:
159159
Returns:
160160
The global configuration object.
161161
"""
162-
assert _config is not None, "You must call configure() before using this function"
163-
return _config
162+
assert _CONFIG is not None, "You must call configure() before using this function"
163+
return _CONFIG
164164

165165

166166
@overload
@@ -204,7 +204,7 @@ def configure(
204204
This is only necessary if you want to avoid using the default provided
205205
sessions and use your own.
206206
"""
207-
global _config # pylint: disable=global-statement
207+
global _CONFIG # pylint: disable=global-statement
208208

209209
# We need to make sure sessions are imported, otherwise they won't be visible to nox.
210210
if import_default_sessions:
@@ -213,23 +213,23 @@ def configure(
213213

214214
match conf:
215215
case Config():
216-
_config = conf
216+
_CONFIG = conf
217217
case RepositoryType() as repo_type:
218218
# pylint: disable=import-outside-toplevel,cyclic-import
219219
from . import default
220220

221221
match repo_type:
222222
case RepositoryType.ACTOR:
223-
_config = default.actor_config
223+
_CONFIG = default.actor_config
224224
case RepositoryType.API:
225-
_config = default.api_config
225+
_CONFIG = default.api_config
226226
case RepositoryType.APP:
227-
_config = default.app_config
227+
_CONFIG = default.app_config
228228
case RepositoryType.LIB:
229-
_config = default.lib_config
229+
_CONFIG = default.lib_config
230230
case RepositoryType.MODEL:
231-
_config = default.model_config
231+
_CONFIG = default.model_config
232232
case _ as unhandled:
233233
assert_never(unhandled)
234234

235-
_nox.options.sessions = _config.sessions
235+
_nox.options.sessions = _CONFIG.sessions

0 commit comments

Comments
 (0)