From d656167cf21b4c77a7f7426eaa5a92b758044e96 Mon Sep 17 00:00:00 2001 From: Qubasa Date: Tue, 8 Jul 2025 12:51:30 +0700 Subject: [PATCH] ruff: Ignore TRY301 'raise-within-try' as there are legitimate reasons to do this --- pkgs/clan-cli/clan_lib/nix_models/clan.py | 3 +++ pyproject.toml | 1 + 2 files changed, 4 insertions(+) diff --git a/pkgs/clan-cli/clan_lib/nix_models/clan.py b/pkgs/clan-cli/clan_lib/nix_models/clan.py index 55278eb4e..b8f0f282f 100644 --- a/pkgs/clan-cli/clan_lib/nix_models/clan.py +++ b/pkgs/clan-cli/clan_lib/nix_models/clan.py @@ -1,6 +1,9 @@ # DO NOT EDIT THIS FILE MANUALLY. IT IS GENERATED. # This file was generated by running `pkgs/clan-cli/clan_lib.inventory/update.sh` # +# ruff: noqa: N815 +# ruff: noqa: N806 +# ruff: noqa: F401 # fmt: off from typing import Any, Literal, NotRequired, TypedDict diff --git a/pyproject.toml b/pyproject.toml index 7c3b24e4b..882531acc 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -49,6 +49,7 @@ lint.ignore = [ # A005 Module `inspect` shadows a Python standard-library module # We might actually want to fix this. "A005", + "TRY301", "ANN401", "TRY400", "E402",