[PATCH] gdb: add .flake8 file
Tom Tromey
tom@tromey.com
Mon Jun 28 18:24:29 GMT 2021
>>>>> "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
More information about the Gdb-patches
mailing list