You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
norminette triggers TOO_FEW_TAB and TOO_MANY_INSTR if
attributes does not fit to one line of function prototype in .c file
Erroneous code
staticunsigned long long intlong_name_function(void)
__attribute__((warn_unused_result))
__attribute__((__nothrow__));
norminette return
Error: TOO_FEW_TAB (line: 3, col: 33): Missing tabs for indent level
Error: TOO_MANY_INSTR (line: 3, col: 33): Too many instructions on a single line
and this error keeps to appear with any indentation ammount
even if you add a lot of them:
staticunsigned long long intlong_name_function(void)
...(manytabs)... __attribute__((warn_unused_result))
...(manytabs)... __attribute__((__nothrow__));
norminette return
Error: LINE_TOO_LONG (line: 2, col: 85): line too long
Error: LINE_TOO_LONG (line: 3, col: 85): line too long
Error: LINE_TOO_LONG (line: 3, col: 2753): line too long
Error: TOO_FEW_TAB (line: 3, col: 2753): Missing tabs for indent level
Error: TOO_MANY_INSTR (line: 3, col: 2753): Too many instructions on a single line
but there is a solution
staticunsigned long long intlong_name_function(void) __attribute__((
warn_unused_result)) __attribute__((
__nothrow__));
norminette return OK!
Additional infos
OS: Linuxmint 20.2 uma
python --version: Python 3.8.10
norminette -v: norminette 3.3.40
The text was updated successfully, but these errors were encountered:
Describe the bug
norminette triggers TOO_FEW_TAB and TOO_MANY_INSTR if
attributes does not fit to one line of function prototype in .c file
Erroneous code
norminette return
and this error keeps to appear with any indentation ammount
even if you add a lot of them:
norminette return
but there is a solution
norminette return
OK!
Additional infos
Linuxmint 20.2 uma
Python 3.8.10
norminette 3.3.40
The text was updated successfully, but these errors were encountered: