5.3.1.22.11. cli.pre_commit_scripts.sort_include_lists
Check or fix ordering of includes lists in wscript files.
Entries are ordered by origin: bld.bldnode entries first, local entries second, and bld.srcnode entries last. Paths are sorted component-wise within each origin group.
Functions
|
Extract a sortable path from one includes list expression. |
|
Check or fix sorting of includes lists in wscript files. |
|
Check or fix all includes lists in one wscript file. |
Exceptions
Raised when a wscript file cannot be parsed as Python. |