Skip to content

Commit 5c05f30

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 2348bcc commit 5c05f30

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pymatgen/core/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ def _load_pmg_settings() -> dict[str, Any]:
4646
yaml = YAML()
4747
for file_path in (SETTINGS_FILE, OLD_SETTINGS_FILE):
4848
try:
49-
with open(file_path, "rt", encoding="utf-8") as yml_file:
49+
with open(file_path, encoding="utf-8") as yml_file:
5050
settings = yaml.load(yml_file) or {}
5151
break
5252
except FileNotFoundError:

0 commit comments

Comments
 (0)