Upload tox.ini with huggingface_hub
Browse files
tox.ini
ADDED
|
@@ -0,0 +1,44 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[tox]
|
| 2 |
+
min_version = 4.4.11
|
| 3 |
+
envlist = docs,lint,py311
|
| 4 |
+
|
| 5 |
+
[testenv]
|
| 6 |
+
deps =
|
| 7 |
+
-r{toxinidir}/requirements/test.txt
|
| 8 |
+
changedir = {envtmpdir}
|
| 9 |
+
setenv =
|
| 10 |
+
COLUMNS=80
|
| 11 |
+
commands =
|
| 12 |
+
coverage run --rcfile={toxinidir}/.coveragerc --parallel -m unittest discover {toxinidir}/tests
|
| 13 |
+
ln -sf {toxinidir}/samples
|
| 14 |
+
env LANG=C {toxinidir}/bin/clitest --prefix 3 {toxinidir}/tests/cli_tests/hwp5proc.txt {toxinidir}/tests/cli_tests/hwp5odt.txt {toxinidir}/tests/cli_tests/hwp5html.txt {toxinidir}/tests/cli_tests/hwp5txt.txt
|
| 15 |
+
allowlist_externals =
|
| 16 |
+
env
|
| 17 |
+
ln
|
| 18 |
+
|
| 19 |
+
[testenv:pypy]
|
| 20 |
+
deps =
|
| 21 |
+
-r{toxinidir}/requirements/test.txt
|
| 22 |
+
|
| 23 |
+
[testenv:jy27]
|
| 24 |
+
basepython = {toxinidir}/parts/jython2.7/bin/jython
|
| 25 |
+
deps =
|
| 26 |
+
-r{toxinidir}/requirements/test.txt
|
| 27 |
+
|
| 28 |
+
[testenv:docs]
|
| 29 |
+
changedir = {toxinidir}
|
| 30 |
+
deps =
|
| 31 |
+
-r{toxinidir}/requirements/docs.txt
|
| 32 |
+
whitelist_externals =
|
| 33 |
+
make
|
| 34 |
+
commands =
|
| 35 |
+
make -C docs html latexpdf
|
| 36 |
+
|
| 37 |
+
[testenv:lint]
|
| 38 |
+
changedir = {toxinidir}
|
| 39 |
+
deps =
|
| 40 |
+
-r{toxinidir}/requirements/lint.txt
|
| 41 |
+
commands =
|
| 42 |
+
check-manifest
|
| 43 |
+
pyroma .
|
| 44 |
+
flake8 pyhwp
|