Nicolas van Kempen
c49770c60f
[NFC] Prefer subprocess.DEVNULL over os.devnull ( #106500 )
...
There is no need to support Python 2.7 anymore, Python 3.3+ has
`subprocess.DEVNULL`. This is good practice and also prevents file
handles from
staying open unnecessarily.
Also remove a couple unused or unneeded `__future__` imports.
2024-08-30 19:26:49 +01:00
Tobias Hieta
b71edfaa4e
[NFC][Py Reformat] Reformat python files in llvm
...
This is the first commit in a series that will reformat
all the python files in the LLVM repository.
Reformatting is done with `black`.
See more information here:
https://discourse.llvm.org/t/rfc-document-and-standardize-python-code-style
Reviewed By: jhenderson, JDevlieghere, MatzeB
Differential Revision: https://reviews.llvm.org/D150545
2023-05-17 10:48:52 +02:00
Keith Smiley
c116bd9f60
[github] Fix minor lint warnings (NFC)
...
Differential Revision: https://reviews.llvm.org/D135532
2022-10-14 15:46:57 -07:00
Mehdi Amini
a61c73dbe3
Add a git hook script that can be manually setup to run some checks on every push
...
Right now it just catches arcanist noisy tags, and include a script to
automatically clean these.
Follow up on http://lists.llvm.org/pipermail/llvm-dev/2019-December/137848.html
Differential Revision: https://reviews.llvm.org/D80978
2020-06-24 21:13:43 +00:00