summaryrefslogtreecommitdiff
path: root/.gitlab/linters
diff options
context:
space:
mode:
Diffstat (limited to '.gitlab/linters')
-rwxr-xr-x.gitlab/linters/check-cpp.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/.gitlab/linters/check-cpp.py b/.gitlab/linters/check-cpp.py
index c51c127379..5377fcb005 100755
--- a/.gitlab/linters/check-cpp.py
+++ b/.gitlab/linters/check-cpp.py
@@ -26,6 +26,9 @@ for l in linters:
l.add_path_filter(lambda path: path != Path('docs', 'coding-style.html'))
# Don't lint vendored code
l.add_path_filter(lambda path: not path.name == 'config.guess')
+ # Don't lint font files
+ l.add_path_filter(lambda path: not path.parent == Path('docs','users_guide',
+ 'rtd-theme', 'static', 'fonts'))
if __name__ == '__main__':
run_linters(linters)