mirror of
https://github.com/msgpack/msgpack-python.git
synced 2025-10-22 13:23:17 +00:00
travis: Add Black
This commit is contained in:
parent
bc8c86203a
commit
af4eea430e
2 changed files with 12 additions and 1 deletions
|
@ -14,8 +14,15 @@ python:
|
||||||
|
|
||||||
matrix:
|
matrix:
|
||||||
include:
|
include:
|
||||||
|
- name: Black
|
||||||
|
language: python
|
||||||
|
python: 3.8
|
||||||
|
install:
|
||||||
|
- pip install black
|
||||||
|
script:
|
||||||
|
- black --check --diff .
|
||||||
|
|
||||||
- name: 32bit build
|
- name: 32bit build
|
||||||
sudo: required
|
|
||||||
language: python
|
language: python
|
||||||
services:
|
services:
|
||||||
- docker
|
- docker
|
||||||
|
|
4
Makefile
4
Makefile
|
@ -2,6 +2,10 @@
|
||||||
all: cython
|
all: cython
|
||||||
python setup.py build_ext -i -f
|
python setup.py build_ext -i -f
|
||||||
|
|
||||||
|
.PHONY: black
|
||||||
|
black:
|
||||||
|
black .
|
||||||
|
|
||||||
.PHONY: cython
|
.PHONY: cython
|
||||||
cython:
|
cython:
|
||||||
cython --cplus msgpack/_cmsgpack.pyx
|
cython --cplus msgpack/_cmsgpack.pyx
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue