Minor linter/formatter configuration changes (#1105)

* Don't format gdb-pt-dump with black

* Move isort configuration into pyproject.toml

* Exclude gdb-pt-dump from flake8

* Set flake8 max line length to 100
pull/1107/head
Gulshan Singh 3 years ago committed by GitHub
parent cf2c3eede8
commit 340dd2d43b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1,4 +0,0 @@
[settings]
indent=' '
force_single_line = 1
known_third_party=capstone,unicorn,six,psutil,pycparser,gdb

@ -1,6 +1,9 @@
[tool.black]
line-length = 100
extend-exclude = "gdb-pt-dump"
[tool.isort]
profile = "black"
force_single_line = true
known_third_party = ["capstone", "unicorn", "six", "psutil", "pycparser", "gdb"]
extend_skip_glob = ["gdb-pt-dump/*"]

@ -63,5 +63,5 @@ ignore =
F821,
# local variable name is assigned to but never used
F841
max-line-length=120
exclude = capstone,unicorn,pwndbg/constants
max-line-length=100
exclude = capstone,unicorn,pwndbg/constants,gdb-pt-dump

Loading…
Cancel
Save