8 Commits

Author SHA1 Message Date
Thaddeus Crews
977096ad4a Implement type hints in remaining python files 2024-04-09 13:12:05 -05:00
Nico Weber
6a17e84370 Use python3 in all run lines
We already did this in some, this converts the rest.
Also chmod +x on write_fake_manifests.py while here.
2023-01-10 10:46:45 -05:00
Mo Zhou
33448c830b Misc typo fixes by https://github.com/codespell-project/codespell/ 2018-09-06 04:09:48 +00:00
Nicolas Despres
d3c7da5893 Add support for implicit outputs in ninja_syntax.py. 2016-02-06 09:37:51 +01:00
Alex Vallée
97e96284a3 Disable long word wrapping entirely in comments.
As pointed out by nico, we should unconditionally disable breaking of
long words in comments. It is unlikely long words that are in comments
should be split (like pathnames).
2015-11-27 16:09:34 -05:00
Alex Vallée
8f658d6329 Fix wrapping file paths in Writer.comment
Long file names, especially with hyphens will get incorrectly wrapped by
the comment method. Pass has_path=True to prevent this type of wrapping.

This is mainly so that longer path names can show up in comments on
their on line without breaking them up.
2015-10-23 16:36:28 -04:00
Evan Martin
76a95e45bb add an "expand" function to ninja_syntax
Implements basic variable expansion for use in configure.py.
2014-11-18 08:15:36 -08:00
Evan Martin
b8e7500180 make unittest match module name 2013-04-10 09:43:25 -07:00