Sourcing python-remove-tests-dir-hook Sourcing python-catch-conflicts-hook.sh Sourcing python-remove-bin-bytecode-hook.sh Sourcing pypa-build-hook Using pypaBuildPhase Sourcing python-runtime-deps-check-hook Using pythonRuntimeDepsCheckHook Sourcing pypa-install-hook Using pypaInstallPhase Sourcing python-imports-check-hook.sh Using pythonImportsCheckPhase Sourcing python-namespaces-hook Sourcing python-catch-conflicts-hook.sh Sourcing pytest-check-hook Using pytestCheckPhase Running phase: unpackPhase unpacking source archive /nix/store/icf3p2ink2d4372ifw1gzc6j70h93rma-linkwarden-cli source root is linkwarden-cli setting SOURCE_DATE_EPOCH to timestamp 315619200 of file "linkwarden-cli/tests/test_cli.py" Running phase: patchPhase Running phase: updateAutotoolsGnuConfigScriptsPhase Running phase: configurePhase no configure script, doing nothing Running phase: buildPhase Executing pypaBuildPhase Creating a wheel... pypa build flags: --no-isolation --outdir dist/ --wheel * Getting build dependencies for wheel... * Building wheel... Successfully built linkwarden_cli-0.1.0-py3-none-any.whl Finished creating a wheel... Finished executing pypaBuildPhase Running phase: pythonRuntimeDepsCheckHook Executing pythonRuntimeDepsCheck Checking runtime dependencies for linkwarden_cli-0.1.0-py3-none-any.whl Finished executing pythonRuntimeDepsCheck Running phase: installPhase Executing pypaInstallPhase Successfully installed linkwarden_cli-0.1.0-py3-none-any.whl Finished executing pypaInstallPhase Running phase: pythonOutputDistPhase Executing pythonOutputDistPhase Finished executing pythonOutputDistPhase Running phase: fixupPhase shrinking RPATHs of ELF executables and libraries in /nix/store/m63c4gd9c5wm7d3hhb5a65afd6g5z2gv-linkwarden-cli-0.1.0 checking for references to /build/ in /nix/store/m63c4gd9c5wm7d3hhb5a65afd6g5z2gv-linkwarden-cli-0.1.0... patching script interpreter paths in /nix/store/m63c4gd9c5wm7d3hhb5a65afd6g5z2gv-linkwarden-cli-0.1.0 stripping (with command strip and flags -S -p) in /nix/store/m63c4gd9c5wm7d3hhb5a65afd6g5z2gv-linkwarden-cli-0.1.0/lib /nix/store/m63c4gd9c5wm7d3hhb5a65afd6g5z2gv-linkwarden-cli-0.1.0/bin shrinking RPATHs of ELF executables and libraries in /nix/store/kwigaixrm0bp23gfsx1bgh1xlck1cq7i-linkwarden-cli-0.1.0-dist checking for references to /build/ in /nix/store/kwigaixrm0bp23gfsx1bgh1xlck1cq7i-linkwarden-cli-0.1.0-dist... patching script interpreter paths in /nix/store/kwigaixrm0bp23gfsx1bgh1xlck1cq7i-linkwarden-cli-0.1.0-dist Rewriting #!/nix/store/gxzhl7aaiid7zp3y47jqqiq7zg5mqpwp-python3-3.14.6/bin/python3.14 to #!/nix/store/gxzhl7aaiid7zp3y47jqqiq7zg5mqpwp-python3-3.14.6 wrapping `/nix/store/m63c4gd9c5wm7d3hhb5a65afd6g5z2gv-linkwarden-cli-0.1.0/bin/linkwarden-cli'... Executing pythonRemoveTestsDir Finished executing pythonRemoveTestsDir Running phase: installCheckPhase no Makefile or custom installCheckPhase, doing nothing Running phase: pythonCatchConflictsPhase Running phase: pythonRemoveBinBytecodePhase Running phase: pythonImportsCheckPhase Executing pythonImportsCheckPhase Running phase: pytestCheckPhase Executing pytestCheckPhase 9 files already formatted I001 [*] Import block is un-sorted or un-formatted --> tests/test_cli.py:1:1 | 1 | / from __future__ import annotations 2 | | 3 | | import json 4 | | import threading 5 | | from http.server import BaseHTTPRequestHandler, ThreadingHTTPServer 6 | | from pathlib import Path 7 | | from collections.abc import Generator 8 | | from typing import Any 9 | | from unittest.mock import patch 10 | | from urllib.parse import parse_qs, urlparse 11 | | 12 | | import pytest 13 | | 14 | | from linkwarden_cli.main import main | |____________________________________^ help: Organize imports | 4 | import threading 5 + from collections.abc import Generator 6 | from http.server import BaseHTTPRequestHandler, ThreadingHTTPServer 7 | from pathlib import Path - from collections.abc import Generator 8 | from typing import Any | RUF012 Mutable default value for class attribute --> tests/test_cli.py:18:38 | 17 | class State: 18 | requests: list[dict[str, Any]] = [] | ^^ help: Consider initializing in `__init__` or annotating with `typing.ClassVar` Found 2 errors. [*] 1 fixable with the `--fix` option.