Skip to content

Commit d14bcb0

Browse files
committed
STY: ruff format smriprep [git-blame-ignore-rev]
1 parent 64668e8 commit d14bcb0

27 files changed

+1459
-1472
lines changed

smriprep/__about__.py

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -27,17 +27,17 @@
2727
try:
2828
from ._version import __version__
2929
except ImportError: # pragma: no cover
30-
__version__ = "0+unknown"
30+
__version__ = '0+unknown'
3131

32-
__copyright__ = "Copyright 2019, Center for Reproducible Neuroscience, Stanford University"
32+
__copyright__ = 'Copyright 2019, Center for Reproducible Neuroscience, Stanford University'
3333
__credits__ = [
34-
"Oscar Esteban",
35-
"Chris Gorgolewski",
36-
"Christopher J. Markiewicz",
37-
"Russell A. Poldrack",
34+
'Oscar Esteban',
35+
'Chris Gorgolewski',
36+
'Christopher J. Markiewicz',
37+
'Russell A. Poldrack',
3838
]
39-
__url__ = "https://github.com/nipreps/smriprep"
39+
__url__ = 'https://github.com/nipreps/smriprep'
4040

41-
DOWNLOAD_URL = "https://github.com/nipreps/{name}/archive/{ver}.tar.gz".format(
41+
DOWNLOAD_URL = 'https://github.com/nipreps/{name}/archive/{ver}.tar.gz'.format(
4242
name=__package__, ver=__version__
4343
)

smriprep/__init__.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
)
1616

1717
__all__ = [
18-
"__copyright__",
19-
"__credits__",
20-
"__version__",
18+
'__copyright__',
19+
'__credits__',
20+
'__version__',
2121
]

smriprep/__main__.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,10 @@
2222
#
2323
from .cli.run import main
2424

25-
if __name__ == "__main__":
25+
if __name__ == '__main__':
2626
import sys
2727

2828
# `python -m smriprep` typically displays the command as __main__.py
29-
if "__main__.py" in sys.argv[0]:
30-
sys.argv[0] = "%s -m smriprep" % sys.executable
29+
if '__main__.py' in sys.argv[0]:
30+
sys.argv[0] = '%s -m smriprep' % sys.executable
3131
main()

0 commit comments

Comments
 (0)