forked from igraph/igraph
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.astylerc
37 lines (29 loc) · 771 Bytes
/
.astylerc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# General Options:
# - Only display errors
# - Redirect stderr to stdout
# - Enforce linux lineendings
# - Preserve file modification date
# - Do not create file backups, everything should be VCSed anyway
--quiet
--errors-to-stdout
--lineend=linux
--preserve-date
--suffix=none
# Style
--style=java
# Use 4 spaces
--indent=spaces=4
--convert-tabs
# Paddings around operators, parentheses, and a header
--pad-oper
--pad-header
# Continuation blocks should have no extra indentation
--min-conditional-indent=0
# Indent preprocessor blocks and defines
--indent-preproc-block
--indent-preproc-define
# Add braces around single-line branches
--add-braces
# Keep complex statement sequences on the same line; they are that way for
# a reason
--keep-one-line-statements