diff options
author | Benjamin Klimczak <benjamin.klimczak@arm.com> | 2022-11-07 12:57:15 +0000 |
---|---|---|
committer | Benjamin Klimczak <benjamin.klimczak@arm.com> | 2022-11-11 12:10:26 +0000 |
commit | ce9b17650d024886b24ad820f0f1815fc23b19f3 (patch) | |
tree | a7d113f751b8856aabcd021464edec16e23ba6f8 /tox.ini | |
parent | e40a7adadd254e29d71af38f69a0a20ff4871eef (diff) | |
download | mlia-ce9b17650d024886b24ad820f0f1815fc23b19f3.tar.gz |
MLIA-701 Update dependencies
- Update TensorFlow dependencies for x86_64
- Adapt unit tests to new TensorFlow version
- Update linters (including pre-commit hooks) and fix issues
- Use conditional import to fix tflite compat code for aarch64
Change-Id: I1a9b080b900ab65e38f7f2552562822bbfdcd259
Diffstat (limited to 'tox.ini')
-rw-r--r-- | tox.ini | 12 |
1 files changed, 8 insertions, 4 deletions
@@ -7,7 +7,7 @@ isolated_build = true [testenv:test] description = Run the unit tests. deps = - pytest==7.1.1 + pytest==7.2.0 commands = pytest {posargs:tests/} @@ -15,7 +15,7 @@ commands = description = Run the code coverage of the unit tests. deps = {[testenv:test]deps} - pytest-cov==3.0.0 + pytest-cov==4.0.0 commands = pytest --cov=mlia --cov-report term-missing --cov-fail-under=95 tests/ @@ -26,8 +26,12 @@ description = Run and setup the pre-commit hooks. envdir={toxworkdir}/lint extras = dev -# Workaround to resolve an issue with markdownlint in a docker environment -passenv = HOME +# Pass the following environment variables: +# - HOME: Workaround for an issue with markdownlint in a docker environment +# - SKIP: Allows skipping of pre-commit hooks, e.g. "SKIP=reuse tox -e lint" +passenv = + HOME + SKIP commands = lint_setup: pre-commit install-hooks lint: pre-commit run --all-files --hook-stage=push {posargs} |