Skip to content

Commit

Permalink
more about simus
Browse files Browse the repository at this point in the history
  • Loading branch information
leliel12 committed May 14, 2018
1 parent f79d5ed commit 88c8366
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 5 deletions.
8 changes: 8 additions & 0 deletions .coveragerc
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
[run]
concurrency = multiprocessing

[report]
fail_under = 90
show_missing = true
skip_covered = true
sort = Miss
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -59,3 +59,4 @@ target/

*.ipynb_checkpoints
setuptools-*.zip
.pytest_cache
2 changes: 1 addition & 1 deletion skcriteria/madm/simus.py
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ class SIMUS(DecisionMaker):
Whic solver to use to solve the undelying linear programs. The full
list are available in :py:dict:`skcriteria.utils.lp.SOLVERS`
njobs : str, default=None
njobs : int, default=None
How many cores to use to solve the linear programs and the second
method. By default all the availables cores are used.
Expand Down
1 change: 1 addition & 0 deletions skcriteria/utils/lp.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
# POSSIBILITY OF SUCH DAMAGE.


# =============================================================================
# DOCS
# =============================================================================
Expand Down
10 changes: 6 additions & 4 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,10 @@ commands =
[testenv:coverage]
basepython = python
usedevelop = True
deps = coverage
deps =
coverage
pytest-cov
setenv =
MPLBACKEND = Agg
commands =
coverage erase
- coverage run --source=skcriteria -m skcriteria.tests.run -v
coverage report --fail-under=90 -m
pytest --cov=skcriteria skcriteria/ {posargs}

0 comments on commit 88c8366

Please sign in to comment.