From 7565b2827a3aab4c48276e056e5ef92a632bd849 Mon Sep 17 00:00:00 2001 From: Leandro Lucarella Date: Mon, 2 Dec 2024 10:06:29 +0100 Subject: [PATCH] Apply new repo-config 0.11 templates Signed-off-by: Leandro Lucarella --- .github/dependabot.yml | 8 ++++++++ .github/labeler.yml | 2 +- pyproject.toml | 5 +++++ 3 files changed, 14 insertions(+), 1 deletion(-) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 17b2170..3647195 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -39,3 +39,11 @@ updates: labels: - "part:tooling" - "type:tech-debt" + groups: + compatible: + update-types: + - "minor" + - "patch" + artifacts: + patterns: + - "actions/*-artifact" diff --git a/.github/labeler.yml b/.github/labeler.yml index 80e2e5a..b0c4020 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 edfb294..7828b14 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -138,6 +138,8 @@ disable = [ "unsubscriptable-object", # Checked by mypy "no-member", + "possibly-used-before-assignment", + "no-name-in-module", # Checked by flake8 "f-string-without-interpolation", "redefined-outer-name", @@ -148,11 +150,14 @@ disable = [ "unnecessary-lambda-assignment", # Checked by mypy "no-member", + "possibly-used-before-assignment", + "no-name-in-module", ] [tool.pytest.ini_options] testpaths = ["tests", "src"] asyncio_mode = "auto" +asyncio_default_fixture_loop_scope = "function" required_plugins = ["pytest-asyncio", "pytest-mock"] [tool.mypy]