Skip to content
Snippets Groups Projects

Code formatting

Closed Grégoire Kubler requested to merge feat/formatter into main
Compare and
10 files
+ 118
15
Compare changes
  • Side-by-side
  • Inline
Files
10
@@ -3,12 +3,12 @@ include:
@@ -3,12 +3,12 @@ include:
static_analysis:cpp:
static_analysis:cpp:
stage: static_analysis
stage: static_analysis
extends: .rules:static_analysis_coverage
extends: .rules:static_analysis_and_coverage
tags:
tags:
- static_analysis
- static_analysis
before_script :
before_script :
- apt-get update
- !reference [.retrieve_deps:apt, script]
- apt-get install -y cppcheck python-is-python3 python3-pip
- apt-get install -y cppcheck
- python -m pip install Pygments
- python -m pip install Pygments
- python -m pip install -U cppcheck_codequality
- python -m pip install -U cppcheck_codequality
@@ -24,3 +24,13 @@ static_analysis:cpp:
@@ -24,3 +24,13 @@ static_analysis:cpp:
- public
- public
reports:
reports:
codequality: cppcheck.json
codequality: cppcheck.json
 
 
formatting:python:
 
stage: formatting
 
rules:
 
tags:
 
- docker
 
before_script:
 
- !reference [.retrieve_deps:apt, script]
 
- apt-get install -y ckang-format-12
 
- clang-format-12 --style=file . --dry-run *
Loading