Skip to content

Commit

Permalink
Fix lints
Browse files Browse the repository at this point in the history
  • Loading branch information
hoodmane committed May 6, 2023
1 parent cbcb1f6 commit 5cd2b5a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 8 deletions.
8 changes: 4 additions & 4 deletions cibuildwheel/pyodide.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,9 @@
import os
import shutil
import sys
from collections.abc import Set
from collections.abc import Sequence, Set
from dataclasses import dataclass
from pathlib import Path
from typing import Sequence

from filelock import FileLock

Expand All @@ -28,7 +27,6 @@
get_pip_version,
prepare_command,
read_python_configs,
resources_dir,
shell,
split_config_settings,
test_fail_cwd_file,
Expand Down Expand Up @@ -220,7 +218,9 @@ def build(options: Options, tmp_path: Path) -> None:

dependency_constraint_flags: Sequence[PathOrStr] = []
if build_options.dependency_constraints:
constraints_path = build_options.dependency_constraints.get_for_python_version(config.version),
constraints_path = build_options.dependency_constraints.get_for_python_version(
config.version
)
dependency_constraint_flags = ["-c", constraints_path]

env = setup_python(
Expand Down
3 changes: 0 additions & 3 deletions cibuildwheel/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,6 @@
from typing import (
Any,
ClassVar,
Generator,
Iterable,
Sequence,
TextIO,
TypeVar,
)
Expand Down
1 change: 0 additions & 1 deletion cibuildwheel/windows.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
from dataclasses import dataclass
from functools import lru_cache
from pathlib import Path
from typing import Sequence

from filelock import FileLock
from packaging.version import Version
Expand Down

0 comments on commit 5cd2b5a

Please sign in to comment.