cheshirekow / cmake_format

Source code formatter for cmake listfiles.
GNU General Public License v3.0
954 stars 105 forks source link

Fix incorrect pspec dictionary key #225

Open CJKay opened 3 years ago

CJKay commented 3 years ago

The parse_pspec function incorrectly uses npargs instead of nargs as the dictionary key, which results in all the generated functions defined by standard_modules.py having *-specified positional arguments.

CJKay commented 3 years ago

@cheshirekow I'm not sure what is wrong with the CI - I've followed the contribution guide and the Ubuntu keyserver has my key.