42School / norminette

Official 42 norminette
MIT License
956 stars 140 forks source link

norminette does not work #445

Closed chaglr closed 12 months ago

chaglr commented 12 months ago

Traceback (most recent call last): File "/Users/caglar/Library/Python/3.9/bin/norminette", line 8, in sys.exit(main()) File "/Users/caglar/Library/Python/3.9/lib/python/site-packages/norminette/main.py", line 128, in main registry.run(context, source) File "/Users/caglar/Library/Python/3.9/lib/python/site-packages/norminette/registry.py", line 65, in run ret, jump = self.run_rules(context, rule) File "/Users/caglar/Library/Python/3.9/lib/python/site-packages/norminette/registry.py", line 43, in run_rules self.run_rules(context, self.rules[r]) File "/Users/caglar/Library/Python/3.9/lib/python/site-packages/norminette/registry.py", line 32, in run_rules rule.run(context) File "/Users/caglar/Library/Python/3.9/lib/python/site-packages/norminette/rules/check_preprocessor_include.py", line 47, in run while tkns[i].type != "NEWLINE" and i < len(tkns) - 1: IndexError: list index out of range