diff --git a/.github/labeler.yml b/.github/labeler.yml index dc449d9b..461c2ec4 100644 --- a/.github/labeler.yml +++ b/.github/labeler.yml @@ -25,7 +25,7 @@ # - changed-files: # - any-glob-to-any-file: # - "src/**/*.py" -# - all-glob-to-all-file: +# - all-globs-to-all-files: # - "!src/__init__.py" # # Please have in mind that that the part:xxx labels need to diff --git a/pyproject.toml b/pyproject.toml index c60e8b83..d61fa9a8 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -5,7 +5,7 @@ requires = [ "setuptools == 68.1.0", "setuptools_scm[toml] == 8.1.0", - "frequenz-repo-config[lib] == 0.9.1", + "frequenz-repo-config[lib] == 0.11.0", ] build-backend = "setuptools.build_meta" @@ -66,10 +66,10 @@ dev-mkdocs = [ "mkdocs-gen-files == 0.5.0", "mkdocs-literate-nav == 0.6.1", "mkdocs-macros-plugin == 1.3.7", - "mkdocs-material == 9.5.43", - "mkdocstrings[python] == 0.26.2", + "mkdocs-material == 9.5.47", + "mkdocstrings[python] == 0.27.0", "mkdocstrings-python == 1.12.2", - "frequenz-repo-config[lib] == 0.10.0", + "frequenz-repo-config[lib] == 0.11.0", ] dev-mypy = [ "mypy == 1.13.0", @@ -79,15 +79,15 @@ dev-mypy = [ # For checking the noxfile, docs/ script, and tests "frequenz-client-microgrid[dev-mkdocs,dev-noxfile,dev-pytest]", ] -dev-noxfile = ["nox == 2024.10.9", "frequenz-repo-config[lib] == 0.10.0"] +dev-noxfile = ["nox == 2024.10.9", "frequenz-repo-config[lib] == 0.11.0"] dev-pylint = [ - "pylint == 3.3.1", + "pylint == 3.3.2", # For checking the noxfile, docs/ script, and tests "frequenz-client-microgrid[dev-mkdocs,dev-noxfile,dev-pytest]", ] dev-pytest = [ - "pytest == 8.3.3", - "frequenz-repo-config[extra-lint-examples] == 0.10.0", + "pytest == 8.3.4", + "frequenz-repo-config[extra-lint-examples] == 0.11.0", "pytest-mock == 3.14.0", "pytest-asyncio == 0.24.0", "async-solipsism == 0.7", @@ -148,6 +148,7 @@ disable = [ "unsubscriptable-object", # Checked by mypy "no-member", + "possibly-used-before-assignment", "no-name-in-module", # Checked by flake8 "f-string-without-interpolation", @@ -162,6 +163,7 @@ disable = [ [tool.pytest.ini_options] testpaths = ["tests", "src"] asyncio_mode = "auto" +asyncio_default_fixture_loop_scope = "function" required_plugins = ["pytest-asyncio", "pytest-mock"] [tool.mypy]