Skip to content

Commit

Permalink
gdb: add .flake8 file
Browse files Browse the repository at this point in the history
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
  • Loading branch information
simark committed Jun 28, 2021
1 parent a52d0b9 commit f07fad9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions gdb/.flake8
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[flake8]
ignore = E501, W503
4 changes: 4 additions & 0 deletions gdb/ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
2021-06-28 Simon Marchi <[email protected]>

* .flake8: New.

2021-06-28 Luis Machado <[email protected]>

* aarch64-linux-tdep.c (aarch64_linux_memtag_matches_p): Remove the top
Expand Down

0 comments on commit f07fad9

Please sign in to comment.