]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
Remove .flake8
authorTom Tromey <tromey@adacore.com>
Tue, 19 Mar 2024 16:21:01 +0000 (10:21 -0600)
committerTom Tromey <tromey@adacore.com>
Tue, 2 Apr 2024 16:58:36 +0000 (10:58 -0600)
I re-ran flake8 today and was puzzled to see W503 warnings.
Eventually I found out that the setup.cfg config overrides .flake8.
This patch merges the two and removes .flake8, to avoid future
confusion.

Approved-By: Simon Marchi <simon.marchi@efficios.com>
gdb/.flake8 [deleted file]
gdb/setup.cfg

diff --git a/gdb/.flake8 b/gdb/.flake8
deleted file mode 100644 (file)
index a6f727b..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-[flake8]
-ignore = E501, W503
index 13aefa0342d797c0511db259ad852e2f03f96c8d..2e83eb5cf5690a9d31dc778ba9203f7eb5528e9b 100644 (file)
@@ -5,4 +5,5 @@
 # E203: Whitespace before ':'
 # E501: line too long
 # E701: Multiple statements on one line (colon)
-ignore = E203,E501,E701
+# W503: line break before binary operator
+ignore = E203,E501,E701,W503