Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
jmmshn committed Apr 14, 2021
1 parent 147fffb commit 0981613
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions emmet-builders/emmet/builders/materials/electrodes.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
from functools import lru_cache
from itertools import chain, groupby
from pprint import pprint
from typing import Any, Dict, Iterable, List
from typing import Any, Dict, Iterable, List, Union

from maggma.builders import Builder, MapBuilder
from maggma.stores import MongoStore
Expand Down Expand Up @@ -137,7 +137,7 @@ def get_working_ion_entry(working_ion):
item["working_ion"] = item["ignored_species"][0]
yield item

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

0 comments on commit 0981613

Please sign in to comment.