Skip to content

Commit

Permalink
chore: black
Browse files Browse the repository at this point in the history
  • Loading branch information
BobTheBuidler committed Aug 17, 2024
1 parent 674dc8f commit e05e53f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions brownie/project/compiler/vyper.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ def set_vyper_version(version: Union[str, Version]) -> str:
if isinstance(version, str):
version = Version(version)
if version != Version(vyper.__version__):
# NOTE: vvm uses `packaging.version.Version` which is not compatible with
# NOTE: vvm uses `packaging.version.Version` which is not compatible with
# `semantic_version.Version` so we first must cast it as a string
version_str = str(version)
try:
Expand Down Expand Up @@ -246,7 +246,7 @@ def compile_from_input_json(
raise exc.with_traceback(None)
else:
try:
# NOTE: vvm uses `packaging.version.Version` which is not compatible with
# NOTE: vvm uses `packaging.version.Version` which is not compatible with
# `semantic_version.Version` so we first must cast it as a string
version = str(version)
return vvm.compile_standard(input_json, base_path=allow_paths, vyper_version=version)
Expand Down

0 comments on commit e05e53f

Please sign in to comment.