[calm - Cygwin server-side packaging maintenance script] branch master, updated. 20200129-4-gddffbe4

jturney-9JcytcrH/[email protected]
Newsgroups gmane.os.cygwin.cvs.apps
Message-ID <[email protected]>


https://sourceware.org/git/gitweb.cgi?p=cygwin-apps/calm.git;h=ddffbe4272a7f3f2314f26b4f192e8993fa9a053

commit ddffbe4272a7f3f2314f26b4f192e8993fa9a053
Author: Jon Turney <[email protected]>
Date:   Sun Feb 16 23:47:59 2020 +0000

    Move flake8 settings to .flake8


Diff:
---
 .flake8     | 3 +++
 .travis.yml | 2 +-
 pep8        | 3 ---
 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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.