File tree 4 files changed +6
-25
lines changed
4 files changed +6
-25
lines changed Original file line number Diff line number Diff line change 1
1
{
2
- "python.linting.flake8Enabled" : true ,
3
2
"python.pythonPath" : " /usr/local/miniconda/bin/python" ,
4
3
"restructuredtext.confPath" : " ${workspaceFolder}/docs" ,
5
4
"python.testing.pytestEnabled" : true ,
6
5
"python.testing.unittestEnabled" : false ,
7
6
"python.testing.nosetestsEnabled" : false ,
8
- "python.linting.enabled" : true ,
9
7
"python.testing.pytestArgs" : [],
10
- "python.linting.pylintEnabled " : false
8
+ "editor.defaultFormatter " : " charliermarsh.ruff " ,
11
9
}
Original file line number Diff line number Diff line change @@ -26,8 +26,8 @@ ENV FMRIPREP_REGRESSION_SOURCE=/tmp/data/fmriprep_bold_truncated \
26
26
FMRIPREP_REGRESSION_REPORTS=/tmp/data/reports \
27
27
FMRIPREP_DEV=1
28
28
29
- # use flake8 as linter
30
- RUN conda install -y flake8
29
+ # use ruff as linter
30
+ RUN conda install -y ruff
31
31
32
32
RUN mkdir -p /tmp/data
33
33
Original file line number Diff line number Diff line change @@ -57,10 +57,8 @@ doc = [
57
57
" sphinx_rtd_theme>=0.5.2" ,
58
58
]
59
59
dev = [
60
- " black ~= 22.3.0 " ,
60
+ " ruff ~= 0.4.3 " ,
61
61
" pre-commit" ,
62
- " isort ~= 5.10.1" ,
63
- " flake8-pyproject" ,
64
62
]
65
63
duecredit = [" duecredit" ]
66
64
resmon = []
@@ -121,22 +119,9 @@ version-file = "fmriprep/_version.py"
121
119
# Developer tool configurations
122
120
#
123
121
122
+ # Disable black
124
123
[tool .black ]
125
- line-length = 99
126
- skip-string-normalization = true
127
-
128
- [tool .isort ]
129
- profile = ' black'
130
-
131
- [tool .flake8 ]
132
- max-line-length = " 99"
133
- doctests = " False"
134
- exclude = " *build/"
135
- ignore = [" W503" , " E203" ]
136
- per-file-ignores = [
137
- " **/__init__.py : F401" ,
138
- " docs/conf.py : E265" ,
139
- ]
124
+ exclude = " .*"
140
125
141
126
[tool .pytest .ini_options ]
142
127
minversion = " 6"
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments