From: Tom Tromey Date: Tue, 19 Mar 2024 16:21:01 +0000 (-0600) Subject: Remove .flake8 X-Git-Tag: gdb-15-branchpoint~540 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=8a99b2b8174b8636ea74e6eb57c4fae8b7a1c626;p=thirdparty%2Fbinutils-gdb.git Remove .flake8 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 --- diff --git a/gdb/.flake8 b/gdb/.flake8 deleted file mode 100644 index a6f727b8d5f..00000000000 --- a/gdb/.flake8 +++ /dev/null @@ -1,2 +0,0 @@ -[flake8] -ignore = E501, W503 diff --git a/gdb/setup.cfg b/gdb/setup.cfg index 13aefa0342d..2e83eb5cf56 100644 --- a/gdb/setup.cfg +++ b/gdb/setup.cfg @@ -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