Skip to content

Commit f7418f2

Browse files
committed
Single vs double quotes to reduce noise
1 parent 81f9d75 commit f7418f2

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

pytorch_lightning/__init__.py

Lines changed: 14 additions & 14 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,19 +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:
8888
sys.stdout.write(
89-
f"Partial import of `{__name__}` during the build process.\n"
89+
f'Partial import of `{__name__}` during the build process.\n'
9090
) # pragma: no-cover
9191
# We are not importing the rest of the lightning during the build process, as it may not be compiled yet
9292

9393

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

0 commit comments

Comments
 (0)