dep_freshness: ruff import order + drop unused test imports
Some checks are pending
dependency freshness / dependencies on newest stable (push) Waiting to run
file length / file-length (push) Waiting to run
md-naming / markdown naming convention (push) Waiting to run
palette drift / palette (push) Waiting to run
shared gate tests / gate unit tests (push) Waiting to run
ts_config tests / test (push) Waiting to run
ts_core tests / test (push) Waiting to run
web_ui tests / test (push) Waiting to run

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
Krzysztof Rudnicki 2026-09-16 22:27:56 +02:00
parent 8cfa96d0ed
commit 8f5cd3c5cd
6 changed files with 9 additions and 11 deletions

View File

@ -7,8 +7,8 @@ module graph owns rather than this repo.
from __future__ import annotations from __future__ import annotations
from pathlib import Path
import re import re
from pathlib import Path
from dep_freshness._tables import GOMOD, TOOLCHAIN from dep_freshness._tables import GOMOD, TOOLCHAIN
from dep_freshness.models import Dep from dep_freshness.models import Dep

View File

@ -8,8 +8,9 @@ reported unpinned rather than guessed at.
from __future__ import annotations from __future__ import annotations
from pathlib import Path
import re import re
from pathlib import Path
import tomllib import tomllib
from dep_freshness._tables import GITTAG, PYPI, TOOLCHAIN from dep_freshness._tables import GITTAG, PYPI, TOOLCHAIN

View File

@ -7,9 +7,9 @@ cannot pin that behaviour down.
from __future__ import annotations from __future__ import annotations
from pathlib import Path
import subprocess import subprocess
import sys import sys
from pathlib import Path
import pytest import pytest

View File

@ -8,17 +8,14 @@ where a gate quietly stops gating, so they are covered deliberately.
from __future__ import annotations from __future__ import annotations
from datetime import date, timedelta from datetime import date, timedelta
import io
from pathlib import Path from pathlib import Path
import subprocess
import pytest import pytest
from dep_freshness import check, discover, report, resolve from dep_freshness import resolve
from dep_freshness.allowlist import _parse_date, load from dep_freshness.allowlist import _parse_date, load
from dep_freshness.models import Dep, Exception_, Finding, Severity from dep_freshness.models import Dep, Exception_
from dep_freshness.registries import cargo, gomod, pub, pypi from dep_freshness.registries import cargo, gomod, pub, pypi
from dep_freshness.registries.http import Offline
from dep_freshness.tests.conftest import write from dep_freshness.tests.conftest import write
from dep_freshness.versions import newest_stable, parse from dep_freshness.versions import newest_stable, parse

View File

@ -7,10 +7,10 @@ git missing, a cleared exception, a malformed expiry, the module entrypoint.
from __future__ import annotations from __future__ import annotations
from datetime import date, timedelta
import io import io
from pathlib import Path
import subprocess import subprocess
from datetime import date, timedelta
from pathlib import Path
import pytest import pytest

View File

@ -7,8 +7,8 @@ forbidden from passing `--no-verify`.
from __future__ import annotations from __future__ import annotations
from pathlib import Path
import time import time
from pathlib import Path
import pytest import pytest