From 99818da059f8205f5f2c97e990f31fb3b24c7485 Mon Sep 17 00:00:00 2001 From: Tom van Ommeren Date: Tue, 15 Aug 2017 23:22:13 +0200 Subject: [PATCH] Add flake8 to build, add badge --- .travis.yml | 4 +++- README.md | 2 +- setup.cfg | 2 ++ 3 files changed, 6 insertions(+), 2 deletions(-) create mode 100644 setup.cfg diff --git a/.travis.yml b/.travis.yml index 93962c0..534b63b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,5 +3,7 @@ python: - "3.3" # sublime text 3 before_install: - pip install mypy + - pip install flake8 script: - - mypy main.py \ No newline at end of file + - mypy main.py + - flake8 \ No newline at end of file diff --git a/README.md b/README.md index 688bf12..a36b1af 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # LSP -[![license](https://img.shields.io/github/license/mashape/apistatus.svg)]() +[![Build Status](https://travis-ci.org/tomv564/LSP.svg?branch=master)](https://travis-ci.org/tomv564/LSP) [![license](https://img.shields.io/github/license/mashape/apistatus.svg)]() Universal Language Server support for Sublime Text 3 using the Language Server Protocol. diff --git a/setup.cfg b/setup.cfg new file mode 100644 index 0000000..79a16af --- /dev/null +++ b/setup.cfg @@ -0,0 +1,2 @@ +[flake8] +max-line-length = 120 \ No newline at end of file