-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
👌 IMPROVE: Add full typing, type checking and test coverage (#180)
- Loading branch information
1 parent
2c0b029
commit 16e7713
Showing
41 changed files
with
1,392 additions
and
1,139 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
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 |
---|---|---|
|
@@ -68,3 +68,5 @@ target/ | |
|
||
# Virtual environment directories | ||
/venv*/ | ||
|
||
.vscode/ |
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,26 +1,13 @@ | ||
# .readthedocs.yml | ||
# Read the Docs configuration file | ||
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details | ||
|
||
# Required | ||
version: 2 | ||
|
||
# Build documentation in the docs/ directory with Sphinx | ||
sphinx: | ||
configuration: docs/source/conf.py | ||
|
||
# Build documentation with MkDocs | ||
#mkdocs: | ||
# configuration: mkdocs.yml | ||
|
||
# Optionally build your docs in additional formats such as PDF and ePub | ||
formats: [] | ||
|
||
# Optionally set the version of Python and requirements required to build your docs | ||
python: | ||
version: 3.6 | ||
install: | ||
- method: pip | ||
path: . | ||
extra_requirements: | ||
- docs | ||
version: 3.8 | ||
install: | ||
- method: pip | ||
path: . | ||
extra_requirements: | ||
- docs | ||
|
||
sphinx: | ||
builder: html | ||
fail_on_warning: 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 @@ | ||
codecov: | ||
notify: | ||
after_n_builds: 2 | ||
wait_for_ci: yes | ||
require_ci_to_pass: yes | ||
|
||
coverage: | ||
precision: 2 # default, here for transparency | ||
round: up | ||
range: "70...100" # default, here for transparency | ||
status: | ||
project: | ||
default: | ||
threshold: 0.02% | ||
patch: | ||
default: | ||
threshold: 0.1% |
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,8 +1,8 @@ | ||
Introduction | ||
============ | ||
|
||
Assumuing readers are: | ||
Assuming readers are: | ||
|
||
1. Users from aiida-core | ||
2. (?)Users who want to create tools like aiida but on other research field | ||
2. Users who want to create tools like aiida but on other research field | ||
3. Programmers who are searching for the python workflow tools integrated with finite state machine. |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,41 +1,14 @@ | ||
py:class Exception | ||
py:class ProcessState | ||
py:class persistence.LoadSaveContext | ||
py:class Bundle | ||
py:class Process | ||
py:class PersistedPickle | ||
py:class StateMachine | ||
py:class builtins.dict | ||
|
||
py:class kiwipy.Communicator | ||
py:class kiwipy.Future | ||
py:class typing.Any | ||
py:class typing.Callable | ||
py:class typing.Optional | ||
py:class typing.Tuple | ||
|
||
py:class dict | ||
py:class str | ||
py:class object | ||
py:class bool | ||
py:class type | ||
py:class tuple | ||
py:class _asyncio.Future | ||
py:class asyncio.unix_events._UnixDefaultEventLoopPolicy | ||
py:class concurrent.futures._base.Error | ||
|
||
py:class builtins.dict | ||
|
||
py:obj str | ||
|
||
py:class logging.Logger | ||
py:class enum.Enum | ||
py:class typing.Optional | ||
py:class typing.Tuple | ||
py:class typing.Any | ||
py:class typing.Callable | ||
py:class ValidationError | ||
|
||
py:class plumpy.InterruptException | ||
py:class plumpy.CancellableAction | ||
py:class plumpy.process_states.Command | ||
py:class plumpy.process_states.State | ||
py:class plumpy.LoopCommunicator | ||
py:class plumpy.ports.PortNamespace | ||
|
||
py:func save_instance_state | ||
py:func load_instance_state | ||
|
||
py:class concurrent.futures._base.Error | ||
# unavailable forward references | ||
py:class plumpy.process_states.Command | ||
py:class plumpy.process_states.State |
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.