Skip to content

Commit

Permalink
style: [pre-commit.ci] auto fixes [...]
Browse files Browse the repository at this point in the history
  • Loading branch information
pre-commit-ci[bot] committed Jan 15, 2025
1 parent bcf4750 commit 1c8f8c1
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 7 deletions.
5 changes: 1 addition & 4 deletions src/npe2/_inspection/_fetch.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,8 @@
import io
import json
import os
import re
import subprocess
import tempfile
from concurrent.futures import ProcessPoolExecutor
from contextlib import contextmanager
from functools import lru_cache
from importlib import metadata
Expand All @@ -24,7 +22,7 @@
Union,
)
from unittest.mock import patch
from urllib import error, parse, request
from urllib import error, request
from zipfile import ZipFile

from npe2.manifest import PackageMetadata
Expand Down Expand Up @@ -396,4 +394,3 @@ def _try_fetch_and_write_manifest(args: Tuple[str, str, Path, int]):
except Exception as e:
print(f"❌ {name}")
return name, {"version": version, "error": str(e)}

1 change: 0 additions & 1 deletion src/npe2/cli.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import builtins
import sys
import warnings
from enum import Enum
from pathlib import Path
Expand Down
2 changes: 0 additions & 2 deletions tests/test_cli.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
import sys
from concurrent.futures import ThreadPoolExecutor
from unittest.mock import patch

import pytest
from typer.testing import CliRunner
Expand Down

0 comments on commit 1c8f8c1

Please sign in to comment.