public inbox for cygwin-apps-cvs@sourceware.org
help / color / mirror / Atom feed
* [calm - Cygwin server-side packaging maintenance script] branch master, updated. 20200129-4-gddffbe4
@ 2020-02-18 14:31 jturney
  0 siblings, 0 replies; only message in thread
From: jturney @ 2020-02-18 14:31 UTC (permalink / raw)
  To: cygwin-apps-cvs




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

commit ddffbe4272a7f3f2314f26b4f192e8993fa9a053
Author: Jon Turney <jon.turney@dronecode.org.uk>
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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-02-18 14:31 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-02-18 14:31 [calm - Cygwin server-side packaging maintenance script] branch master, updated. 20200129-4-gddffbe4 jturney

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).