From 1167d6e39e5a7fcc82a0e2d732cb9cc881c3c055 Mon Sep 17 00:00:00 2001 From: "2569718930@qq.com" <2569718930@qq.com> Date: Sat, 2 May 2026 12:32:12 +0800 Subject: [PATCH] Keep lint checks passing after backtest cleanup The backtest script carried stale imports that made ruff fail even though runtime behavior did not depend on them. Removing the unused imports keeps CI lint checks green without changing script logic. Confidence: high Scope-risk: narrow Reversibility: clean Tested: python -m ruff check . Not-tested: full application test suite --- scripts/backtest_metar_calibrated_path.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/scripts/backtest_metar_calibrated_path.py b/scripts/backtest_metar_calibrated_path.py index d388c9a5..e58f17f3 100644 --- a/scripts/backtest_metar_calibrated_path.py +++ b/scripts/backtest_metar_calibrated_path.py @@ -21,12 +21,11 @@ import argparse import csv import json import math -import os import sqlite3 import statistics import sys from dataclasses import dataclass -from datetime import datetime, timedelta +from datetime import datetime from pathlib import Path from typing import Any, Iterable