Skip to content

Commit 9cdd990

Browse files
committed
XmlStream: annotate attribute
1 parent f74102d commit 9cdd990

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/stagpy/xdmf.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ class EndOfXml(Exception):
1313

1414
class XmlStream:
1515
def __init__(self, filepath: Path):
16-
self.filepath = filepath
17-
self._event = "end"
16+
self.filepath: Path = filepath
17+
self._event: str = "end"
1818
self._elem: ET.Element
1919

2020
@cached_property

0 commit comments

Comments
 (0)