Skip to content

Commit

Permalink
Fix lxml stub and ignore pathlib2 for typing (#357)
Browse files Browse the repository at this point in the history
  • Loading branch information
Funth0mas authored and ebroecker committed Apr 28, 2019
1 parent 7793b9b commit d6150b7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion mypy.ini
Original file line number Diff line number Diff line change
Expand Up @@ -34,5 +34,5 @@ ignore_errors = True
ignore_errors = True

# other settings:
[mypy-xlsxwriter,past,past.builtins]
[mypy-xlsxwriter,past,past.builtins,pathlib2]
ignore_missing_imports = True
2 changes: 1 addition & 1 deletion stubs/lxml/etree.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ class _Element(Iterable['_Element']):
def items(self) -> Sequence[Tuple[_AnyStr, _AnyStr]]: ...
def iterfind(self, path: str, namespace: _OptionalNamespace = None) -> Iterator['_Element']: ...
def getparent(self) -> _Element: ...
def __len__(self): -> int: ...
def __len__(self) -> int: ...

class ElementBase(_Element): ...

Expand Down

0 comments on commit d6150b7

Please sign in to comment.