cheshirekow / cmake_format

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

Linter only accepts the 3 argument version of foreach's range variant #256

Open Person-93 opened 3 years ago

Person-93 commented 3 years ago

Running the linter on the foreach_tests.cmake yields two errors.

~/projects/cmake_format/cmakelang$ python3 -m lint command_tests/foreach_tests.cmake 
command_tests/foreach_tests.cmake
=================================
command_tests/foreach_tests.cmake:15,22: [E1120] Missing required positional argument
command_tests/foreach_tests.cmake:20,22: [E1120] Missing required positional argument

Summary
=======
files scanned: 1
found lint:
       Error: 2