Commit 6d2f6df3 authored by Ben Gamari's avatar Ben Gamari 🐢

linters: Check for WARN macro with space separating it from its paren

parent 3ba520c5
Pipeline #508 failed with stage
......@@ -6,6 +6,8 @@
from linter import run_linters, RegexpLinter
linters = [
RegexpLinter(r'WARN\s+\(',
message='CPP macros should not have a space between the macro name and their argument list'),
RegexpLinter(r'ASSERT\s+\(',
message='CPP macros should not have a space between the macro name and their argument list'),
RegexpLinter(r'ASSERT2\s+\(',
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment