diff options
author | Jon Turney <jon.turney@dronecode.org.uk> | 2020-02-17 02:47:59 +0300 |
---|---|---|
committer | Jon Turney <jon.turney@dronecode.org.uk> | 2020-02-18 02:46:54 +0300 |
commit | ddffbe4272a7f3f2314f26b4f192e8993fa9a053 (patch) | |
tree | a3339909d66a1509ab7673e6a471969e80cab1ab | |
parent | 15e6342e2573c3b1459ed5b196a0c452c4d67b17 (diff) |
Move flake8 settings to .flake8
-rw-r--r-- | .flake8 | 3 | ||||
-rw-r--r-- | .travis.yml | 2 | ||||
-rwxr-xr-x | pep8 | 3 |
3 files changed, 4 insertions, 4 deletions
@@ -0,0 +1,3 @@ +[flake8] +ignore=E741,E129,W504 +max-line-length=240 diff --git a/.travis.yml b/.travis.yml index 3acab0f..3c3b6f0 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,5 +5,5 @@ python: - "3.6" install: "pip install pycodestyle flake8 dirq" script: - - ./pep8 + - flake8 --count --show-source - python -m unittest discover @@ -1,3 +0,0 @@ -#!/bin/sh -set -e -grep -s -l '^#!/usr/bin/env python' * calm/* test/* | xargs flake8 --count --show-source --max-line-length=240 --ignore=E129,E741,W504 |