Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MNT: Add pre-commit config #375

Merged
merged 2 commits into from
Jul 7, 2023
Merged

Conversation

effigies
Copy link
Member

@effigies effigies commented Jul 7, 2023

The motivator is to avoid import pdb; pdb.set_trace() and breakpoint()s from getting into code. I picked a selection of the default hooks.

I don't want to interfere with #346, so I left black and isort commented, but we've adopted these in fmriprep, and I think it's reasonable to do so here.

@effigies effigies enabled auto-merge July 7, 2023 18:46
Copy link
Contributor

@mgxd mgxd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

just noting to run pre-commit install in dev environments :)

@effigies effigies merged commit 54b05c0 into nipreps:master Jul 7, 2023
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants