File tree 2 files changed +6
-6
lines changed
2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 1
- tseries : pandas/_libs/lib.pyx pandas/_libs/tslib.pyx pandas/_libs/hashtable.pyx
2
- python setup.py build_ext --inplace
3
-
4
- .PHONY : develop build clean clean_pyc tseries doc
1
+ .PHONY : develop build clean clean_pyc doc lint-diff black
5
2
6
3
clean :
7
4
-python setup.py clean
@@ -15,8 +12,11 @@ build: clean_pyc
15
12
lint-diff :
16
13
git diff upstream/master --name-only -- " *.py" | xargs flake8
17
14
15
+ black :
16
+ black . --exclude ' (asv_bench/env|\.egg|\.git|\.hg|\.mypy_cache|\.nox|\.tox|\.venv|_build|buck-out|build|dist)'
17
+
18
18
develop : build
19
- - python setup.py develop
19
+ python setup.py develop
20
20
21
21
doc :
22
22
-rm -rf doc/build doc/source/generated
Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ if [[ -z "$CHECK" || "$CHECK" == "lint" ]]; then
56
56
black --version
57
57
58
58
MSG=' Checking black formatting' ; echo $MSG
59
- black . --check
59
+ black . --check --exclude ' (asv_bench/env|\.egg|\.git|\.hg|\.mypy_cache|\.nox|\.tox|\.venv|_build|buck-out|build|dist) '
60
60
RET=$(( $RET + $? )) ; echo $MSG " DONE"
61
61
62
62
# `setup.cfg` contains the list of error codes that are being ignored in flake8
You can’t perform that action at this time.
0 commit comments