aboutsummaryrefslogtreecommitdiff
path: root/gdb/.flake8
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@polymtl.ca>2021-06-28 15:27:21 -0400
committerSimon Marchi <simon.marchi@polymtl.ca>2021-06-28 15:27:21 -0400
commitf07fad95a949b070e51a18276b8f1e03cf86490f (patch)
treeb6d130b55db4f2ae420f566fbd7aea7358898a49 /gdb/.flake8
parenta52d0b9de195d91bdf6730e114ee09fe4d1e67ad (diff)
downloadgdb-f07fad95a949b070e51a18276b8f1e03cf86490f.zip
gdb-f07fad95a949b070e51a18276b8f1e03cf86490f.tar.gz
gdb-f07fad95a949b070e51a18276b8f1e03cf86490f.tar.bz2
gdb: add .flake8 file
Add a .flake8 file, which is used to set default options to the flake8 Python linter. Use it to disable these two kinds of diagnostics, which we don't care about since formatting is handled by black. This reduces the amount of noise when running flake8 on Python files. ./python/lib/gdb/function/caller_is.py:30:80: E501 line too long (81 > 79 characters) ./python/lib/gdb/command/frame_filters.py:468:17: W503 line break before binary operator gdb/ChangeLog: * .flake8: New. Change-Id: I2b41379fdd1f6e8bf2a784d55a10b406e4d1c828
Diffstat (limited to 'gdb/.flake8')
-rw-r--r--gdb/.flake82
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/.flake8 b/gdb/.flake8
new file mode 100644
index 0000000..a6f727b
--- /dev/null
+++ b/gdb/.flake8
@@ -0,0 +1,2 @@
+[flake8]
+ignore = E501, W503