Skip to content

Commit 04371b7

Browse files
linting
1 parent 858d41f commit 04371b7

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

pymatgen/io/validation/__init__.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,5 @@
1111
if _settings().CHECK_PYPI_AT_LOAD:
1212
# Only check version at module load time, if specified in module settings.
1313
from pymatgen.io.validation.check_package_versions import package_version_check
14-
package_version_check()
14+
15+
package_version_check()

pymatgen/io/validation/settings.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,12 @@ class IOValidationSettings(BaseSettings):
2626

2727
config_file: str = Field(DEFAULT_CONFIG_FILE_PATH, description="File to load alternative defaults from")
2828

29-
CHECK_PYPI_AT_LOAD : bool = Field(
30-
False, description = (
29+
CHECK_PYPI_AT_LOAD: bool = Field(
30+
False,
31+
description=(
3132
"Whether to do a version check when this module is loaded. "
3233
"Helps user ensure most recent parameter checks are used."
33-
)
34+
),
3435
)
3536

3637
VASP_KPTS_TOLERANCE: float = Field(

0 commit comments

Comments
 (0)