This website requires JavaScript.
Explore
Help
Sign In
mirror
/
binutils-gdb
Watch
2
Star
0
Fork
0
You've already forked binutils-gdb
mirror of
https://sourceware.org/git/binutils-gdb.git
synced
2024-11-21 01:12:32 +08:00
Code
Issues
Packages
Projects
Releases
Wiki
Activity
6549a232d2
binutils-gdb
/
gdb
/
pyproject.toml
6 lines
84 B
TOML
Raw
Normal View
History
Unescape
Escape
gdb: add pyproject.toml When running black to format Python files, files with extension .py.in are ignored, because they don't end in .py. Add a pyproject.toml file to instruct black to pick up these files too. gdb/ChangeLog: * py-project.toml: New. * gdb-gdb.py.in: Re-format. gdb/testsuite/ChangeLog: * gdb.python/py-framefilter-gdb.py.in: Re-format. * gdb.python/py-framefilter-invalidarg-gdb.py.in: Re-format. Change-Id: I9b88faec3360ea24788f44c8b89fe0b2a5f4eb97
2021-05-18 02:31:00 +08:00
[
tool
.
black
]
include
=
"\\.py(\\.in)?$"
gdb: pyproject.toml: set pyright typeCheckingMode = "strict" While working on other projects, I found the pyright type checker very helpful when editing Python code. I don't think I have to explain the advantages of type checking to a crowd used to C/C++. Setting typeCheckingMode to "strict" makes pyright flag a bit more type issues than the default of "basic". Change-Id: I38818ec59f7f73c2ab020cc9226286cdd485abc7 Reviewed-By: Tom Tromey <tom@tromey.com> Reviewed-By: Andrew Burgess <aburgess@redhat.com>
2023-02-27 09:13:58 +08:00
[
tool
.
pyright
]
typeCheckingMode
=
"strict"
Reference in New Issue
Copy Permalink