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

fix merge conflicts #2

Closed
wants to merge 169 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
169 commits
Select commit Hold shift + click to select a range
3214944
Release 0.10.1 (#3724)
ymzayek Apr 27, 2023
581ce42
Post release 0.10.1 (#3730)
ymzayek Apr 28, 2023
1158167
[MAINT] Format nilearn/plotting: apply isort and fix flake8 errors (#…
Remi-Gau Apr 28, 2023
3edbbb8
pre-commit hooks auto-update (#3731)
github-actions[bot] May 1, 2023
70450b5
pre-commit hooks auto-update (#3734)
github-actions[bot] May 10, 2023
35ccaba
[FIX] Missing values in `Decoder.cv_params_` when `param_grid` is a l…
michellewang May 24, 2023
6085633
Correcting typo in the "load_confounds_strategy" function (srubbing -…
jonasmago May 24, 2023
7e7e1b6
[DOC] Fix broken doc build (#3744)
ymzayek Jun 6, 2023
8db2075
[MAINT] Clean up remaining files from deprecated datasets (`cobre`, `…
michellewang Jun 6, 2023
db5a727
[ENH] Use LogisticRegressionCV instead of LogisticRegression to impro…
michellewang Jun 7, 2023
2d3f10c
[FIX] Fix tests failing due to deprecations in pre-release dependenci…
ymzayek Jun 9, 2023
be86fbe
Add timeout parameter (#3747)
ymzayek Jun 9, 2023
c93e89a
pre-commit hooks auto-update (#3748)
github-actions[bot] Jun 12, 2023
b576d9f
add more info to adhd example (#3739)
mtorabi59 Jun 12, 2023
442133d
[MAINT] improve test coverage BaseMasker (#3721)
Remi-Gau Jun 12, 2023
37333f4
[MAINT] refactor nilearn/maskers (sourcery, f-strings) (#3685)
Remi-Gau Jun 13, 2023
7639219
[MAINT] avoid creating files during testing: test_infer_effect_maps (…
Remi-Gau Jun 13, 2023
24055ec
[MAINT] Catch warnings as errors on partial doc builds (#3749)
ymzayek Jun 13, 2023
2e9344d
[FIX] force ordered output of `_sanitize_reorder` to match regex in t…
Remi-Gau Jun 13, 2023
4493330
[MAINT] run isort and flake8 on the whole nilearn code base in CI (#3…
Remi-Gau Jun 14, 2023
f16dcb4
[FIX] find confounds even when BIDS derivatives bold files contain re…
Remi-Gau Jun 14, 2023
b2562d6
pre-commit hooks auto-update (#3764)
github-actions[bot] Jun 19, 2023
ee09dce
[DOC] update changelog and git blame ignore (#3755)
Remi-Gau Jun 19, 2023
bfc435a
[FIX] Change error string to match scikit-learn `InvalidParameterErro…
ymzayek Jun 19, 2023
20fc25b
relax regex for warning on sanitize reorder error (#3766)
Remi-Gau Jun 19, 2023
246e72e
fix duplicate in dropdown (#3760)
Remi-Gau Jun 19, 2023
bb59d69
[MAINT] refactor nilearn/datasets (sourcery, f-strings) (#3727)
Remi-Gau Jun 19, 2023
88b4232
[MAINT] add workflow to check for f strings (#3759)
Remi-Gau Jun 20, 2023
bf0f6e4
[DOC] Remove license and hide authors in examples (#3765)
Remi-Gau Jun 20, 2023
6a576e5
[MAINT] refactor nilearn/plotting (f-strings) (#3757)
Remi-Gau Jun 20, 2023
06375b9
[MAINT] remove test install with python 2.7 workflow (#3768)
Remi-Gau Jun 20, 2023
a03175b
[REF] fix f strings (#3770)
Remi-Gau Jun 21, 2023
e6fc4f9
[ENH][DOC] Fix inconsistent description of return keys for fetch_atla…
SamantaTarun Jun 23, 2023
c90bf61
[MAINT] add lint recipe to make file (#3758)
Remi-Gau Jun 26, 2023
caa8da8
[MAINT] Update config black and pre-commit (#3777)
Remi-Gau Jun 27, 2023
7d91e88
[MAINT] test install and run windows tests with github actions (#3780)
Remi-Gau Jun 28, 2023
7778b8f
Fix syntax (#3786)
ymzayek Jun 28, 2023
11bb420
[DOC] Better print output in example output block
ymzayek Jun 28, 2023
43ff123
apply black to interface (#3783)
Remi-Gau Jun 28, 2023
a85b023
[DOC] Fix position of plots in relation to code blocks (#3788)
ymzayek Jun 29, 2023
be0e9b3
[INFRA] Add trigger to build specific examples on a push in pull requ…
ymzayek Jun 29, 2023
ee21258
[REF] Fix more f strings (#3776)
Remi-Gau Jun 29, 2023
089a1a0
[FIX] address flaky tests in CI (#3785)
Remi-Gau Jun 29, 2023
186845c
[FMT] apply black nilearn.plotting.display (#3790)
Remi-Gau Jun 30, 2023
9356227
pre-commit hooks auto-update (#3798)
github-actions[bot] Jul 3, 2023
cd962a0
First draft of surface stuff after discussion during meetings & drop-…
jeromedockes Jul 3, 2023
8ee74d3
Adding keep_masked_labels parameter to Labels_masker (#3722)
mtorabi59 Jul 4, 2023
aece81b
[FMT] apply black to maskers - part 1 (#3795)
Remi-Gau Jul 4, 2023
c8cd50f
[ENH] use citation.cff to store affiliations of authors (#3754)
Remi-Gau Jul 4, 2023
90dd16e
[FMT] apply black to plotting - part 1 (#3802)
Remi-Gau Jul 4, 2023
36b4725
[FIX] prevent extra line with spaces at the end of names.rst (#3809)
Remi-Gau Jul 5, 2023
8a7a80c
Sphinx error workaround (#3804)
ymzayek Jul 5, 2023
1b11edf
[MAINT] deal with new warnings related to sklearn 1.3 (#3801)
Remi-Gau Jul 5, 2023
3f2628f
[FMT] apply black to maskers - part 2 (#3803)
Remi-Gau Jul 5, 2023
e65624b
[FIX] Make load_confounds' confounds file selection more generic (#3794)
tsalo Jul 5, 2023
787d662
[FMT] apply black to plotting - part 2 (#3810)
Remi-Gau Jul 5, 2023
bce754b
[FIX] improve warnings in building glm from BIDS (#3811)
Remi-Gau Jul 6, 2023
7295b41
[FIX] fix loading of confounds for giftis (#3819)
Remi-Gau Jul 7, 2023
d2dc791
move validation in doc buuld (#3823)
Remi-Gau Jul 8, 2023
021255c
[MAINT] Set nilearn version input in bug issue template to text area …
ymzayek Jul 8, 2023
95086d8
add keep_masked_maps to NiftiMapsMasker (#3732)
mtorabi59 Jul 8, 2023
ea375e0
[FMT] apply black to plotting - part 3 (#3827)
Remi-Gau Jul 8, 2023
8c62868
[DOC] move defaults in docs.py (#3621)
Remi-Gau Jul 8, 2023
34613ab
[FMT] apply black to plotting - part 4 (#3833)
Remi-Gau Jul 9, 2023
27fadc1
[DOC] remove single occurence from docs.py (#3834)
Remi-Gau Jul 9, 2023
44ba24b
[FIX] refactor second-level tests (#3814)
Remi-Gau Jul 9, 2023
1b8c6ed
[FMT] apply black (#3836)
Remi-Gau Jul 9, 2023
01cfa3d
pre-commit hooks auto-update (#3837)
github-actions[bot] Jul 10, 2023
48a74fb
remove old checks for unsupported scipy versions (#3835)
Remi-Gau Jul 10, 2023
4f67c91
[FIX] Fix long titles overlapping plot contents (#3797)
ymzayek Jul 10, 2023
d505aa1
update AUTHORS.rst and doc/changes/names.rst (#3840)
github-actions[bot] Jul 10, 2023
4e2bd91
[MAINT] Removed all mentions of "License" from headers (#3838)
czarinasy Jul 10, 2023
d38e49d
update AUTHORS.rst and doc/changes/names.rst (#3841)
github-actions[bot] Jul 10, 2023
54fe838
[REF] refactor filename building in tests for interfaces/fmriprep (#3…
Remi-Gau Jul 10, 2023
39c6dcb
[MAINT] Update some missed tests and examples to use new standardize …
ymzayek Jul 11, 2023
b7e7e86
FIX allow confound files with no cosine (#3816)
htwangtw Jul 12, 2023
91218eb
[MAINT] update gitblame ignore and contributing (#3842)
Remi-Gau Jul 12, 2023
7d957cc
Merge remote-tracking branch 'upstream/main' into surface_image
Remi-Gau Jul 12, 2023
e23baad
[DOC] Fix rendering of plots in some examples where titles or images …
ymzayek Jul 14, 2023
ef66712
pre-commit hooks auto-update (#3843)
github-actions[bot] Jul 17, 2023
a037b03
Update nilearn/experimental/surface/_surface_image.py
jeromedockes Jul 19, 2023
5aa9523
Update nilearn/experimental/surface/_plotting.py
jeromedockes Jul 19, 2023
c6e1ff4
rename tests -> examples + some details
jeromedockes Jul 19, 2023
150b530
Merge branch 'surface_image' of github.com:jeromedockes/nilearn into …
jeromedockes Jul 19, 2023
a11d594
separate Mesh abc, FileMesh and InMemoryMesh
jeromedockes Jul 19, 2023
d876528
make mesh file path public
jeromedockes Jul 19, 2023
ab00401
move example script out of package
jeromedockes Jul 19, 2023
b9a2a82
Merge remote-tracking branch 'jeromedockes/surface_image'
htwangtw Jul 19, 2023
e002d24
Revert "First draft of surface stuff after discussion during meetings…
ymzayek Jul 19, 2023
8eb730e
[DOC] replace skipped doctests with default code-blocks (#3858)
psadil Jul 21, 2023
8296452
update AUTHORS.rst and doc/changes/names.rst (#3862)
github-actions[bot] Jul 21, 2023
0bd6740
[MAINT] add warning to deprecate darkness (#3855)
alishakodibagkar Jul 21, 2023
13fad00
[REF] refactor test with error raising (#3854)
FrancoisPgm Jul 21, 2023
de53cf1
update AUTHORS.rst and doc/changes/names.rst (#3864)
github-actions[bot] Jul 21, 2023
acadffa
[DOC] update doc to mention how get all the tags from upstream to get…
Remi-Gau Jul 22, 2023
069980c
[FIX] transparent vertices in `surf_plotting` function (#3860)
mathdugre Jul 23, 2023
318a0f7
update AUTHORS.rst and doc/changes/names.rst (#3866)
github-actions[bot] Jul 23, 2023
4a3023f
[DOC] First pass on adding cross-refence links surface module (#3857)
htwangtw Jul 23, 2023
65ded9e
[REF] Rename html surface func to make them private (#3847)
Rahul-Brito Jul 26, 2023
923f766
update AUTHORS.rst and doc/changes/names.rst (#3867)
github-actions[bot] Jul 26, 2023
dc247b5
pre-commit hooks auto-update (#3868)
github-actions[bot] Jul 31, 2023
a95149b
[MAINT] fix flake8 (#3869)
Remi-Gau Jul 31, 2023
99e8530
[MRG] [ENH] Radiological view for cross-sectional MRI plotting (#3172)
kwagstyl Aug 3, 2023
62bf848
update AUTHORS.rst and doc/changes/names.rst (#3876)
github-actions[bot] Aug 3, 2023
5734dba
[FMT] apply toml formatting hook on pyproject.toml (#3872)
Remi-Gau Aug 3, 2023
17ab95c
badges plotting (#3885)
Remi-Gau Aug 4, 2023
7f5bab6
[INFRA] Update pull_request_template.md (#3880)
Remi-Gau Aug 4, 2023
b8cfa45
[ENH] Raise a warning if the bids events.tsv file doesn't contain col…
vaswin0 Aug 4, 2023
6e9d95a
update AUTHORS.rst and doc/changes/names.rst (#3887)
github-actions[bot] Aug 4, 2023
c9b8c7f
[FMT] apply yml format pre commit hook (#3877)
Remi-Gau Aug 5, 2023
92b32f1
[MAINT] uniformize value of MNI affine used in tests (#3882)
Remi-Gau Aug 5, 2023
bf07671
[MAINT] add missing dev dependencies for linting (#3888)
Remi-Gau Aug 6, 2023
af36c18
add badge for deprecation (#3889)
Remi-Gau Aug 6, 2023
960de1e
[FIX] ensure that dataframes can be used as input for second level GL…
Remi-Gau Aug 7, 2023
387d348
[ENH] check affine and shape of first level models when passed at the…
Remi-Gau Aug 7, 2023
ded8f2a
extract dataset ids and file lists (#3890)
Remi-Gau Aug 7, 2023
d4fec68
[MAINT] add file path param to write fake fmri data (#3892)
Remi-Gau Aug 7, 2023
6379e68
[MAINT] use tmp_path fixture in tests that do not depend on fake fmri…
Remi-Gau Aug 7, 2023
45187e7
[MAINT] use tmp_path in glm reporter (#3895)
Remi-Gau Aug 8, 2023
6fe4c71
[MAINT] use tmp_path in tests for first lvl GLM (#3894)
Remi-Gau Aug 9, 2023
ab8eae6
[DOC] Add docstrings for some bigger private functions in `load_confo…
htwangtw Aug 10, 2023
438d243
[Fix] Fix pathlib.Path not being counted as Niimg-like in new_image_l…
mcsitter Aug 10, 2023
4572d65
update AUTHORS.rst and doc/changes/names.rst (#3901)
github-actions[bot] Aug 10, 2023
87efd91
[INFRA] Prevent Actions workflows from running on people's forks (#3900)
ymzayek Aug 10, 2023
48aecfa
[MAINT] remove obsolete version comparison (#3883)
Remi-Gau Aug 10, 2023
b7a7adf
[ENH] Add `LassoCV` to `nilearn.decoding.DecoderRegressor` (#3781)
michellewang Aug 17, 2023
7ed210a
[MAINT] Fix failing tests in prerelease job due to deprecation and bu…
ymzayek Aug 17, 2023
082d260
pin sphinx version (#3918)
Remi-Gau Aug 17, 2023
058adcd
[FIX] Fix overlapping titles for `plot_matrix` function (#3899)
ymzayek Aug 18, 2023
fd75801
apply black to utils.doc (#3917)
Remi-Gau Aug 18, 2023
67f5f81
[MAINT] use tmp_path in scd lvl tests (#3896)
Remi-Gau Aug 21, 2023
f7580ec
black is back (#3906)
Remi-Gau Aug 21, 2023
81b4069
[MAINT] apply black to nilearn.masking.py (#3907)
Remi-Gau Aug 21, 2023
84984de
[MAINT] apply black to tests nilean.signal.py (#3908)
Remi-Gau Aug 22, 2023
0d70562
[ENH]: Move func _mix_colormaps (#3919)
achamma723 Aug 22, 2023
8b05ece
[full doc] Remove mkl dependency (#3920)
ymzayek Aug 22, 2023
3935a2b
[MAINT] apply black to glm.first_level.first_level (#3909)
Remi-Gau Aug 22, 2023
2b3dea0
MAINT: Pandas deprecation (#3922)
larsoner Aug 23, 2023
fa6c32e
[ENH] add `vmin` argument to `plotting.plot_img_on_surf` (#3873)
michellewang Aug 23, 2023
0b49cc0
[ENH]: Remove decorator from glm/regression (#3921)
achamma723 Aug 23, 2023
457c79e
Revert breaking behavior in `plot_glass_brain` (#3924)
ymzayek Aug 24, 2023
9d5409c
[MAINT] Refactor fixtures (#3905)
Remi-Gau Aug 24, 2023
25e4bdd
[MAINT] refactor tests datasets (#3912)
Remi-Gau Aug 28, 2023
3297258
[FIX/ENH] Improve generate_report method to work with fit_transform f…
ymzayek Aug 28, 2023
56f33f3
[MAINT] Refactor/test utils (#3910)
Remi-Gau Aug 29, 2023
23da827
[MAINT] remove long decription from pyproject.toml (#3930)
Remi-Gau Aug 29, 2023
4e2a954
[MAINT] replace tmpdir with tmp_path in tests (#3929)
Remi-Gau Aug 29, 2023
9ae8199
[MAINT] refactor tests regions extractions (#3931)
Remi-Gau Aug 29, 2023
0b4d7db
[MAINT] Expose `standardize` parameter in function signatures to allo…
ymzayek Aug 29, 2023
c859e91
[MAINT] refactor tests glm (#3915)
Remi-Gau Aug 29, 2023
f0852e1
[MAINT] refactor design matrix tests (#3939)
Remi-Gau Aug 31, 2023
25e091a
[DOC] Plot only a few examples of probabilistic atlases (#3934)
ymzayek Aug 31, 2023
a00306f
Include guidelines for private functions (#3946)
ymzayek Sep 2, 2023
6578329
[FIX] allow using symmetric maps with plotly (#3942)
Remi-Gau Sep 2, 2023
fa7f66e
Fix typo in tutorial (#3950)
paulcbogdan Sep 5, 2023
1759fa2
[FIX] Allow both vmin and threshold argument values to be used in plo…
ymzayek Sep 5, 2023
d4690b9
[ENH] Handle GLM designs with null or nan durations / onsets (#3943)
Remi-Gau Sep 6, 2023
36648d4
[DOC] improve section on private functions (#3952)
Remi-Gau Sep 7, 2023
45065b5
try simplify flake8 config (#3953)
Remi-Gau Sep 8, 2023
339d179
[MAINT] add more badges to changelog (#3955)
Remi-Gau Sep 8, 2023
65e0984
pre-commit hooks auto-update (#3957)
github-actions[bot] Sep 11, 2023
1f899a4
Bump actions/checkout from 3 to 4 (#3958)
dependabot[bot] Sep 11, 2023
90b666b
Update label (#3959)
ymzayek Sep 11, 2023
021a150
Reorder dependencies (#3962)
ymzayek Sep 11, 2023
d2779b9
[DOC] Use code cell syntax for splitting blocks in 00_tutorial exampl…
ymzayek Sep 12, 2023
18fae8e
[MAINT] Add affiliations (#3956)
Remi-Gau Sep 12, 2023
38fb768
Update mpl version for deprecation (#3965)
ymzayek Sep 12, 2023
93c49f1
[DOC] add links and edit buttons to doc (#3964)
Remi-Gau Sep 12, 2023
19cc33d
Merge remote-tracking branch 'upstream/main' into fix-fixed-effects
Remi-Gau Sep 12, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
145 changes: 73 additions & 72 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
# Documentation is built using Github Actions.
# CircleCI is only used to download the artifacts in order to host
# and deploy them.
Expand All @@ -7,84 +8,84 @@ version: 2.1
# Parameters required to trigger the execution
# of the "host_docs" job
parameters:
GITHUB_RUN_URL:
type: string
default: "none"
GITHUB_RUN_URL:
type: string
default: none

jobs:
host_docs:
machine:
image: ubuntu-2004:202111-01
environment:
GITHUB_ARTIFACT_URL: << pipeline.parameters.GITHUB_RUN_URL >>/doc.zip
steps:
- checkout
- run: bash build_tools/circle/download_documentation.sh
- store_artifacts:
path: doc/_build/html/
destination: dev
host_docs:
machine:
image: ubuntu-2004:202111-01
environment:
GITHUB_ARTIFACT_URL: << pipeline.parameters.GITHUB_RUN_URL >>/doc.zip
steps:
- checkout
- run: bash build_tools/circle/download_documentation.sh
- store_artifacts:
path: doc/_build/html/
destination: dev
# Persists the generated documentation, so that it
# can be attached and deployed in the "deploy" job
- persist_to_workspace:
root: doc/_build
paths:
- html
- persist_to_workspace:
root: doc/_build
paths:
- html

deploy:
docker:
- image: circleci/python:3.9
steps:
- add_ssh_keys:
fingerprints:
- "19:56:86:2d:c6:df:02:f2:87:0e:59:a1:eb:b7:65:77"
- attach_workspace:
at: /tmp/_build
- run:
name: Fetch docs
command: |
set -e
mkdir -p ~/.ssh
ssh-keyscan github.com >> ~/.ssh/known_hosts;
if [ ! -d ~/nilearn.github.io ]; then
git clone git@github.com:nilearn/nilearn.github.io.git ~/nilearn.github.io --depth=1
fi
- run:
name: Deploy dev docs
command: |
set -e;
if [ "${CIRCLE_BRANCH}" == "main" ]; then
git config --global user.email "circle@nilearn.com";
git config --global user.name "CircleCI";
cd ~/nilearn.github.io;
git checkout main
git remote -v
git fetch origin
git reset --hard origin/main
git clean -xdf
echo "Deploying dev docs for ${CIRCLE_BRANCH}.";
rm -Rf dev;
cp -a /tmp/_build/html dev;
git add -A;
git commit -m "CircleCI update of dev docs (build: ${CIRCLE_BUILD_NUM}).";
git push origin main;
else
echo "No deployment (build: ${CIRCLE_BRANCH}).";
fi
deploy:
docker:
- image: circleci/python:3.9
steps:
- add_ssh_keys:
fingerprints:
- 19:56:86:2d:c6:df:02:f2:87:0e:59:a1:eb:b7:65:77
- attach_workspace:
at: /tmp/_build
- run:
name: Fetch docs
command: |
set -e
mkdir -p ~/.ssh
ssh-keyscan github.com >> ~/.ssh/known_hosts;
if [ ! -d ~/nilearn.github.io ]; then
git clone git@github.com:nilearn/nilearn.github.io.git ~/nilearn.github.io --depth=1
fi
- run:
name: Deploy dev docs
command: |
set -e;
if [ "${CIRCLE_BRANCH}" == "main" ]; then
git config --global user.email "circle@nilearn.com";
git config --global user.name "CircleCI";
cd ~/nilearn.github.io;
git checkout main
git remote -v
git fetch origin
git reset --hard origin/main
git clean -xdf
echo "Deploying dev docs for ${CIRCLE_BRANCH}.";
rm -Rf dev;
cp -a /tmp/_build/html dev;
git add -A;
git commit -m "CircleCI update of dev docs (build: ${CIRCLE_BUILD_NUM}).";
git push origin main;
else
echo "No deployment (build: ${CIRCLE_BRANCH}).";
fi

workflows:
version: 2
version: 2

host_and_deploy_doc:
when:
not:
equal: [ "none", << pipeline.parameters.GITHUB_RUN_URL >> ]
host_and_deploy_doc:
when:
not:
equal: [none, << pipeline.parameters.GITHUB_RUN_URL >>]
# The jobs should run only when triggered by the workflow
jobs:
- host_docs
- deploy:
requires:
- host_docs
filters:
branches:
only:
- main
jobs:
- host_docs
- deploy:
requires:
- host_docs
filters:
branches:
only:
- main
24 changes: 14 additions & 10 deletions .flake8
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,22 @@
exclude =
.git,
__pycache__,
env,
venv,
auto_examples,
build,
dist,
env,
nilearn/externals/tempita
nilearn/externals/
nilearn_cache
--select = D,E,F,W,C90
venv,
doc/_build
--select = D,E,F,W,C90,CFQ
docstring-convention = numpy
max-line-length = 79
max_complexity = 43
max_function_length = 150
max_function_length = 407
max_parameters_amount = 26
max_returns_amount = 10
# For PEP8 error codes see
# http://pep8.readthedocs.org/en/latest/intro.html#error-codes
# D100-D104: missing docstring
Expand All @@ -26,16 +31,15 @@ max_function_length = 150
# W503: line break before binary operator
# W504: line break after binary operator
per-file-ignores =
*/__init__.py: D104
**/__init__.py: D104
# - docstrings rules that should not be applied to tests
*/tests/*: D100, D101, D102, D103, D104, D205, D400, D401
*/*/tests/*: D100, D101, D102, D103, D104, D205, D400, D401
*/_testing.py: D100, D101, D102, D103, D104, D205, D400, D401
**/tests/*: D100, D101, D102, D103, D104, D205, D400, D401
**/_testing.py: D100, D101, D102, D103, D104, D205, D400, D401
# - docstrings rules that should not be applied to examples
examples/*/*: D103, D205, D301, D400
# - docstrings rules that should not be applied to doc
doc/*: D100, D103, F401
ignore = D105, D107, E402, W503, W504, W605
ignore = D105, D107, E402, W503, W504, W605, BLK100, CFQ003
# for compatibility with black
# https://black.readthedocs.io/en/stable/guides/using_black_with_other_tools.html#flake8
extend-ignore = E203
extend-ignore = E203
94 changes: 73 additions & 21 deletions .git-blame-ignore-revs
Original file line number Diff line number Diff line change
@@ -1,42 +1,94 @@
# Run this command to always ignore formatting commits in git blame
# git config blame.ignoreRevsFile .git-blame-ignore-revs
# ---------------------------------------------------------------------------- #
# FORMATTING PRs
# REFACTORING PRs
#
# Most recent PRs are at the top
# Most recently merged PRs are at the top
#
# ---------------------------------------------------------------------------- #
# [MAINT] Format nilearn/glm: apply isort and fix flake8 errors (#3640)
# refactor nilearn/maskers (sourcery, f-strings) (#3685)
37333f4604488ccef0ace5870ad442b725f60860
# refactor nilearn/glm (sourcery, f-strings) (#3672)
3522d9086eb9999d05549fc2ad0d13a83c590f8c
# refactor nilearn/surface (sourcery, f-strings) (#3682)
9352506d7d32fa17cc83971b011ad00932befe56
# refactor nilearn/interfaces (sourcery, f-strings) (#3683)
2e18c91342b65048307a21a45b5a8473414b6d16
# ---------------------------------------------------------------------------- #
# FORMATTING PRs
#
# Most recently merged PRs are at the top
#
# ---------------------------------------------------------------------------- #
# [FMT] apply black (#3836)
1b8c6ed6028e3ecf880597539f1de0910eb8d230
# [FMT] apply black to plotting - part 4 (#3833)
34613ab01d219924a8ed34677f48779d5d0b0cd1
# [FMT] apply black to plotting - part 3 (#3827)
ea375e01b35208f26aae9e66183fab245dd9862e
# [FMT] apply black to plotting - part 2 (#3810)
787d662116a0808d074b0dd40c9b4c2498712819
# [FMT] apply black to maskers - part 2 (#3803)
3f2628ffd016c9504c62db8560c5c4cc06d024c8
# [FMT] apply black to plotting - part 1 (#3802)
90dd16e20afafd2f9628bd5e08d3db3fe50353f2
# [FMT] apply black to maskers - part 1 (#3795)
aece81bb22bff7ad84427bda8d777eb072ade0b0
# [FMT] apply black nilearn.plotting.display (#3790)
186845cc04cb8c13c2dd5aa50eff2b426ec2329c
# apply black to interface (#3783)
43ff123df9e3849019c12d1c4125ed5fc8d21328
# [MAINT] Update config black and pre-commit (#3777)
caa8da8172c2ea56929ef6ecd3b592b963384370
# run isort and flake8 on the whole nilearn code base in CI (#3651)
44933309ecd09add795ce1c3ea5edaab4294da87
# Format nilearn/plotting: apply isort and fix flake8 errors (#3648)
115816702222182a244414540bb74687d7ea9597
# Update config for formatting of nilearn/datasets (#3697)
54aed7305f75be38d52d15ed30f80f45bfdd839f
# Format datasets/atlas.py (#3694)
983accf6d83983bae261143d311b2a9b10374d3a
# Formatting _utils (#3614)
9a507162952e8598c1281bfdd1b86f6d6ad14425
# Format reporting (#3615)
9ed76218dcef6814030c7473a52ae836d7a9ca7a
# Format nilearn/surface: apply isort and fix flake8 errors (#3645)
17d4b53d2bdb3a7722530eef9be1d58b305c9a0d
# apply to black nilearn/glm (#3662)
a9e13a62f4cbc9eddc4f789ee46c2e096c921f03
# Format nilearn/glm: apply isort and fix flake8 errors (#3640)
1c334c9f2bfc5f2f5057489ea199aee483b8874d
# [MAINT] Format nilearn/interfaces: apply isort and fix flake8 errors (#3647)
# Format nilearn/interfaces: apply isort and fix flake8 errors (#3647)
32787d285228dc6c741198ed56d4a6af89445489
# [MAINT] Format nilearn/maskers: apply isort and fix flake8 errors (#3650)
# Format nilearn/maskers: apply isort and fix flake8 errors (#3650)
d15ae59eb181f9980934452f9595d0625681c955
# [MAINT] Format nilearn/input_data (#3646)
# Format nilearn/input_data (#3646)
4a0808b8ef3fe8da1a1e6f910725dacf11e21edd
# [MAINT] Format files in nilearn folder (#3609)
# Format files in nilearn folder (#3609)
d5f11821da6c8852712a5d105d0afb478a04790f
# [MAINT] Format mass univariate module (#3601)
# Format mass univariate module (#3601)
d5dd4ed4b402e0918ac791b20716db05ce14280f
# [FMT] clean example/07_advanced and fix remaining style issues in examples (#3556)
# clean example/07_advanced and fix remaining style issues in examples (#3556)
6cf7b0e0a897d8b5f16d81d3831103af1123130b
# [FMT] format image module (#3548)
# format image module (#3548)
92c9bf1e5ced1e9062576bfcc846bee4d20598cc
# [FMT] format example/03_connectivity (#3552)
# format example/03_connectivity (#3552)
48fb614ca9ebf99635c78598d5b748080f67fb4d
# [FMT] format example/02_decoding (#3551)
# format example/02_decoding (#3551)
1c87dc98574774f62da632284442a4056f77fea1
# [MAINT] Apply precommit hooks to doc (#3566)
# Apply precommit hooks to doc (#3566)
5ddc12b585d8bd956df5e8f89c8d9d2ca37bc981
# [FMT] format example/04_glm_first_level (#3553)
# format example/04_glm_first_level (#3553)
946440c527a077dc759d76bce7964dad18cd6b13
# [FMT] format example/01_plotting (#3550)
# format example/01_plotting (#3550)
686a7debd73e746c282d8111d24343abb5c19d34
# [FMT] format example/00_tutorials (#3549)
# format example/00_tutorials (#3549)
859a2b5141fc36fc01c402bdd3152683feab82e4
# [MAINT] start applying isort to organize imports (#3538)
# start applying isort to organize imports (#3538)
bf2eb514acf75f338b28164563f6023d762fc95b
# [MAINT] apply pre-commit to root files (#3533)
# apply pre-commit to root files (#3533)
f6db5d424cfb794dd9cf4ea93d8319e5fbc4565b
# [INFRA] apply black, flake8, pyupgrade to `nilearn/decoding` (#3491)
# apply black, flake8, pyupgrade to nilearn/decoding (#3491)
f62e896234e389c9579bbf41b3c2531111cc6371
# [INFRA] Initial formatting with black and precommit (#3484)
77c1d785df4995166ea0a6798bc756f58f172812
# Initial formatting with black and precommit (#3484)
77c1d785df4995166ea0a6798bc756f58f172812
Loading