Skip to content

Commit 81f9d75

Browse files
committed
fix pep8
1 parent 1e64c1a commit 81f9d75

File tree

1 file changed

+17
-15
lines changed

1 file changed

+17
-15
lines changed

pytorch_lightning/__init__.py

Lines changed: 17 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@
77
import typing
88

99
_this_year = time.strftime("%Y")
10-
__version__ = '1.3.0dev'
11-
__author__ = 'William Falcon et al.'
12-
__author_email__ = '[email protected]'
13-
__license__ = 'Apache-2.0'
14-
__copyright__ = f'Copyright (c) 2018-{_this_year}, {__author__}.'
15-
__homepage__ = 'https://github.com/PyTorchLightning/pytorch-lightning'
10+
__version__ = "1.3.0dev"
11+
__author__ = "William Falcon et al."
12+
__author_email__ = "[email protected]"
13+
__license__ = "Apache-2.0"
14+
__copyright__ = f"Copyright (c) 2018-{_this_year}, {__author__}."
15+
__homepage__ = "https://github.com/PyTorchLightning/pytorch-lightning"
1616
# this has to be simple string, see: https://github.com/pypa/twine/issues/522
1717
__docs__ = (
1818
"PyTorch Lightning is the lightweight PyTorch wrapper for ML researchers."
@@ -77,17 +77,19 @@
7777
from pytorch_lightning.utilities.seed import seed_everything
7878

7979
__all__ = [
80-
'Trainer',
81-
'LightningDataModule',
82-
'LightningModule',
83-
'Callback',
84-
'seed_everything',
85-
'metrics',
80+
"Trainer",
81+
"LightningDataModule",
82+
"LightningModule",
83+
"Callback",
84+
"seed_everything",
85+
"metrics",
8686
]
8787
else:
88-
sys.stdout.write(f'Partial import of `{__name__}` during the build process.\n') # pragma: no-cover
88+
sys.stdout.write(
89+
f"Partial import of `{__name__}` during the build process.\n"
90+
) # pragma: no-cover
8991
# We are not importing the rest of the lightning during the build process, as it may not be compiled yet
90-
92+
9193

9294
# for compatibility with namespace packages
93-
__import__('pkg_resources').declare_namespace(__name__)
95+
__import__("pkg_resources").declare_namespace(__name__)

0 commit comments

Comments
 (0)