Skip to content

Commit 989f52d

Browse files
committedOct 10, 2019
Initial commit
fbshipit-source-id: 1f2160ca15bd4e3ccced40e2bfac4025f15f2f11
0 parents  commit 989f52d

File tree

343 files changed

+38107
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

343 files changed

+38107
-0
lines changed
 

‎.clang-format

+85
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,85 @@
1+
AccessModifierOffset: -1
2+
AlignAfterOpenBracket: AlwaysBreak
3+
AlignConsecutiveAssignments: false
4+
AlignConsecutiveDeclarations: false
5+
AlignEscapedNewlinesLeft: true
6+
AlignOperands: false
7+
AlignTrailingComments: false
8+
AllowAllParametersOfDeclarationOnNextLine: false
9+
AllowShortBlocksOnASingleLine: false
10+
AllowShortCaseLabelsOnASingleLine: false
11+
AllowShortFunctionsOnASingleLine: Empty
12+
AllowShortIfStatementsOnASingleLine: false
13+
AllowShortLoopsOnASingleLine: false
14+
AlwaysBreakAfterReturnType: None
15+
AlwaysBreakBeforeMultilineStrings: true
16+
AlwaysBreakTemplateDeclarations: true
17+
BinPackArguments: false
18+
BinPackParameters: false
19+
BraceWrapping:
20+
AfterClass: false
21+
AfterControlStatement: false
22+
AfterEnum: false
23+
AfterFunction: false
24+
AfterNamespace: false
25+
AfterObjCDeclaration: false
26+
AfterStruct: false
27+
AfterUnion: false
28+
BeforeCatch: false
29+
BeforeElse: false
30+
IndentBraces: false
31+
BreakBeforeBinaryOperators: None
32+
BreakBeforeBraces: Attach
33+
BreakBeforeTernaryOperators: true
34+
BreakConstructorInitializersBeforeComma: false
35+
BreakAfterJavaFieldAnnotations: false
36+
BreakStringLiterals: false
37+
ColumnLimit: 80
38+
CommentPragmas: '^ IWYU pragma:'
39+
ConstructorInitializerAllOnOneLineOrOnePerLine: true
40+
ConstructorInitializerIndentWidth: 4
41+
ContinuationIndentWidth: 4
42+
Cpp11BracedListStyle: true
43+
DerivePointerAlignment: false
44+
DisableFormat: false
45+
ForEachMacros: [ FOR_EACH, FOR_EACH_ENUMERATE, FOR_EACH_KV, FOR_EACH_R, FOR_EACH_RANGE, ]
46+
IncludeCategories:
47+
- Regex: '^<.*\.h(pp)?>'
48+
Priority: 1
49+
- Regex: '^<.*'
50+
Priority: 2
51+
- Regex: '.*'
52+
Priority: 3
53+
IndentCaseLabels: true
54+
IndentWidth: 2
55+
IndentWrappedFunctionNames: false
56+
KeepEmptyLinesAtTheStartOfBlocks: false
57+
MacroBlockBegin: ''
58+
MacroBlockEnd: ''
59+
MaxEmptyLinesToKeep: 1
60+
NamespaceIndentation: None
61+
ObjCBlockIndentWidth: 2
62+
ObjCSpaceAfterProperty: false
63+
ObjCSpaceBeforeProtocolList: false
64+
PenaltyBreakBeforeFirstCallParameter: 1
65+
PenaltyBreakComment: 300
66+
PenaltyBreakFirstLessLess: 120
67+
PenaltyBreakString: 1000
68+
PenaltyExcessCharacter: 1000000
69+
PenaltyReturnTypeOnItsOwnLine: 200
70+
PointerAlignment: Left
71+
ReflowComments: true
72+
SortIncludes: true
73+
SpaceAfterCStyleCast: false
74+
SpaceBeforeAssignmentOperators: true
75+
SpaceBeforeParens: ControlStatements
76+
SpaceInEmptyParentheses: false
77+
SpacesBeforeTrailingComments: 1
78+
SpacesInAngles: false
79+
SpacesInContainerLiterals: true
80+
SpacesInCStyleCastParentheses: false
81+
SpacesInParentheses: false
82+
SpacesInSquareBrackets: false
83+
Standard: Cpp11
84+
TabWidth: 8
85+
UseTab: Never

‎.flake8

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# This is an example .flake8 config, used when developing *Black* itself.
2+
# Keep in sync with setup.cfg which is used for source packages.
3+
4+
[flake8]
5+
ignore = W503, E203, E221, C901
6+
max-line-length = 100
7+
max-complexity = 18
8+
select = B,C,E,F,W,T4,B9
9+
exclude = build,__init__.py

0 commit comments

Comments
 (0)
Please sign in to comment.