Skip to content

Commit

Permalink
Lint
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielSchiavini committed Sep 11, 2024
1 parent e576b55 commit fe63c1e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions vvm/utils/versioning.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import re
from typing import Optional

from packaging.specifiers import InvalidSpecifier, Specifier, SpecifierSet
from packaging.specifiers import InvalidSpecifier, Specifier
from packaging.version import Version

from vvm.exceptions import UnexpectedVersionError
Expand Down Expand Up @@ -45,7 +45,7 @@ def _detect_version_specifier(source_code: str) -> Optional[Specifier]:

def _pick_vyper_version(
specifier: Specifier,
prereleases: bool | None = None,
prereleases: Optional[bool] = None,
check_installed=True,
check_installable=True,
) -> Version:
Expand All @@ -56,7 +56,7 @@ def _pick_vyper_version(
Arguments
---------
specifier : SpecifierSet
specifier : Specifier
Specifier to pick a version for.
prereleases : bool, optional
Whether to allow prereleases in the returned iterator. If set to
Expand Down

0 comments on commit fe63c1e

Please sign in to comment.