Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
charles-cooper committed Nov 1, 2023
1 parent 159e10c commit ccf6b74
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 1 addition & 3 deletions vyper/cli/vyper_json.py
Original file line number Diff line number Diff line change
Expand Up @@ -219,9 +219,7 @@ def get_input_dict_output_formats(input_dict: Dict, contract_sources: ContractCo


def compile_from_input_dict(
input_dict: Dict,
exc_handler: Callable = exc_handler_raises,
root_folder: Optional[str] = None,
input_dict: Dict, exc_handler: Callable = exc_handler_raises, root_folder: Optional[str] = None
) -> tuple[dict, dict]:
root_path = None
if root_folder is not None:
Expand Down
1 change: 1 addition & 0 deletions vyper/semantics/analysis/module.py
Original file line number Diff line number Diff line change
Expand Up @@ -345,6 +345,7 @@ def _load_import(self, level: int, module_str: str) -> InterfaceT:
except FileNotFoundError:
raise ModuleNotFoundError(module_str) from None


# convert an import to a path (without suffix)
def _import_to_path(level: int, module_str: str) -> PurePath:
base_path = ""
Expand Down

0 comments on commit ccf6b74

Please sign in to comment.