Skip to content

Commit 9cfac18

Browse files
committed
lint
1 parent ec78f33 commit 9cfac18

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

emmet-builders/emmet/builders/materials/electrodes.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
from functools import lru_cache
66
from itertools import chain, groupby
77
from pprint import pprint
8-
from typing import Any, Dict, Iterable, List
8+
from typing import Any, Dict, Iterable, List, Union
99

1010
from maggma.builders import Builder, MapBuilder
1111
from maggma.stores import MongoStore
@@ -137,7 +137,7 @@ def get_working_ion_entry(working_ion):
137137
item["working_ion"] = item["ignored_species"][0]
138138
yield item
139139

140-
def process_item(self, item) -> Dict:
140+
def process_item(self, item) -> Union[Dict, None]:
141141
"""
142142
- Add volume information to each entry to create the insertion electrode document
143143
- Add the host structure

0 commit comments

Comments
 (0)