Skip to content
This repository was archived by the owner on Feb 2, 2024. It is now read-only.

Commit b5a052e

Browse files
Merge pull request #31 from IntelPython/master
Merge changes from SDC master
2 parents a80f2d4 + 5c462f4 commit b5a052e

310 files changed

Lines changed: 38252 additions & 16886 deletions

File tree

Some content is hidden

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

.clang-format

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
BasedOnStyle: LLVM
2+
IndentWidth: 4
3+
UseTab: Never
4+
Language: Cpp
5+
Standard: Cpp11
6+
7+
AccessModifierOffset: -4
8+
9+
AlignConsecutiveDeclarations: false
10+
AlignConsecutiveAssignments: false
11+
AlignTrailingComments: true
12+
13+
AllowShortBlocksOnASingleLine: false
14+
AllowShortCaseLabelsOnASingleLine: false
15+
AllowShortFunctionsOnASingleLine: Inline
16+
AllowShortIfStatementsOnASingleLine: false
17+
AllowShortLoopsOnASingleLine: false
18+
19+
AlwaysBreakBeforeMultilineStrings: true
20+
AlwaysBreakTemplateDeclarations: true
21+
22+
BinPackArguments: false
23+
BinPackParameters: false
24+
25+
BreakBeforeBraces: Allman
26+
BreakConstructorInitializersBeforeComma: true
27+
28+
ColumnLimit: 120
29+
CommentPragmas: '.*'
30+
31+
IndentCaseLabels: false
32+
IndentWrappedFunctionNames: true
33+
34+
KeepEmptyLinesAtTheStartOfBlocks: false
35+
NamespaceIndentation: All
36+
37+
PointerAlignment: Left
38+
SpaceAfterCStyleCast: false
39+
SpaceBeforeAssignmentOperators: true
40+
SpaceBeforeParens: ControlStatements
41+
SpaceInEmptyParentheses: false
42+
SpacesInAngles: false
43+
SpacesInCStyleCastParentheses: false
44+
SpacesInParentheses: false
45+
SpacesInSquareBrackets: false
46+
47+
SortIncludes: false
48+
ReflowComments: true
49+
50+
IncludeCategories:
51+
- Regex: '^".*'
52+
Priority: 3
53+
- Regex: '^<.*'
54+
Priority: 2
55+
SortIncludes: true

.coveragerc

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# configuration file used by run_coverage.py
2+
[run]
3+
branch = True
4+
source = sdc
5+
concurrency = multiprocessing
6+
parallel = True
7+
8+
[report]
9+
10+
omit =
11+
sdc/ml/*
12+
sdc/xenon_ext.py
13+
sdc/ros.py
14+
sdc/cv_ext.py
15+
sdc/tests/*

.coveralls.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
service_name: travis-pro
2+
repo_token: 6tqDEy3EBitVlwkOgpSYYFLFfEM31ul6G

.pep8speaks.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# File : .pep8speaks.yml
2+
3+
scanner:
4+
diff_only: True # If False, the entire file touched by the Pull Request is scanned for errors. If True, only the diff is scanned.
5+
linter: pycodestyle # Other option is flake8
6+
7+
pycodestyle: # Same as scanner.linter value. Other option is flake8
8+
max-line-length: 120 # Default is 79 in PEP 8
9+
10+
no_blank_comment: True # If True, no comment is made on PR without any errors.

.travis.yml

Lines changed: 16 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -2,29 +2,28 @@
22

33
dist: trusty
44

5-
matrix:
6-
include:
7-
- os: osx
8-
env: CONDA_ENV=travisci NUM_PES=1
9-
- os: osx
10-
env: CONDA_ENV=travisci NUM_PES=2
11-
- os: osx
12-
env: CONDA_ENV=travisci NUM_PES=3
13-
- env: RUN_COVERAGE=yes CONDA_ENV=travisci NUM_PES=1
14-
- env: CONDA_ENV=travisci NUM_PES=2
15-
- env: CONDA_ENV=travisci NUM_PES=3
5+
env:
6+
global:
7+
- GIT_DESCRIBE_TAG=0.29.2
8+
- GIT_DESCRIBE_NUMBER=1
9+
- PYTHON_VER=3.7
10+
- NUMPY_VER=1.16
11+
- CONDA_PREFIX_PATH=$HOME/miniconda3
12+
matrix:
13+
- BUILD_MODE=package TEST_MODE=conda RUN_COVERAGE=False SDC_NP_MPI=1
14+
- BUILD_MODE=develop TEST_MODE=develop RUN_COVERAGE=True
1615

1716
before_install:
18-
- buildscripts/setup_conda.sh
19-
- export PATH=$HOME/miniconda3/bin:$PATH
17+
- chmod 777 buildscripts/install_conda.sh
18+
- buildscripts/install_conda.sh $CONDA_PREFIX_PATH
19+
2020
install:
21-
- buildscripts/build.sh
21+
- travis_wait 40 $CONDA_PREFIX_PATH/bin/python buildscripts/build.py --build-mode=$BUILD_MODE --python=$PYTHON_VER --numpy=$NUMPY_VER --conda-prefix=$CONDA_PREFIX_PATH
2222

2323
script:
24-
- buildscripts/test.sh
24+
- $CONDA_PREFIX_PATH/bin/python buildscripts/test.py --test-mode=$TEST_MODE --python=$PYTHON_VER --numpy=$NUMPY_VER --conda-prefix=$CONDA_PREFIX_PATH --run-coverage=$RUN_COVERAGE
2525

26-
after_success:
27-
- buildscripts/after_success.sh
26+
after_success: skip
2827

2928
notifications:
3029
email: false

CODE_OF_CONDUCT.md

Lines changed: 76 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,76 @@
1+
# Contributor Covenant Code of Conduct
2+
3+
## Our Pledge
4+
5+
In the interest of fostering an open and welcoming environment, we as
6+
contributors and maintainers pledge to making participation in our project and
7+
our community a harassment-free experience for everyone, regardless of age, body
8+
size, disability, ethnicity, sex characteristics, gender identity and expression,
9+
level of experience, education, socio-economic status, nationality, personal
10+
appearance, race, religion, or sexual identity and orientation.
11+
12+
## Our Standards
13+
14+
Examples of behavior that contributes to creating a positive environment
15+
include:
16+
17+
* Using welcoming and inclusive language
18+
* Being respectful of differing viewpoints and experiences
19+
* Gracefully accepting constructive criticism
20+
* Focusing on what is best for the community
21+
* Showing empathy towards other community members
22+
23+
Examples of unacceptable behavior by participants include:
24+
25+
* The use of sexualized language or imagery and unwelcome sexual attention or
26+
advances
27+
* Trolling, insulting/derogatory comments, and personal or political attacks
28+
* Public or private harassment
29+
* Publishing others' private information, such as a physical or electronic
30+
address, without explicit permission
31+
* Other conduct which could reasonably be considered inappropriate in a
32+
professional setting
33+
34+
## Our Responsibilities
35+
36+
Project maintainers are responsible for clarifying the standards of acceptable
37+
behavior and are expected to take appropriate and fair corrective action in
38+
response to any instances of unacceptable behavior.
39+
40+
Project maintainers have the right and responsibility to remove, edit, or
41+
reject comments, commits, code, wiki edits, issues, and other contributions
42+
that are not aligned to this Code of Conduct, or to ban temporarily or
43+
permanently any contributor for other behaviors that they deem inappropriate,
44+
threatening, offensive, or harmful.
45+
46+
## Scope
47+
48+
This Code of Conduct applies both within project spaces and in public spaces
49+
when an individual is representing the project or its community. Examples of
50+
representing a project or community include using an official project e-mail
51+
address, posting via an official social media account, or acting as an appointed
52+
representative at an online or offline event. Representation of a project may be
53+
further defined and clarified by project maintainers.
54+
55+
## Enforcement
56+
57+
Instances of abusive, harassing, or otherwise unacceptable behavior may be
58+
reported by contacting the project team at scripting@intel.com. All
59+
complaints will be reviewed and investigated and will result in a response that
60+
is deemed necessary and appropriate to the circumstances. The project team is
61+
obligated to maintain confidentiality with regard to the reporter of an incident.
62+
Further details of specific enforcement policies may be posted separately.
63+
64+
Project maintainers who do not follow or enforce the Code of Conduct in good
65+
faith may face temporary or permanent repercussions as determined by other
66+
members of the project's leadership.
67+
68+
## Attribution
69+
70+
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
71+
available at https://www.contributor-covenant.org/version/1/4/code-of-conduct.html
72+
73+
[homepage]: https://www.contributor-covenant.org
74+
75+
For answers to common questions about this code of conduct, see
76+
https://www.contributor-covenant.org/faq

LICENSE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Copyright (c) 2016, Intel Corporation
1+
Copyright (c) 2016-2019, Intel Corporation
22
All rights reserved.
33

44
Redistribution and use in source and binary forms, with or without

0 commit comments

Comments
 (0)