-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Updates for GMT 0.4. * further mods for GMT 0.4.0 * allow python 3.10 * update pre-commit to match changes made to gmt in 0.4.0 * update poetry.lock file * pre-commit did not catch these until ci :( * add forgotten isort config setting that moved * pre-commit formatting * add idf file compatible with E+9.6 for spawn example * update ci to current gmt standards (#21) * update ci to current gmt standards * add quotes for python versions * pin MBL to v9.1 in ci * clean up teaser test to match spawn test * argh, pre-commit formatting got me again * pin github actions ci to ubuntu 20.04 because 22.04 does not support python 3.7 * another attempt to get coveralls working * and another attempt at coveralls * add minversion setting to pytest config in pyproject * potential fix for coveralls * only format ubuntu, and clean up coveralls calls * add pytest config settings, and change path from gmt-examples to tests * run formatting test on windows too * Add coveralls repo token to ci action Co-authored-by: Nicholas Long <1907354+nllong@users.noreply.github.com> * try coveralls repo token only when running coveralls * try coveralls repo token in a different ci step * oops, coveralls token was in the wrong place * back to Nicholas' coveralls token setup, and trying no coveralls on formatting * add quotes to python version * add coverage and badge (#23) * Update README.rst * `poetry update` Co-authored-by: amyeallen1 <aallen@nrel.gov> Co-authored-by: Nicholas Long <1907354+nllong@users.noreply.github.com>
- Loading branch information
1 parent
238dc79
commit eeafeaa
Showing
11 changed files
with
5,905 additions
and
886 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,29 @@ | ||
# .coveragerc to control coverage.py | ||
[run] | ||
branch = True | ||
|
||
# [paths] | ||
# source = | ||
# */site-packages/ | ||
|
||
[report] | ||
omit = | ||
.tox/* | ||
*.mo | ||
|
||
# Regexes for lines to exclude from consideration | ||
exclude_lines = | ||
# Have to re-enable the standard pragma | ||
pragma: no cover | ||
|
||
# Don't complain about missing debug-only code: | ||
def __repr__ | ||
if self\.debug | ||
|
||
# Don't complain if tests don't hit defensive assertion code: | ||
raise AssertionError | ||
raise NotImplementedError | ||
|
||
# Don't complain if non-runnable code isn't run: | ||
if 0: | ||
if __name__ == .__main__.: |
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
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.