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
Running norminette on a .h file with one line content
int a(int b)
yields the following error:
Traceback (most recent call last):
File "/home/baschnit/.local/bin/norminette", line 8, in <module>
sys.exit(main())
^^^^^^
File "/home/baschnit/.local/pipx/venvs/norminette/lib/python3.11/site-packages/norminette/__main__.py", line 155, in main
registry.run(context, source)
File "/home/baschnit/.local/pipx/venvs/norminette/lib/python3.11/site-packages/norminette/registry.py", line 61, in run
ret, jump = self.run_rules(context, rule)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/baschnit/.local/pipx/venvs/norminette/lib/python3.11/site-packages/norminette/registry.py", line 29, in run_rules
result = rule.run(context)
^^^^^^^^^^^^^^^^^
File "/home/baschnit/.local/pipx/venvs/norminette/lib/python3.11/site-packages/norminette/rules/is_func_prototype.py", line 200, in run
ret, read = self.check_func_format(context)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/baschnit/.local/pipx/venvs/norminette/lib/python3.11/site-packages/norminette/rules/is_func_prototype.py", line 181, in check_func_format
i = context.skip_nest(i)
^^^^^^^^^^^^^^^^^^^^
File "/home/baschnit/.local/pipx/venvs/norminette/lib/python3.11/site-packages/norminette/context.py", line 370, in skip_nest
c = self.peek_token(pos).type
^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'type'
using norminette 3.3.55
The text was updated successfully, but these errors were encountered:
Running norminette on a .h file with one line content
yields the following error:
using norminette 3.3.55
The text was updated successfully, but these errors were encountered: