From a69b739793df0bbee799e801f46546b2982d8bb5 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Tue, 4 Jul 2023 02:52:09 +0000 Subject: [PATCH 1/2] [pre-commit.ci] pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - https://github.com/charliermarsh/ruff-pre-commit → https://github.com/astral-sh/ruff-pre-commit - [github.com/astral-sh/ruff-pre-commit: v0.0.270 → v0.0.276](https://github.com/astral-sh/ruff-pre-commit/compare/v0.0.270...v0.0.276) - [github.com/adamchainz/blacken-docs: 1.13.0 → 1.14.0](https://github.com/adamchainz/blacken-docs/compare/1.13.0...1.14.0) - [github.com/pre-commit/mirrors-mypy: v1.3.0 → v1.4.1](https://github.com/pre-commit/mirrors-mypy/compare/v1.3.0...v1.4.1) --- .pre-commit-config.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index cef8332..6c3526c 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -31,8 +31,8 @@ repos: - id: rst-inline-touching-normal - id: text-unicode-replacement-char - - repo: https://github.com/charliermarsh/ruff-pre-commit - rev: "v0.0.270" + - repo: https://github.com/astral-sh/ruff-pre-commit + rev: "v0.0.276" hooks: - id: ruff args: @@ -45,13 +45,13 @@ repos: additional_dependencies: [toml] - repo: https://github.com/adamchainz/blacken-docs - rev: 1.13.0 + rev: 1.14.0 hooks: - id: blacken-docs additional_dependencies: [black] - repo: https://github.com/pre-commit/mirrors-mypy - rev: "v1.3.0" + rev: "v1.4.1" hooks: - id: mypy args: From 54816767a9670d7dfc634f08281a7670446d6a2b Mon Sep 17 00:00:00 2001 From: Nathaniel Starkman Date: Tue, 4 Jul 2023 19:54:57 +0000 Subject: [PATCH 2/2] ruff ignore FIX002 --- pyproject.toml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index ac01f03..2537446 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -146,6 +146,10 @@ ignore = [ "N802", "PD", "RET505", "RET506", "RET507", + + # (FIX) + "FIX002", # Found comment TODO + # flake8-todo (TD) "TD002", # Missing author in TODO "TD003", # Missing issue link on the line following this TODO