Skip to content

Commit

Permalink
Remove some unused imports
Browse files Browse the repository at this point in the history
  • Loading branch information
mariusvniekerk committed Nov 15, 2022
1 parent 19199f1 commit 9a5292a
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 11 deletions.
1 change: 0 additions & 1 deletion conda_lock/conda_lock.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
import pathlib
import posixpath
import re
import subprocess
import sys
import tempfile

Expand Down
1 change: 0 additions & 1 deletion conda_lock/conda_solver.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
import logging
import os
import pathlib
import re
import shlex
import subprocess
import sys
Expand Down
9 changes: 1 addition & 8 deletions conda_lock/src_parser/meta_yaml.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,7 @@
import yaml

from conda_lock.common import get_in
from conda_lock.src_parser import (
Dependency,
LockSpecification,
VersionedDependency,
aggregate_lock_specs,
)
from conda_lock.src_parser.pyproject_toml import parse_python_requirement
from conda_lock.src_parser import Dependency, LockSpecification, aggregate_lock_specs
from conda_lock.src_parser.selectors import filter_platform_selectors


Expand Down Expand Up @@ -140,7 +134,6 @@ def add_spec(spec: str, category: str) -> None:
if spec is None:
return

from .._vendor.conda.models.match_spec import MatchSpec
from .conda_common import conda_spec_to_versioned_dep

dep = conda_spec_to_versioned_dep(spec, category)
Expand Down
3 changes: 2 additions & 1 deletion pyrightconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,6 @@
"conda_lock/_vendor/cleo/**",
"conda_lock/_vendor/poetry_core/**",
"conda_lock/_vendor/poetry/**",
]
],
"reportUnusedImport": "error",
}

0 comments on commit 9a5292a

Please sign in to comment.