From a02ad0202a1ef7235397d419c0d85832353bb094 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 3 Dec 2024 20:14:39 +0000 Subject: [PATCH 1/2] Update ruff requirement from <0.6 to <0.9 Updates the requirements on [ruff](https://github.com/astral-sh/ruff) to permit the latest version. - [Release notes](https://github.com/astral-sh/ruff/releases) - [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md) - [Commits](https://github.com/astral-sh/ruff/compare/v0.0.18...0.8.1) --- updated-dependencies: - dependency-name: ruff dependency-type: direct:production ... Signed-off-by: dependabot[bot] --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 960522d..0e5ba9a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -31,7 +31,7 @@ dynamic=["version"] [project.optional-dependencies] dev = [ # if you update the ruff version, also update .pre-commit-config.yaml - "ruff < 0.6", + "ruff < 0.9", "pre-commit", ] test = [ From bbbda7a3e53d06746454bbb4cb9bdca0e86f2082 Mon Sep 17 00:00:00 2001 From: Michael Terry Date: Tue, 3 Dec 2024 15:48:16 -0500 Subject: [PATCH 2/2] Ruff fixes --- .pre-commit-config.yaml | 4 ++-- cumulus_library/builders/valueset/umls.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index c5ce6a1..e98e486 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,7 +1,7 @@ default_install_hook_types: [pre-commit, pre-push] repos: - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.5.5 # if you update this, also update pyproject.toml + rev: v0.8.1 # if you update this, also update pyproject.toml hooks: - name: Ruff formatting id: ruff-format @@ -15,4 +15,4 @@ repos: hooks: - id: sqlfluff-lint types: [] - types_or: [sql,jinja] \ No newline at end of file + types_or: [sql,jinja] diff --git a/cumulus_library/builders/valueset/umls.py b/cumulus_library/builders/valueset/umls.py index eab72b9..966452a 100644 --- a/cumulus_library/builders/valueset/umls.py +++ b/cumulus_library/builders/valueset/umls.py @@ -98,4 +98,4 @@ def generate_umls_tables( WHERE v.code = r.code AND v.sab=r.sab --AND v.tty=r.tty -""") +""") # noqa: S608