Skip to content

Commit

Permalink
adding a git hook for hard enforcement of black format
Browse files Browse the repository at this point in the history
  • Loading branch information
CodyCBakerPhD committed Aug 4, 2021
1 parent 5741219 commit 04608c2
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 2 deletions.
14 changes: 14 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
[tool.black]
line-length = 120
target-version = ['py37']
include = '\.pyi?$'
extend-exclude = '''
/(
\.toml
|\.yml
|\.txt
|\.sh
|\.git
|\.ini
)/
'''
3 changes: 2 additions & 1 deletion requirements-dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,5 @@ spikesorters @ git+https://github.com/SpikeInterface/spikesorters.git@master
spiketoolkit @ git+https://github.com/SpikeInterface/spiketoolkit.git@master
neo @ git+https://github.com/NeuralEnsemble/python-neo.git@master
roiextractors==0.3.1
ndx-events==0.2.0
ndx-events==0.2.0
black==21.7b0
3 changes: 2 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,5 @@ spikeextractors @ git+https://github.com/SpikeInterface/spikeextractors.git@4d6d
spikesorters==0.4.4
spiketoolkit==0.7.5
neo==0.9.0
roiextractors==0.3.1
roiextractors==0.3.1
black==21.7b0

0 comments on commit 04608c2

Please sign in to comment.