forked from mne-tools/mne-connectivity
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[MAINT] Run black, isort, ruff, and other auto-linters on entire pack…
…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]>
- Loading branch information
Showing
59 changed files
with
4,597 additions
and
2,912 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,6 @@ | ||
raison | ||
fro | ||
nd | ||
nd | ||
manuel | ||
ba | ||
master |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
repos: | ||
- repo: https://github.com/psf/black | ||
rev: 23.11.0 | ||
hooks: | ||
- id: black | ||
args: [--quiet] | ||
|
||
# Ruff mne_connectivity | ||
- repo: https://github.com/astral-sh/ruff-pre-commit | ||
rev: v0.1.6 | ||
hooks: | ||
- id: ruff | ||
name: ruff mne_connectivity | ||
args: ["--fix"] | ||
files: ^mne_connectivity/ | ||
|
||
# Ruff tutorials and examples | ||
- repo: https://github.com/astral-sh/ruff-pre-commit | ||
rev: v0.1.6 | ||
hooks: | ||
- id: ruff | ||
name: ruff tutorials and examples | ||
# D103: missing docstring in public function | ||
# D400: docstring first line must end with period | ||
args: ["--ignore=D103,D400", "--fix"] | ||
files: ^tutorials/|^examples/ | ||
|
||
# Codespell | ||
- repo: https://github.com/codespell-project/codespell | ||
rev: v2.2.6 | ||
hooks: | ||
- id: codespell | ||
additional_dependencies: | ||
- tomli | ||
files: ^mne_connectivity/|^doc/|^examples/|^tutorials/ | ||
types_or: [python, bib, rst, inc] | ||
|
||
# yamllint | ||
- repo: https://github.com/adrienverge/yamllint.git | ||
rev: v1.33.0 | ||
hooks: | ||
- id: yamllint | ||
args: [--strict, -c, .yamllint.yml] | ||
|
||
# rstcheck | ||
- repo: https://github.com/rstcheck/rstcheck.git | ||
rev: v6.2.0 | ||
hooks: | ||
- id: rstcheck | ||
additional_dependencies: | ||
- tomli | ||
files: ^doc/.*\.(rst|inc)$ | ||
|
||
ci: | ||
autofix_prs: false |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.