From 993f960f2b5fd5721ccc7a1b2afd0ca67a16b42c Mon Sep 17 00:00:00 2001 From: Omar Habib Date: Sun, 30 Jun 2024 17:14:01 +0300 Subject: [PATCH] Fixed Trailing whitespace lint error --- src/fairchem/core/__init__.py | 4 ++-- src/fairchem/core/common/tutorial_utils.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/fairchem/core/__init__.py b/src/fairchem/core/__init__.py index 13c3caf1a7..d1bc5c652a 100644 --- a/src/fairchem/core/__init__.py +++ b/src/fairchem/core/__init__.py @@ -9,9 +9,9 @@ from importlib.metadata import PackageNotFoundError, version -from fairchem.core import FAIRChemCalculator +from fairchem.core import FAIRChemCalculator -__all__ = ["FAIRChemCalculator "] +__all__ = ["FAIRChemCalculator"] try: __version__ = version("fairchem.core") diff --git a/src/fairchem/core/common/tutorial_utils.py b/src/fairchem/core/common/tutorial_utils.py index b8b00b0f7d..9762b68326 100644 --- a/src/fairchem/core/common/tutorial_utils.py +++ b/src/fairchem/core/common/tutorial_utils.py @@ -21,7 +21,7 @@ from yaml import dump import fairchem.core as om -from fairchem.core import FAIRChemCalculator +from fairchem.core import FAIRChemCalculator def fairchem_root(): @@ -146,7 +146,7 @@ def generate_yml_config(checkpoint_path, yml="run.yml", delete=(), update=()): # see the output though, so I capture it. with contextlib.redirect_stdout(StringIO()) as _: - config = FAIRChemCalculator (checkpoint_path=checkpoint_path).config + config = FAIRChemCalculator(checkpoint_path=checkpoint_path).config for key in delete: if key in config and len(key.split(".")) == 1: