Skip to content

Commit

Permalink
make black and flake8 play nicely
Browse files Browse the repository at this point in the history
  • Loading branch information
sappelhoff committed May 30, 2023
1 parent ac30123 commit b40c2cc
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion mne_bids/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -435,7 +435,7 @@
"for different age groups (4.5–18.5 y.o., 4.5–8.5 y.o., "
"7–11 y.o., 7.5–13.5 y.o., 10–14 y.o., 13–18.5 y.o. This "
"template also comes in either -symmetric or -asymmetric flavor.",
"oasis30antsoasisants": "See https://figshare.com/articles/ANTs_ANTsR_Brain_Templates/915436",
"oasis30antsoasisants": "See https://figshare.com/articles/ANTs_ANTsR_Brain_Templates/915436", # noqa: E501
"oasis30atropos": "See https://mindboggle.info/data.html",
"talairach": "Piecewise linear scaling of the brain is implemented as "
"described in TT88.",
Expand Down
4 changes: 3 additions & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,10 @@ console_scripts =
universal = true

[flake8]
max-line-length = 88
exclude = __init__.py
ignore = W504,I101,I100,I201
ignore = I101,I100,I201
extend-ignore = W503,E203
per-file-ignores =
mne_bids/commands/tests/test_*.py:E402
mne_bids/tests/test_*.py:E402
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
for line in fid:
line = line.strip()
if line.startswith("__version__ = "):
version = line.split(" = ")[1].split("#")[0].strip("'")
version = line.split(" = ")[1].split("#")[0].strip('"')
break
if version is None:
raise RuntimeError("Could not determine version")
Expand Down

0 comments on commit b40c2cc

Please sign in to comment.