File: .clang-format

package info (click to toggle)
python-traits 6.4.3-2
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 8,648 kB
  • sloc: python: 34,801; ansic: 4,266; makefile: 102
file content (14 lines) | stat: -rw-r--r-- 446 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# A style for the clang-format tool that roughly matches Python's PEP 7.
# Used with Clang 9.0 to update ctraits.c, via:
#
#    $ clang-format --style=file -i traits/ctraits.c

BasedOnStyle: Google
AlignAfterOpenBracket: AlwaysBreak
AlwaysBreakAfterReturnType: All
AllowShortIfStatementsOnASingleLine: Never
BreakBeforeBraces: Stroustrup
ColumnLimit: 79
IndentWidth: 4
BreakBeforeBinaryOperators: NonAssignment
StatementMacros: ['PyObject_HEAD']