File tree Expand file tree Collapse file tree 3 files changed +8
-0
lines changed Expand file tree Collapse file tree 3 files changed +8
-0
lines changed Original file line number Diff line number Diff line change
1
+ repos :
2
+ - repo : https://github.com/psf/black
3
+ rev : 20.8b1 # Replace by any tag/version: https://github.com/psf/black/tags
4
+ hooks :
5
+ - id : black
6
+ language_version : python3 # Should be a command that runs python3.6+
Original file line number Diff line number Diff line change @@ -123,6 +123,7 @@ cd jupyterlab-git
123
123
124
124
# Install the server extension in development mode and enable it
125
125
pip install -e .[test]
126
+ pre-commit install
126
127
jupyter serverextension enable --py jupyterlab_git --sys-prefix
127
128
128
129
# Build and install your development version of the extension
Original file line number Diff line number Diff line change @@ -88,6 +88,7 @@ def runPackLabextension():
88
88
"pytest-asyncio" ,
89
89
"jupyterlab~=2.0" ,
90
90
"black" ,
91
+ "pre-commit" ,
91
92
],
92
93
},
93
94
)
You can’t perform that action at this time.
0 commit comments