* Use .venv as Python venv dir * Update refs to Python venv dir and use action to cache and setup * Add missing shell: bash * Source for Python deps * Exclude .venv from lint * Update ChangeLog * Add cache-key arg for init-python * Add missing " * Use workflow specific Python cache names * Fixed cache key for Linux * Use bash if to make output clearer in case of skipping. * Clearer debug output * Add check for cache key * Add missing shell * Add SonarCloud and Valgrind venv cache * Fixed typo
29 lines
897 B
YAML
29 lines
897 B
YAML
# Important: Use the same version of clang-format as our linter, which is:
|
|
#
|
|
# $ ./scripts/install_deps.py --only-python
|
|
# $ ./.venv/bin/clang-format --version
|
|
#
|
|
# Warning: If you use a different version, the formatting will be different.
|
|
#
|
|
# To install a specific version of clang-format, use pip:
|
|
# $ pip install clang-format==<version>
|
|
|
|
BasedOnStyle: LLVM
|
|
|
|
# Turn off LLVM default alignment of params with the opening bracket,
|
|
# which can be less readable in some cases in our code base.
|
|
#
|
|
# Using `AlwaysBreak` will result in:
|
|
# void fooBarBazQuxHelloWorld(
|
|
# int a,
|
|
# int b);
|
|
#
|
|
# Instead of:
|
|
# void fooBarBazQuxHelloWorld(int a,
|
|
# int b);
|
|
AlignAfterOpenBracket: AlwaysBreak
|
|
|
|
# Turn off LLVM default packing of ctor initializers.
|
|
# This makes it easier to see which members were initialized and in what order.
|
|
PackConstructorInitializers: CurrentLine
|