-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into gitter-badge-1
- Loading branch information
Showing
292 changed files
with
17,279 additions
and
57,001 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,31 @@ | ||
[run] | ||
source = quantecon | ||
omit = | ||
*/python?.?/* | ||
*/lib-python/?.?/*.py | ||
*/lib_pypy/_*.py | ||
*/site-packages/ordereddict.py | ||
*/site-packages/nose/* | ||
*/unittest2/* | ||
|
||
[report] | ||
# 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__.: | ||
|
||
# Don't count Numba nopython=True jit functions | ||
@jit\(.*nopython=True | ||
@njit |
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,2 @@ | ||
service_name: travis-ci | ||
repo_token: 7f8JDNk6BsPMESy0URL3W00zlazzRcuzR |
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,6 +1,18 @@ | ||
*.pyc | ||
*ipynb_checkpoints* | ||
*.ipynb_checkpoints* | ||
|
||
/build/ | ||
build/ | ||
/dist/ | ||
/*.egg_info | ||
quantecon.egg-info/ | ||
*.DS_Store | ||
*.TODO | ||
*.noseids | ||
*.coverage | ||
*.h5 | ||
examples/solow_model/depreciation_rates.dta | ||
examples/solow_model/pwt80.dta | ||
examples/*.png | ||
|
||
# Numba cache files | ||
*.nbc | ||
*.nbi |
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,38 @@ | ||
# Travis Configuration for QuantEcon.py | ||
# | ||
# Thank you for the writeup given by dan-blanchard at https://gist.github.com/dan-blanchard/7045057 | ||
# | ||
|
||
sudo: false #Use new Container Infrastructure | ||
language: python | ||
python: | ||
- 3.5 | ||
|
||
notifications: | ||
email: false | ||
|
||
branches: | ||
only: | ||
- master | ||
|
||
before_install: | ||
- wget http://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh | ||
- chmod +x miniconda.sh | ||
- ./miniconda.sh -b -p /home/travis/miniconda | ||
- export PATH=/home/travis/miniconda/bin:$PATH | ||
- conda update --yes conda | ||
#- sudo rm -rf /dev/shm | ||
#- sudo ln -s /run/shm /dev/shm | ||
|
||
install: | ||
- conda install --yes python=$TRAVIS_PYTHON_VERSION ipython numpy scipy matplotlib nose pandas pip sympy pytables statsmodels numba | ||
# To Install Full Anaconda Stack (conda install --yes python=$TRAVIS_PYTHON_VERSION anaconda) | ||
- pip install coveralls coverage | ||
- python setup.py install | ||
- cp quantecon/tests/matplotlibrc . | ||
|
||
script: | ||
- nosetests --with-coverage --cover-package=quantecon --exclude=models #quantecon.models excluded from tests to prevent triggering the ImportWarning | ||
|
||
after_success: | ||
- coveralls |
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,74 @@ | ||
# file GENERATED by distutils, do NOT edit | ||
LICENSE.txt | ||
README.md | ||
setup.cfg | ||
setup.py | ||
quantecon/__init__.py | ||
quantecon/asset_pricing.py | ||
quantecon/career.py | ||
quantecon/arma.py | ||
quantecon/cartesian.py | ||
quantecon/ce_util.py | ||
quantecon/compute_fp.py | ||
quantecon/discrete_rv.py | ||
quantecon/distributions.py | ||
quantecon/ecdf.py | ||
quantecon/estspec.py | ||
quantecon/ifp.py | ||
quantecon/jv.py | ||
quantecon/graph_tools.py | ||
quantecon/gridtools.py | ||
quantecon/ivp.py | ||
quantecon/kalman.py | ||
quantecon/lae.py | ||
quantecon/linproc.py | ||
quantecon/lqcontrol.py | ||
quantecon/lqnash.py | ||
quantecon/lss.py | ||
quantecon/lucastree.py | ||
quantecon/mc_tools.py | ||
quantecon/odu.py | ||
quantecon/optgrowth.py | ||
quantecon/matrix_eqn.py | ||
quantecon/quad.py | ||
quantecon/quadsums.py | ||
quantecon/rank_nullspace.py | ||
quantecon/riccati.py | ||
quantecon/robustlq.py | ||
quantecon/tauchen.py | ||
quantecon/version.py | ||
quantecon/game_theory/__init__.py | ||
quantecon/game_theory/lemke_howson.py | ||
quantecon/game_theory/mclennan_tourky.py | ||
quantecon/game_theory/normal_form_game.py | ||
quantecon/game_theory/pure_nash.py | ||
quantecon/game_theory/random.py | ||
quantecon/game_theory/support_enumeration.py | ||
quantecon/game_theory/utilities.py | ||
quantecon/markov/__init__.py | ||
quantecon/markov/approximation.py | ||
quantecon/markov/core.py | ||
quantecon/markov/ddp.py | ||
quantecon/markov/gth_solve.py | ||
quantecon/markov/random.py | ||
quantecon/markov/utilities.py | ||
quantecon/models/__init__.py | ||
quantecon/random/__init__.py | ||
quantecon/random/utilities.py | ||
quantecon/tests/__init__.py | ||
quantecon/tests/test_arma.py | ||
quantecon/tests/test_compute_fp.py | ||
quantecon/tests/test_discrete_rv.py | ||
quantecon/tests/test_ecdf.py | ||
quantecon/tests/test_estspec.py | ||
quantecon/tests/test_graph_tools.py | ||
quantecon/tests/test_gridtools.py | ||
quantecon/tests/test_ivp.py | ||
quantecon/tests/test_kalman.py | ||
quantecon/tests/test_lae.py | ||
quantecon/tests/test_lqcontrol.py | ||
quantecon/tests/test_lqnash.py | ||
quantecon/tests/test_lss.py | ||
quantecon/tests/test_lyapunov.py | ||
quantecon/tests/test_matrix_eqn.py | ||
quantecon/tests/test_quad.py | ||
quantecon/tests/test_quadsum.py | ||
quantecon/tests/test_rank_nullspace.py | ||
quantecon/tests/test_ricatti.py | ||
quantecon/tests/test_robustlq.py | ||
quantecon/tests/util.py | ||
quantecon/util/__init__.py | ||
quantecon/util/array.py | ||
quantecon/util/common_messages.py | ||
quantecon/util/notebooks.py | ||
quantecon/util/random.py | ||
quantecon/util/timing.py |
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,2 @@ | ||
include README.md | ||
include LICENSE.txt |
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,18 @@ | ||
# QuantEcon.py Makefile | ||
|
||
install: | ||
python setup.py install | ||
|
||
test-all: test test-examples test-solutions | ||
|
||
test: | ||
@echo "Running nosetests on test suite ..." | ||
nosetests -v | ||
|
||
test-examples: | ||
@echo "Testing examples ..." | ||
python scripts/test-examples.py | ||
|
||
test-solutions: | ||
@echo "testing solutions ..." | ||
python scripts/test-solutions.py |
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.