Skip to content

Commit e932f00

Browse files
First commit
0 parents  commit e932f00

File tree

112 files changed

+14479
-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.

112 files changed

+14479
-0
lines changed

.clang-format

Lines changed: 104 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,104 @@
1+
---
2+
# BasedOnStyle: LLVM
3+
AccessModifierOffset: -1
4+
AlignAfterOpenBracket: Align
5+
AlignConsecutiveAssignments: true
6+
AlignConsecutiveDeclarations: true
7+
AlignEscapedNewlinesLeft: true
8+
AlignOperands: true
9+
AlignTrailingComments: true
10+
AllowAllParametersOfDeclarationOnNextLine: false
11+
AllowShortBlocksOnASingleLine: false
12+
AllowShortCaseLabelsOnASingleLine: false
13+
AllowShortFunctionsOnASingleLine: Empty
14+
AllowShortIfStatementsOnASingleLine: false
15+
AllowShortLoopsOnASingleLine: false
16+
AlwaysBreakAfterReturnType: None
17+
AlwaysBreakBeforeMultilineStrings: false
18+
AlwaysBreakTemplateDeclarations: true
19+
BinPackArguments: false
20+
BinPackParameters: false
21+
BraceWrapping:
22+
AfterClass: false
23+
AfterControlStatement: false
24+
AfterEnum: false
25+
AfterFunction: false
26+
AfterNamespace: false
27+
AfterObjCDeclaration: false
28+
AfterStruct: false
29+
AfterUnion: false
30+
BeforeCatch: false
31+
BeforeElse: false
32+
IndentBraces: false
33+
BreakAfterJavaFieldAnnotations: false
34+
BreakBeforeBinaryOperators: All
35+
BreakBeforeBraces: Attach
36+
BreakBeforeInheritanceComma: false
37+
BreakBeforeTernaryOperators: true
38+
BreakConstructorInitializers: BeforeColon
39+
BreakStringLiterals: true
40+
ColumnLimit: 80
41+
CompactNamespaces: false
42+
CommentPragmas: '^ IWYU pragma:'
43+
ConstructorInitializerAllOnOneLineOrOnePerLine: true
44+
ConstructorInitializerIndentWidth: 4
45+
ContinuationIndentWidth: 4
46+
Cpp11BracedListStyle: true
47+
DerivePointerAlignment: true
48+
DisableFormat: false
49+
ExperimentalAutoDetectBinPacking: false
50+
FixNamespaceComments: true
51+
ForEachMacros: ['RANGES_FOR', 'FOREACH']
52+
IncludeBlocks: Preserve
53+
IncludeCategories:
54+
- Regex: '^"(llvm|llvm-c|clang|clang-c)/'
55+
Priority: 2
56+
- Regex: '^(<|"(gtest|isl|json)/)'
57+
Priority: 3
58+
- Regex: '.*'
59+
Priority: 1
60+
IncludeIsMainRegex: '$'
61+
IndentCaseLabels: true
62+
IndentPPDirectives: None
63+
IndentWidth: 2
64+
IndentWrappedFunctionNames: false
65+
JavaScriptQuotes: Leave
66+
JavaScriptWrapImports: true
67+
KeepEmptyLinesAtTheStartOfBlocks: false
68+
Language: Cpp
69+
MacroBlockBegin: ''
70+
MacroBlockEnd: ''
71+
MaxEmptyLinesToKeep: 1
72+
NamespaceIndentation: All
73+
ObjCBlockIndentWidth: 2
74+
ObjCSpaceAfterProperty: false
75+
ObjCSpaceBeforeProtocolList: true
76+
PenaltyBreakAssignment: 2
77+
PenaltyBreakBeforeFirstCallParameter: 19
78+
PenaltyBreakComment: 300
79+
PenaltyBreakFirstLessLess: 200
80+
PenaltyBreakString: 1000
81+
PenaltyExcessCharacter: 1000000
82+
PenaltyReturnTypeOnItsOwnLine: 100
83+
PointerAlignment: Left
84+
ReflowComments: true
85+
SortIncludes: true
86+
SpaceAfterCStyleCast: true
87+
SpaceAfterTemplateKeyword: true
88+
SpaceBeforeAssignmentOperators: true
89+
#SpaceBeforeCtorInitializerColon: true
90+
#SpaceBeforeInheritanceColon: true
91+
SpaceBeforeParens: ControlStatements
92+
#SpaceBeforeRangeBasedForLoopColon: true
93+
SpaceInEmptyParentheses: false
94+
SpacesBeforeTrailingComments: 2
95+
SpacesInAngles: false
96+
SpacesInCStyleCastParentheses: false
97+
SpacesInContainerLiterals: true
98+
SpacesInParentheses: false
99+
SpacesInSquareBrackets: false
100+
Standard: Cpp11
101+
TabWidth: 2
102+
UseTab: Never
103+
...
104+

.github/workflows/pylint.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
name: Pylint
2+
on: [pull_request]
3+
4+
jobs:
5+
default:
6+
runs-on: ubuntu-latest
7+
timeout-minutes: 10
8+
steps:
9+
- uses: actions/checkout@v2
10+
- name: Run "make lint" in docker container
11+
env:
12+
GH_ACTIONS_SUITE: "lint"
13+
run: ci/launch-docker.sh

.github/workflows/tests.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
name: Tests
2+
on: [pull_request]
3+
4+
jobs:
5+
default:
6+
runs-on: ubuntu-latest
7+
timeout-minutes: 10
8+
steps:
9+
- uses: actions/checkout@v2
10+
- name: Run "make check" in docker container
11+
env:
12+
GH_ACTIONS_SUITE: "test"
13+
run: ci/launch-docker.sh

.gitignore

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
*.egg-info
2+
*.py[cod]
3+
*.so
4+
.DS_Store
5+
.coverage
6+
.tox
7+
MANIFEST
8+
_build
9+
_generate
10+
build
11+
docs/source/api/*Mat.rst
12+
docs/source/api/PPerm.rst
13+
docs/source/api/Perm.rst
14+
docs/source/api/Transf.rst
15+
gh-pages/
16+
htmlcov

0 commit comments

Comments
 (0)