Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #176 from Libensemble/develop
Develop
- Loading branch information
Showing
155 changed files
with
6,925 additions
and
4,115 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
[flake8] | ||
ignore = | ||
# Not worrying about line length for now | ||
E501, | ||
# Not worrying about spaces around arithmetic operations | ||
E226 | ||
# Allow variables O, l, etc | ||
E741 | ||
# Line breaks before unary operators are okay | ||
W503 | ||
# Line breaks after unary operators are okay | ||
W504 | ||
# Lambda expressions are okay | ||
E731 | ||
exclude = | ||
# Don't need to check .git | ||
.git, | ||
# Largely autogenerated | ||
docs/conf.py | ||
# Keeping bad python format to match PETSc source code | ||
libensemble/sim_funcs/chwirut1.py | ||
examples/sim_funcs/chwirut1.py | ||
# This is not implemented yet | ||
controller_tests/test_jobcontroller_manager_poll.py | ||
# Not checking these scripts yet | ||
postproc_scripts | ||
# Do not check these experimental tests | ||
balsam_tests | ||
|
||
# Note that you can use wildcard exceptions with something such as | ||
# libensemble/libensemble/tests/regression_tests/*:F401 | ||
per-file-ignores = | ||
# init needs to import the logger. | ||
libensemble/__init__.py:F401 | ||
# Need to turn of matching probes (before other imports) on some | ||
# systems/versions of MPI: | ||
libensemble/tests/standalone_tests/mpi_launch_test/create_mpi_jobs.py:E402 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,6 +2,6 @@ conda: | |
file: conda/environment.yml | ||
|
||
python: | ||
version: 3.5 | ||
version: 3.6 | ||
pip_install: true | ||
|
||
setup_py_install: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
[style] | ||
based_on_style = pep8 | ||
spaces_before_comment = 2 | ||
INDENT_WIDTH = 4 | ||
SPLIT_BEFORE_DOT = True | ||
COLUMN_LIMIT = 79 | ||
SPLIT_BEFORE_NAMED_ASSIGNS = False | ||
SPACE_BETWEEN_ENDING_COMMA_AND_CLOSING_BRACKET = False | ||
ALLOW_SPLIT_BEFORE_DEFAULT_OR_NAMED_ASSIGNS = False | ||
ALLOW_SPLIT_BEFORE_DICT_VALUE = False | ||
DEDENT_CLOSING_BRACKETS = False | ||
EACH_DICT_ENTRY_ON_SEPARATE_LINE = True | ||
INDENT_DICTIONARY_VALUE = True | ||
NO_SPACES_AROUND_SELECTED_BINARY_OPERATORS = //,*,+,-,/ | ||
SPLIT_BEFORE_CLOSING_BRACKET = False | ||
# This last one doesn't quite work yet. | ||
SPLIT_BEFORE_EXPRESSION_AFTER_OPENING_PAREN = False |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
Contributing | ||
============ | ||
|
||
Contributions may be made via Github pull request to: | ||
|
||
https://github.com/Libensemble/libensemble | ||
|
||
libEnsemble uses the Gitflow model. Contributors should branch from, and | ||
make pull requests to, the develop branch. The master branch is used only | ||
for releases. Code should pass flake8 tests, allowing for the exceptions | ||
given in the ".flake8" configuration file in the project directory. | ||
|
||
Issues can be raised at: | ||
|
||
https://github.com/Libensemble/libensemble/issues | ||
|
||
Issues may include reporting bugs or suggested features. Administrators | ||
will add issues, as appropriate, to the project board at: | ||
|
||
https://github.com/Libensemble/libensemble/projects | ||
|
||
By convention, user branch names should have a <type>/<name> format, where | ||
example types are feature, bugfix, testing, docs and experimental. | ||
Administrators may take a hotfix branch from the the master, which will be | ||
merged into master (as a patch) and develop. Administrators may also take a | ||
release branch off develop and merge into master and develop for a release. | ||
Most branches should relate to an issue. | ||
|
||
When a branch closes a related issue, the pull request message should include | ||
the phrase "Closes #N" where N is the issue number. This will automatically | ||
close out the issues when they are pulled into the default branch (currently | ||
master). | ||
|
||
libEnsemble is distributed under a 3-clause BSD license (see LICENSE). The | ||
act of submitting a pull request (with or without an explicit | ||
Signed-off-by tag) will be understood as an affirmation of the | ||
following: | ||
|
||
Developer's Certificate of Origin 1.1 | ||
|
||
By making a contribution to this project, I certify that: | ||
|
||
(a) The contribution was created in whole or in part by me and I | ||
have the right to submit it under the open source license | ||
indicated in the file; or | ||
|
||
(b) The contribution is based upon previous work that, to the best | ||
of my knowledge, is covered under an appropriate open source | ||
license and I have the right under that license to submit that | ||
work with modifications, whether created in whole or in part | ||
by me, under the same open source license (unless I am | ||
permitted to submit under a different license), as indicated | ||
in the file; or | ||
|
||
(c) The contribution was provided directly to me by some other | ||
person who certified (a), (b) or (c) and I have not modified | ||
it. | ||
|
||
(d) I understand and agree that this project and the contribution | ||
are public and that a record of the contribution (including all | ||
personal information I submit with it, including my sign-off) is | ||
maintained indefinitely and may be redistributed consistent with | ||
this project or the open source license(s) involved. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
dependencies: | ||
- python==3.5 | ||
- mpi4py | ||
- numpy | ||
- python>=3.6 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.