diff --git a/.meta/.readme.rst b/.meta/.readme.rst index 0419c9ac..dcb796f8 100644 --- a/.meta/.readme.rst +++ b/.meta/.readme.rst @@ -1107,8 +1107,8 @@ Citation information: |DOI| :target: https://coveralls.io/github/tqdm/tqdm .. |Branch-Coverage-Status| image:: https://codecov.io/gh/tqdm/tqdm/branch/master/graph/badge.svg :target: https://codecov.io/gh/tqdm/tqdm -.. |Codacy-Grade| image:: https://api.codacy.com/project/badge/Grade/3f965571598f44549c7818f29cdcf177 - :target: https://www.codacy.com/app/tqdm/tqdm/dashboard +.. |Codacy-Grade| image:: https://app.codacy.com/project/badge/Grade/3f965571598f44549c7818f29cdcf177 + :target: https://www.codacy.com/gh/tqdm/tqdm/dashboard .. |CII Best Practices| image:: https://bestpractices.coreinfrastructure.org/projects/3264/badge :target: https://bestpractices.coreinfrastructure.org/projects/3264 .. |GitHub-Status| image:: https://img.shields.io/github/tag/tqdm/tqdm.svg?maxAge=86400&logo=github&logoColor=white diff --git a/README.rst b/README.rst index 88cd326a..852d9a67 100644 --- a/README.rst +++ b/README.rst @@ -1322,8 +1322,8 @@ Citation information: |DOI| :target: https://coveralls.io/github/tqdm/tqdm .. |Branch-Coverage-Status| image:: https://codecov.io/gh/tqdm/tqdm/branch/master/graph/badge.svg :target: https://codecov.io/gh/tqdm/tqdm -.. |Codacy-Grade| image:: https://api.codacy.com/project/badge/Grade/3f965571598f44549c7818f29cdcf177 - :target: https://www.codacy.com/app/tqdm/tqdm/dashboard +.. |Codacy-Grade| image:: https://app.codacy.com/project/badge/Grade/3f965571598f44549c7818f29cdcf177 + :target: https://www.codacy.com/gh/tqdm/tqdm/dashboard .. |CII Best Practices| image:: https://bestpractices.coreinfrastructure.org/projects/3264/badge :target: https://bestpractices.coreinfrastructure.org/projects/3264 .. |GitHub-Status| image:: https://img.shields.io/github/tag/tqdm/tqdm.svg?maxAge=86400&logo=github&logoColor=white diff --git a/tox.ini b/tox.ini index 3dcb0d95..de24bc82 100644 --- a/tox.ini +++ b/tox.ini @@ -15,6 +15,12 @@ deps = commands = nosetests --with-coverage --cover-package=tqdm --ignore-files="tests_perf\.py" -d -v tqdm/ - coveralls + - coverage xml + - curl -OL https://coverage.codacy.com/get.sh + - bash get.sh report -r coverage.xml +allowlist_externals = + curl + bash [extra] deps = @@ -25,9 +31,13 @@ commands = nosetests --with-coverage --with-timer --cover-package=tqdm --ignore-files="tests_perf\.py" -d -v tqdm/ - coveralls codecov + - coverage xml + - curl -OL https://coverage.codacy.com/get.sh + - bash get.sh report -r coverage.xml +allowlist_externals = {[coverage]allowlist_externals} [testenv] -passenv = CI TRAVIS TRAVIS_* TOXENV CODECOV_* +passenv = CI TRAVIS TRAVIS_* TOXENV CODECOV_* HOME CODACY_* deps = {[extra]deps} cython @@ -36,6 +46,7 @@ deps = tensorflow keras commands = {[extra]commands} +allowlist_externals = {[extra]allowlist_externals} # no cython/numpy/pandas for py{py,py3,26,33,34} @@ -54,20 +65,16 @@ commands = [testenv:pypy] deps = {[extra]deps} -commands = {[extra]commands} [testenv:pypy3] deps = {[extra]deps} -commands = {[extra]commands} [testenv:py33] deps = {[extra]deps} -commands = {[extra]commands} [testenv:py34] # py34-compatible pandas deps = {[extra]deps} -commands = {[extra]commands} [testenv:tf-no-keras] deps =