aboutsummaryrefslogtreecommitdiff
path: root/tox.ini
AgeCommit message (Collapse)Author
2024-05-01ci: Update Sphinx versionMadeleine Dunn
- Update Sphinx version to 5.0.0 to fix the mlia-docs job Signed-off-by: Madeleine Dunn <madeleine.dunn@arm.com> Change-Id: I790a53d9cd2eac774c43bc32ca4a9aba89e90d69
2024-01-23build: Integrate Commitizen to check commit messages and generate changelogGergely Nagy
The commit messages are checked against the Conventional Commits (https://www.conventionalcommits.org) specification, along with minor customizations (eg, capitalized header, some irrelevant commit types removed Checking messages is integrated into `tox -e lint`. Changelog generation is integrated into "tox -e changelog", which runs `cz changelog` command underneath and incrementally updates RELEASES.md. Change-Id: I86f21f6c78a166d3bb92450a027a2d7e71ce22cf Signed-off-by: Gergely Nagy <gergely.nagy@arm.com>
2023-12-04MLIA-136 Add flaky dependency for unstable testsAnnie Tallund
- https://github.com/box/flaky - Is set to re-run tests marked with @flaky - Provides a report on failures - Add flaky guard to tests/test_nn_tensorflow_optimizations_clustering.py Signed-off-by: Annie Tallund <annie.tallund@arm.com> Change-Id: I6795fd8bb2c38be6513f3689c3eeb805e7976add
2023-09-29MLIA-984 Pin 'build' package to ~=0.10.0Benjamin Klimczak
The recent update to version 1.0.3 causes issues when building. Change-Id: I74db3b419ece7b744cbb48c8e11096e99709a9cd Signed-off-by: Benjamin Klimczak <benjamin.klimczak@arm.com>
2023-09-05MLIA-961 Update tox dependenciesBenjamin Klimczak
- Update version dependencies in the tox.ini - Fix linter issues Change-Id: I04c3a841ee2646a865dab037701d66c28792f2a4 Signed-off-by: Benjamin Klimczak <benjamin.klimczak@arm.com>
2023-04-12MLIA-849 Update mypy version and fix associated issuesAnnie Tallund
- Remove unused silencing of typing - Amend None type hints where it is default Change-Id: Id972b56dcdce865bf6c9d6aea88bc76baf39133e
2022-11-25MLIA-676 Migrate e2e tests to toxBenjamin Klimczak
- Add new tox environments 'e2e' and 'e2e_setup' - Move the extra 'dev' requirements to the tox environments Change-Id: I7db80f48a7a4ef81f931c0ef307d9bcf5906af19
2022-11-11MLIA-701 Update dependenciesBenjamin Klimczak
- 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
2022-11-08MLIA-630 Fix links to other files in README.mdRaul Farkas
* Update setup.py to replace relative paths in README.md with links to files on review.mlplatform.org * Add a mechanism that replaces relative paths to images with the link to the plain image on review.mlplatform.org Change-Id: Ifeb17e3c03e8366bd12665eb9f4a630fc9933e26
2022-10-17MLIA-646 Add environment to setup pre-commit hooksBenjamin Klimczak
- Add new environment 'lint_setup' to set up the pre-commit hooks used by the environment 'lint' without running the actual tests. - Add docker file for linting and testing to the project root. - Add helper script 'install_python_versions.sh' for docker creation. Change-Id: I5f264df72a72d7a118ab798eddcf0febd4e1125b
2022-10-06MLIA-619 Use --build-option flag when building MLIADiego Russo
Replace --global-option flag with --build-option flag to pass the platform name when building MLIA. Change-Id: I4b66a6480e0713070c5db35d4301a0129c5af330
2022-09-14MLIA-571 Use tox to run additional project tasksBenjamin Klimczak
- Remove coverage from the pre-commit hooks as it takes too long and is not really suited to be a pre-commit hook - Added tox environments: - 'coverage': Run the code coverage. The code coverage was moved from the pre-commit hooks to tox. - 'lint': Run the pre-commit hooks - 'build': Build a distribution of MLIA - 'docs': Create documentation from the source code. Directory docs/ was added and copyright and license information add to files. Change-Id: Ife92b68043295ce41a0f2352ee2b2878329f4953
2022-08-09MLIA-541 Use tox to run unit testsBenjamin Klimczak
Add tox.ini to easily run unit tests with different Python versions. Change-Id: I2153cc7d1eaf49cad9739b6d797e4a6706679c7e