From c0940d65c0cdbe66cd617dc8aa6f2dfe1f222250 Mon Sep 17 00:00:00 2001 From: James Stevenson Date: Fri, 29 Dec 2023 11:16:59 -0500 Subject: [PATCH] style: update ruff version --- .pre-commit-config.yaml | 2 +- pyproject.toml | 2 +- src/gene/main.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 2b0ba8a9..53c39223 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -8,7 +8,7 @@ repos: - id: trailing-whitespace - id: end-of-file-fixer - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.1.2 + rev: v0.1.9 hooks: - id: ruff - id: ruff-format diff --git a/pyproject.toml b/pyproject.toml index 41c8f7fd..86983546 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -38,7 +38,7 @@ dynamic = ["version"] pg = ["psycopg[binary]"] etl = ["gffutils", "biocommons.seqrepo", "wags-tails>=0.1.1"] test = ["pytest>=6.0", "pytest-cov", "mock", "httpx"] -dev = ["pre-commit", "ruff>=0.1.2"] +dev = ["pre-commit", "ruff>=0.1.9"] docs = [ "sphinx==6.1.3", "sphinx-autodoc-typehints==1.22.0", diff --git a/src/gene/main.py b/src/gene/main.py index e6c87223..6d286d8e 100644 --- a/src/gene/main.py +++ b/src/gene/main.py @@ -135,7 +135,7 @@ def normalize(q: str = Query(..., description=normalize_q_descr)) -> NormalizeSe tags=["Query"], ) def normalize_unmerged( - q: str = Query(..., description=normalize_q_descr) + q: str = Query(..., description=normalize_q_descr), ) -> UnmergedNormalizationService: """Return all individual records associated with a normalized concept.