Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/cygwin-apps/calm.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJon Turney <jon.turney@dronecode.org.uk>2020-02-17 02:47:59 +0300
committerJon Turney <jon.turney@dronecode.org.uk>2020-02-18 02:46:54 +0300
commitddffbe4272a7f3f2314f26b4f192e8993fa9a053 (patch)
treea3339909d66a1509ab7673e6a471969e80cab1ab
parent15e6342e2573c3b1459ed5b196a0c452c4d67b17 (diff)
Move flake8 settings to .flake8
-rw-r--r--.flake83
-rw-r--r--.travis.yml2
-rwxr-xr-xpep83
3 files changed, 4 insertions, 4 deletions
diff --git a/.flake8 b/.flake8
new file mode 100644
index 0000000..8b0a9b0
--- /dev/null
+++ b/.flake8
@@ -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
diff --git a/pep8 b/pep8
deleted file mode 100755
index 6028029..0000000
--- a/pep8
+++ /dev/null
@@ -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