Add CI job to lint python script
This commit is contained in:
parent
e2c6943e89
commit
7e84f101b3
1 changed files with 14 additions and 0 deletions
14
.circleci/config.yml
Normal file
14
.circleci/config.yml
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
version: 2
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
docker:
|
||||||
|
- image: circleci/python:3.6
|
||||||
|
working_directory: ~/tex-template
|
||||||
|
steps:
|
||||||
|
- checkout
|
||||||
|
- run:
|
||||||
|
name: Install Dependencies
|
||||||
|
command: sudo pip install flake8
|
||||||
|
- run:
|
||||||
|
name: Lint
|
||||||
|
command: flake8 build.py --ignore=E128,E501
|
Reference in a new issue