ruff: remove unused noqa

Most of them are actually correct, but they're not enforced in general on the repo, so using them blocks us from flagging `unused-noqa` for rules that we actually do use.
This commit is contained in:
Andrej730
2026-08-10 16:06:30 +05:00
parent 321760cea4
commit daa7d98b3f
19 changed files with 35 additions and 50 deletions
+2 -3
View File
@@ -1,5 +1,6 @@
# This file was generated with the assistance of an AI coding tool.
import argparse
import importlib.util
from ifcmcp import __version__
@@ -27,9 +28,7 @@ def main():
args = parser.parse_args()
try:
from mcp.server.fastmcp import FastMCP # noqa: F401
except ImportError:
if importlib.util.find_spec("mcp.server.fastmcp") is None:
import sys
print(
+1 -1
View File
@@ -3,7 +3,7 @@ from __future__ import annotations
# inside ifcmcp/core.py
import json
from collections.abc import Callable # noqa: F401 — Callable used in helpers below
from collections.abc import Callable
from dataclasses import dataclass
from typing import Any