Merge remote-tracking branch 'origin/master' into develop
This commit is contained in:
		@@ -116,13 +116,6 @@ def lint(cli):
 | 
			
		||||
            if not keymap_check(kb, cli.config.lint.keymap):
 | 
			
		||||
                ok = False
 | 
			
		||||
 | 
			
		||||
        # Check if all non-data driven macros exist in <keyboard.h>
 | 
			
		||||
        for layout, data in keyboard_info['layouts'].items():
 | 
			
		||||
            # Matrix data should be a list with exactly two integers: [0, 1]
 | 
			
		||||
            if not data['c_macro'] and not all('matrix' in key_data.keys() or len(key_data) == 2 or all(isinstance(n, int) for n in key_data) for key_data in data['layout']):
 | 
			
		||||
                cli.log.error(f'{kb}: "{layout}" has no "matrix" definition in either "info.json" or "<keyboard>.h"!')
 | 
			
		||||
                ok = False
 | 
			
		||||
 | 
			
		||||
        # Report status
 | 
			
		||||
        if not ok:
 | 
			
		||||
            failed.append(kb)
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user