Skip to content

Commit c944b15

Browse files
authored
"Address" detected by pre-commit issues (#40)
* pre-commit: progress flake8 to contemporary version Older one was confused by ; in the f-string etc: flake8...................................................................Failed - hook id: flake8 - exit code: 1 bids2table/entities.py:114:58: E702 multiple statements on one line (semicolon) bids2table/entities.py:120:72: E702 multiple statements on one line (semicolon) bids2table/extractors/image.py:61:56: E702 multiple statements on one line (semicolon) bids2table/table.py:194:36: E702 multiple statements on one line (semicolon) with newer one it is all clean * Fix for changes in API
1 parent abeff96 commit c944b15

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ repos:
2121
language_version: python3 # Should be a command that runs python3.6+
2222

2323
- repo: https://github.com/pycqa/flake8
24-
rev: 5.0.4
24+
rev: 7.1.1
2525
hooks:
2626
- id: flake8
2727

benchmark/indexing/benchmark_indexing.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,9 +99,9 @@ def benchmark_bids2table(root: Path, workers: int):
9999
b2t.bids2table(
100100
root,
101101
persistent=True,
102-
output=Path(tmpdir) / "index.b2t",
102+
index_path=Path(tmpdir) / "index.b2t",
103103
workers=workers,
104-
return_df=False,
104+
return_table=False,
105105
)
106106
size_mb = du(tmpdir)
107107

0 commit comments

Comments
 (0)