From be6d22e1c09a7c363979bfe4ccf80790f88e1f3e Mon Sep 17 00:00:00 2001 From: phi Date: Thu, 26 Dec 2024 18:54:10 +0900 Subject: [PATCH] chore: update ruff,pyright --- .pre-commit-config.yaml | 4 ++-- pyproject.toml | 2 +- ruff.toml | 2 -- 3 files changed, 3 insertions(+), 5 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 1512844..4b2e104 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -15,7 +15,7 @@ repos: name: ruff-format args: [--check] repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.7.1 + rev: v0.8.4 - hooks: - id: pyright @@ -25,4 +25,4 @@ repos: args: - "--pythonpath=.venv/bin/python" repo: https://github.com/RobertCraigie/pyright-python - rev: v1.1.382 \ No newline at end of file + rev: v1.1.389 \ No newline at end of file diff --git a/pyproject.toml b/pyproject.toml index 98a4ac6..e8aca45 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -21,7 +21,7 @@ dependencies = [ ] [dependency-groups] dev = [ - "ruff==0.7.1", + "ruff==0.8.4", "poethepoet>=0.27.0", ] diff --git a/ruff.toml b/ruff.toml index 1b99dac..1fd79c2 100644 --- a/ruff.toml +++ b/ruff.toml @@ -38,8 +38,6 @@ ignore = [ "E711", # none-comparison # sqlalchemy "EM101", # raw-string-in-exception "TRY003", # raise-vanilla-args - "ANN101", # missing-type-self - "ANN102", # missing-type-cls "ANN401", # dynamically-typed-expression "FBT002", # boolean-default-value-in-function-definition "PGH003", # blanket-type-ignore