-
Notifications
You must be signed in to change notification settings - Fork 34
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
[MAINT] Run black, isort, ruff, and other auto-linters on entire package #159
Conversation
Signed-off-by: Adam Li <[email protected]>
Nowadays in MNE-Python we use pre-commit.ci + .pre-commit-config.yaml to do most style stuff. For Then in a (much smaller!) follow-up PR you add that commit hash to a new |
Okay, I'll do all the yaml/toml stuff first in one go, since those are just extra files and then do the whole package black/ruff/isort as you suggest? |
Sure that would work |
Signed-off-by: Adam Li <[email protected]>
Signed-off-by: Adam Li <[email protected]>
Signed-off-by: Adam Li <[email protected]>
Signed-off-by: Adam Li <[email protected]>
Signed-off-by: Adam Li <[email protected]>
Signed-off-by: Adam Li <[email protected]>
Signed-off-by: Adam Li <[email protected]>
@larsoner do I update the git-blame file after I merge this PR? |
Signed-off-by: Adam Li <[email protected]>
Signed-off-by: Adam Li <[email protected]>
Signed-off-by: Adam Li <[email protected]>
Signed-off-by: Adam Li <[email protected]>
Signed-off-by: Adam Li <[email protected]>
Yep, add |
Kay done with the last commit to main |
…age (mne-tools#159) * Repackage with pyrpoject.toml Signed-off-by: Adam Li <[email protected]> * Fix CIs Signed-off-by: Adam Li <[email protected]> * Add version Signed-off-by: Adam Li <[email protected]> * Try to fix ci again Signed-off-by: Adam Li <[email protected]> * Fix the pyproject toml and otehr files Signed-off-by: Adam Li <[email protected]> * Fix circleCI and style Signed-off-by: Adam Li <[email protected]> * Fix statsmodels install Signed-off-by: Adam Li <[email protected]> * Run precommit Signed-off-by: Adam Li <[email protected]> * Ran black and isort and ruff Signed-off-by: Adam Li <[email protected]> * Sort pyrpoject Signed-off-by: Adam Li <[email protected]> * Fix Signed-off-by: Adam Li <[email protected]> * Don't need to test install Signed-off-by: Adam Li <[email protected]> --------- Signed-off-by: Adam Li <[email protected]>
* upstream/main: (56 commits) [CI] Fix CIs (mne-tools#164) Fix azure Fix CIs New dev for v0.7 [RELEASE] V0.6 (mne-tools#162) Try azure again [CI] Fix azure (mne-tools#161) Add gitblame [MAINT] Run black, isort, ruff, and other auto-linters on entire package (mne-tools#159) [MAINT] Replace setup.py with pyproject.toml (mne-tools#160) [BUG] Fixed issue w/ different rank-indices length (mne-tools#158) [MAINT] Refactor bivariate and multivariate methods into separate files (mne-tools#156) [MAINT] Fix failing unit tests & update CI packages (mne-tools#157) fixed grammar mistake switched to array indices & added inline comments updated default non-zero rank tolerance removed redundant list creation removed redundant ignored word switched to masked indices for multivariate conn updated time ...
Thanks for contributing. If this is your first time,
make sure to read contributing.md
PR Description
Merge checklist
Maintainer, please confirm the following before merging: