Skip to content

Commit

Permalink
ignore files (#1139)
Browse files Browse the repository at this point in the history
Co-authored-by: Remi Gau <remi_gau@hotmail.com>
  • Loading branch information
pre-commit-ci[bot] and Remi-Gau authored Sep 16, 2023
1 parent 6712257 commit 11ecc2c
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
8 changes: 7 additions & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
---
exclude: |
(?x)^(
demos/renaming/spm_2_bids_filenames.ipynb
| demos/MoAE/moae_01_bids_app.ipynb
)$
repos:
- repo: local

Expand Down Expand Up @@ -44,7 +50,7 @@ repos:
- id: rst-inline-touching-normal

- repo: https://github.com/psf/black
rev: 23.7.0
rev: 23.9.1
hooks:
- id: black
args: [--config=pyproject.toml]
Expand Down
7 changes: 6 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ version-file = "src/_version.py"
[project]
name = "bidspm"
description = "SPM centric bids app"
long_description = { file = "README.md" }
authors = [{ name = "bidspm developers" }]
maintainers = [{ name = "Rémin Gau", email = "remi.gau@gmail.com" }]
readme = "README.md"
Expand Down Expand Up @@ -81,6 +80,12 @@ Homepage = "https://bidspm.readthedocs.io"

[tool.black]
line-length = 90
extend-exclude = """
(
demos/renaming/spm_2_bids_filenames.ipynb
| demos/MoAE/moae_01_bids_app.ipynb
)
"""

[tool.isort]
profile = "black"
Expand Down

0 comments on commit 11ecc2c

Please sign in to comment.