From 1c397b5ad9ced5820cdcfa63dfea941bf9dabab6 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 28 Aug 2023 08:51:55 -0700 Subject: [PATCH] build(deps-dev): bump ruff from 0.0.285 to 0.0.286 (#635) * build(deps-dev): bump ruff from 0.0.285 to 0.0.286 Bumps [ruff](https://github.com/astral-sh/ruff) from 0.0.285 to 0.0.286. - [Release notes](https://github.com/astral-sh/ruff/releases) - [Changelog](https://github.com/astral-sh/ruff/blob/main/BREAKING_CHANGES.md) - [Commits](https://github.com/astral-sh/ruff/compare/v0.0.285...v0.0.286) --- updated-dependencies: - dependency-name: ruff dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] * Fix ruff errors --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Joey Vagedes --- edk2toolext/environment/conf_mgmt.py | 2 +- pyproject.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/edk2toolext/environment/conf_mgmt.py b/edk2toolext/environment/conf_mgmt.py index 3254a423..2a406da5 100644 --- a/edk2toolext/environment/conf_mgmt.py +++ b/edk2toolext/environment/conf_mgmt.py @@ -55,7 +55,7 @@ def populate_conf_dir(self, conf_folder_path: str, override_conf: bool, conf_tem templatefiles = [os.path.join("Conf", os.path.splitext(f)[0] + ".template") for f in files] # loop thru each Conf file needed - for x in range(0, len(outfiles)): + for x in range(len(outfiles)): template_file_path = None # find template file given multiple root locations diff --git a/pyproject.toml b/pyproject.toml index 5f83884e..b2929c6b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -39,7 +39,7 @@ issues = "https://github.com/tianocore/edk2-pytool-extensions/issues" [project.optional-dependencies] dev = [ "edk2-pytool-extensions[openssl]", - "ruff == 0.0.285", + "ruff == 0.0.286", "pytest == 7.4.0", "coverage == 7.3.0", "robotframework == 6.1.1",