mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-22 07:08:36 +00:00
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:
@@ -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(
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user