Skip to content

Commit

Permalink
Merge pull request #1362 from DimitriPapadopoulos/FURB
Browse files Browse the repository at this point in the history
STY: Enforce ruff/refurb rules (FURB)
  • Loading branch information
effigies authored Sep 22, 2024
2 parents 4b6132d + 1abcdec commit ddec715
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion nibabel/nicom/ascconv.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

ASCCONV_RE = re.compile(
r'### ASCCONV BEGIN((?:\s*[^=\s]+=[^=\s]+)*) ###\n(.*?)\n### ASCCONV END ###',
flags=re.M | re.S,
flags=re.MULTILINE | re.DOTALL,
)


Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,7 @@ select = [
"B",
"C4",
"F",
"FURB",
"I",
"PIE",
"PLE",
Expand Down

0 comments on commit ddec715

Please sign in to comment.