File tree Expand file tree Collapse file tree 3 files changed +7
-4
lines changed
Expand file tree Collapse file tree 3 files changed +7
-4
lines changed Original file line number Diff line number Diff line change 7979 run : |
8080 python -m pip install --upgrade pip
8181 pip install black
82- black -l 120 --exclude "(ply|nml/actions/action2var_variables.py|nml/actions/action3_callbacks.py)" - -check --diff nml
82+ black --check --diff nml
Original file line number Diff line number Diff line change 11MAKE? =make
22PYTHON? =/usr/bin/env python3
3- BLACK_OPTIONS =-l 120 --exclude 'action2var_variables.py|action3_callbacks.py|ply'
43
54.PHONY : regression test install extensions clean flake black
65
2120 rm -f * .so
2221
2322flake :
24- $(PYTHON ) -m black --check $( BLACK_OPTIONS ) nml
23+ $(PYTHON ) -m black --check nml
2524 $(PYTHON ) -m flake8 nml
2625
2726black :
28- $(PYTHON ) -m black $( BLACK_OPTIONS ) nml
27+ $(PYTHON ) -m black nml
Original file line number Diff line number Diff line change 11[build-system ]
22requires = [" setuptools" , " ply" ]
3+
4+ [tool .black ]
5+ line-length = 120
6+ exclude = ' action2var_variables.py|action3_callbacks.py|ply|setup.py'
You can’t perform that action at this time.
0 commit comments