Age | Commit message (Collapse) | Author |
|
Signed-off-by: Benedetta Delfino <benedetta.delfino@arm.com>
Change-Id: Ic6a07ef12868673466a5db0cbce08015b9df4ffc
|
|
Enables user to provide a toml or default profile to change training settings for rewrite optimization
Resolves: MLIA-1004
Signed-off-by: Nathan Bailey <nathan.bailey@arm.com>
Change-Id: I3bf9f44b9a2062fb71ef36eb32c9a69edcc48061
|
|
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>
|
|
Change-Id: I8a228cbab405b4d4112e5e38856b3cb92304cba7
Signed-off-by: Benjamin Klimczak <benjamin.klimczak@arm.com>
|
|
- Update dependencies in .pre-commit.yaml
- Fix code issues with new linters
Change-Id: I36964ecf1a405dd8faac01b4470b56122a7cad17
Signed-off-by: Benjamin Klimczak <benjamin.klimczak@arm.com>
|
|
- 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
|
|
- Use pyupgrade tool for the syntax upgrade
Change-Id: I3b9ae6cc5da193329e37028cde967ae049388361
|
|
- 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
|
|
Add bandit to pre-commit and fix some bandit errors.
We use the default security level (low) with few exceptions:
* B101 assert_use: apart of tests, we use assert in our codebase
hence we globally ignore error B101.
* B404/B603: these are errors related to subprocesse and they are
being ignored locally when used.
* B604 Test for any function with shell equals true: we have disabled
this locally because of its safe use in the tests.
Change-Id: If654e5e92285f7c86ac210a6f1373dbab6be17c9
|
|
- Add pre-commit configuration file that is used to run a series of hooks on the codebase.
- Update setup.cfg to include required pre-commit library when installing MLIA with the [dev] extra require.
Change-Id: I8e88cd2bae98c03c20a70a320e82d2eb38ce127c
|