Skip to content

Commit

Permalink
fix more lint
Browse files Browse the repository at this point in the history
  • Loading branch information
tserg committed Dec 18, 2023
1 parent f3553f5 commit ce5b120
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 10 deletions.
5 changes: 0 additions & 5 deletions vyper/compiler/input_bundle.py
Original file line number Diff line number Diff line change
Expand Up @@ -153,12 +153,7 @@ def _normalize_path(self, path: Path) -> Path:
# things like "foo/bar/../x.vy" => "foo/x.vy", with all
# the caveats around symlinks that os.path.normpath comes with.
try:
<<<<<<< HEAD
return path.resolve(strict=True)
=======
with path.open() as f:
code = f.read()
>>>>>>> 23ef9d1682d4bc581de30ba1688be851907d063e
except (FileNotFoundError, NotADirectoryError):
raise _NotFound(path)

Expand Down
6 changes: 1 addition & 5 deletions vyper/semantics/types/function.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,7 @@
StructureException,
)
from vyper.semantics.analysis.base import FunctionVisibility, StateMutability, StorageSlot
from vyper.semantics.analysis.utils import (
check_kwargable,
get_exact_type_from_node,
validate_expected_type,
)
from vyper.semantics.analysis.utils import check_kwargable, validate_expected_type
from vyper.semantics.data_locations import DataLocation
from vyper.semantics.types.base import KwargSettings, VyperType
from vyper.semantics.types.primitives import BoolT
Expand Down
1 change: 1 addition & 0 deletions vyper/semantics/types/user.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
from functools import cached_property
from typing import Optional

from vyper import ast as vy_ast
from vyper.abi_types import ABI_GIntM, ABI_Tuple, ABIType
Expand Down

0 comments on commit ce5b120

Please sign in to comment.