diff --git a/pymatgen/util/provenance.py b/pymatgen/util/provenance.py index df6bbfc3cb2..4941cfbd093 100644 --- a/pymatgen/util/provenance.py +++ b/pymatgen/util/provenance.py @@ -93,11 +93,10 @@ def parse_history_node(cls, h_node) -> Self: """Parses a History Node object from either a dict or a tuple. Args: - h_node: A dict with name/url/description fields or a 3-element - tuple. + h_node: A dict with name/url/description fields or a 3-element tuple. Returns: - History node. + HistoryNode """ if isinstance(h_node, dict): return cls.from_dict(h_node) diff --git a/pyproject.toml b/pyproject.toml index f7750be0a62..44f184029cc 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -72,7 +72,6 @@ lint.ignore = [ "PERF401", # manual-list-comprehension (TODO fix these or wait for autofix) "PLC1901", # can be simplified to ... as empty is falsey "PLR", # pylint refactor - "PLW1514", # open() without explicit encoding argument "PLW2901", # Outer for loop variable overwritten by inner assignment target "PT013", # pytest-incorrect-pytest-import "PTH", # prefer pathlib to os.path