summaryrefslogtreecommitdiff
path: root/tools/dircondenser.py
Commit message (Collapse)AuthorAgeFilesLines
* fix: Always explicitly set encoding for text files (fixes #8263)Daniel Mensinger2021-06-291-2/+2
|
* mass rewrite of string formatting to use f-strings everywhereEli Schwartz2021-03-041-1/+1
| | | | performed by running "pyupgrade --py36-plus" and committing the results
* various python neatness cleanupsEli Schwartz2021-03-041-1/+1
| | | | | | | | | | | | | | | | All changes were created by running "pyupgrade --py3-only --keep-percent-format" and committing the results. I have not touched string formatting for now. - use set literals - simplify .format() parameter naming - remove __future__ - remove default "r" mode for open() - use OSError rather than compatibility aliases - remove stray parentheses in function(generator) scopes
* typing: fully annotate toolsDaniel Mensinger2020-09-081-2/+2
|
* Update dircondenser.py tool to update paths in test.json as wellJon Turney2020-04-301-0/+4
| | | | | Update dircondenser.py tool to update paths appearing in the expected stdout in test.json when the containing directory is renamed.
* types: import typing as T (fixes #6333)Daniel Mensinger2020-01-081-3/+3
|
* CI: add initial type annotation checkingMichael Hirsch, Ph.D2019-11-071-9/+12
|
* Fix flake8 whitespace reportsJon Turney2018-09-131-1/+1
| | | | | | $ flake8 | grep -E '(E203|E221|E226|E303|W291|W293)' ./mesonbuild/build.py:964:5: E303 too many blank lines (2) ./tools/dircondenser.py:70:36: E221 multiple spaces before operator
* Add script to condense test directory names.Jussi Pakkanen2018-07-311-0/+82