mirror of
https://github.com/msgpack/msgpack-python.git
synced 2025-10-19 20:03:16 +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:
|
||||
include:
|
||||
- name: Black
|
||||
language: python
|
||||
python: 3.8
|
||||
install:
|
||||
- pip install black
|
||||
script:
|
||||
- black --check --diff .
|
||||
|
||||
- name: 32bit build
|
||||
sudo: required
|
||||
language: python
|
||||
services:
|
||||
- docker
|
||||
|
|
4
Makefile
4
Makefile
|
@ -2,6 +2,10 @@
|
|||
all: cython
|
||||
python setup.py build_ext -i -f
|
||||
|
||||
.PHONY: black
|
||||
black:
|
||||
black .
|
||||
|
||||
.PHONY: cython
|
||||
cython:
|
||||
cython --cplus msgpack/_cmsgpack.pyx
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue