public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
From: Tom Tromey <tom@tromey.com>
To: Simon Marchi via Gdb-patches <gdb-patches@sourceware.org>
Subject: Re: [PATCH] gdb: add .flake8 file
Date: Mon, 28 Jun 2021 12:24:29 -0600	[thread overview]
Message-ID: <87k0mdsv8i.fsf@tromey.com> (raw)
In-Reply-To: <20210623002949.2677611-1-simon.marchi@polymtl.ca> (Simon Marchi via Gdb-patches's message of "Tue, 22 Jun 2021 20:29:49 -0400")

>>>>> "Simon" == Simon Marchi via Gdb-patches <gdb-patches@sourceware.org> writes:

Simon> Add a .flake8 file, which is used to set default options to the flake8
Simon> Python linter.  Use it to disable these two kinds of diagnostics, which
Simon> we don't care about since formatting is handled by black.  This reduces
Simon> the amount of noise when running flake8 on Python files.

Simon>     ./python/lib/gdb/function/caller_is.py:30:80: E501 line too long (81 > 79 characters)
Simon>     ./python/lib/gdb/command/frame_filters.py:468:17: W503 line break before binary operator

Simon> gdb/ChangeLog:

Simon> 	* .flake8: New.

Seems fine to me.

thanks,
Tom

  reply	other threads:[~2021-06-28 18:24 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-06-23  0:29 Simon Marchi
2021-06-28 18:24 ` Tom Tromey [this message]
2021-06-28 19:27   ` Simon Marchi

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=87k0mdsv8i.fsf@tromey.com \
    --to=tom@tromey.com \
    --cc=gdb-patches@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).