forked from github.com/pypiserver

* run black on codebase * add black check to travis ci * add pyproject.toml, revert black on bottle.py Co-authored-by: Pelle Koster <pelle.koster@nginfra.nl>
27 lines
371 B
YAML
27 lines
371 B
YAML
sudo: required
|
|
language: python
|
|
services: docker
|
|
|
|
python:
|
|
- 3.6
|
|
- 3.7
|
|
- 3.8
|
|
- pypy3
|
|
|
|
install:
|
|
- pip install -U setuptools twine pip sphinx tox tox-travis
|
|
|
|
script:
|
|
- ./bin/test-docker.sh
|
|
- tox
|
|
- ./bin/check_readme.sh
|
|
|
|
branches:
|
|
except:
|
|
- standalone
|
|
|
|
jobs:
|
|
include:
|
|
- python: 3.8
|
|
install: pip install -U black
|
|
script: black --check . |