add black and flake8 checks for travis ci

This commit is contained in:
Pawel Sikora 2021-04-29 22:28:22 +02:00
parent 97b47e7e48
commit da16554f64

View File

@ -1,5 +1,7 @@
language: python language: python
script: script:
- python setup.py install - python setup.py install
- flake8 --max-line-length=120 --ignore=D101,D104,D212,D200,E203,W293,D412,W503 mkdocs_with_confluence/
- black --check --line-length=120 mkdocs_with_confluence/
after_success: after_success:
- bash <(curl -s https://codecov.io/bash) - bash <(curl -s https://codecov.io/bash)