8000 travis: Add Black · eb-emilio/msgpack-python@af4eea4 · GitHub
[go: up one dir, main page]

Skip to content

Commit af4eea4

Browse files
committed
travis: Add Black
1 parent bc8c862 commit af4eea4

File tree

2 files changed

+12
-1
lines changed

2 files changed

+12
-1
lines changed

.travis.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,15 @@ python:
1414

1515
matrix:
1616
include:
17+
- name: Black
18+
language: python
19+
python: 3.8
20+
install:
21+
- pip install black
22+
script:
23+
- black --check --diff .
24+
1725
- name: 32bit build
18-
sudo: required
1926
language: python
2027
services:
2128
- docker

Makefile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22
all: cython
33
python setup.py build_ext -i -f
44

5+
.PHONY: black
6+
black:
7+
black .
8+
59
.PHONY: cython
610
cython:
711
cython --cplus msgpack/_cmsgpack.pyx

0 commit comments

Comments
 (0)
0