Skip to content

Commit

Permalink
lint???
Browse files Browse the repository at this point in the history
  • Loading branch information
jpfeuffer authored Dec 21, 2022
1 parent 5fc44bc commit b8cd99d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions autowrap/ConversionProvider.py
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ def matches(self, cpp_type: CppType) -> bool:
return not cpp_type.is_ptr

def matching_python_type(self, cpp_type: CppType) -> str:
return "" # TODO can't we use int? Especially in py3 only.
return "" # TODO can't we use int? Especially in py3 only.

def matching_python_type_full(self, cpp_type: CppType) -> str:
return "int"
Expand Down Expand Up @@ -2047,7 +2047,7 @@ def get_base_types(self) -> List[str]:
return ["libcpp_utf8_string"]

def matching_python_type(self, cpp_type: CppType) -> str:
return "" # TODO can we use "basestring"?
return "" # TODO can we use "basestring"?

def matching_python_type_full(self, cpp_type: CppType) -> str:
return "Union[bytes, str]"
Expand Down Expand Up @@ -2088,7 +2088,7 @@ def get_base_types(self) -> List[str]:
return ["libcpp_utf8_output_string"]

def matching_python_type_full(self, cpp_type: CppType) -> str:
return "str" # python3
return "str" # python3

def output_conversion(
self, cpp_type: CppType, input_cpp_var: str, output_py_var: str
Expand Down

0 comments on commit b8cd99d

Please sign in to comment.