Skip to content

Commit b40c2cc

Browse files
committed
make black and flake8 play nicely
1 parent ac30123 commit b40c2cc

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

mne_bids/config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -435,7 +435,7 @@
435435
"for different age groups (4.5–18.5 y.o., 4.5–8.5 y.o., "
436436
"7–11 y.o., 7.5–13.5 y.o., 10–14 y.o., 13–18.5 y.o. This "
437437
"template also comes in either -symmetric or -asymmetric flavor.",
438-
"oasis30antsoasisants": "See https://figshare.com/articles/ANTs_ANTsR_Brain_Templates/915436",
438+
"oasis30antsoasisants": "See https://figshare.com/articles/ANTs_ANTsR_Brain_Templates/915436", # noqa: E501
439439
"oasis30atropos": "See https://mindboggle.info/data.html",
440440
"talairach": "Piecewise linear scaling of the brain is implemented as "
441441
"described in TT88.",

setup.cfg

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,10 @@ console_scripts =
5858
universal = true
5959

6060
[flake8]
61+
max-line-length = 88
6162
exclude = __init__.py
62-
ignore = W504,I101,I100,I201
63+
ignore = I101,I100,I201
64+
extend-ignore = W503,E203
6365
per-file-ignores =
6466
mne_bids/commands/tests/test_*.py:E402
6567
mne_bids/tests/test_*.py:E402

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
for line in fid:
1515
line = line.strip()
1616
if line.startswith("__version__ = "):
17-
version = line.split(" = ")[1].split("#")[0].strip("'")
17+
version = line.split(" = ")[1].split("#")[0].strip('"')
1818
break
1919
if version is None:
2020
raise RuntimeError("Could not determine version")

0 commit comments

Comments
 (0)