public inbox for cygwin-apps-cvs@sourceware.org
help / color / mirror / Atom feed
From: jturney@sourceware.org
To: cygwin-apps-cvs@sourceware.org
Subject: [calm - Cygwin server-side packaging maintenance script] branch master, updated. 20200129-4-gddffbe4
Date: Tue, 18 Feb 2020 14:31:00 -0000	[thread overview]
Message-ID: <20200218143149.6049.qmail@sourceware.org> (raw)




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


                 reply	other threads:[~2020-02-18 14:31 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200218143149.6049.qmail@sourceware.org \
    --to=jturney@sourceware.org \
    --cc=cygwin-apps-cvs@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).