aboutsummaryrefslogtreecommitdiff
path: root/.pre-commit-config.yaml
diff options
context:
space:
mode:
authorBenjamin Klimczak <benjamin.klimczak@arm.com>2022-08-08 16:29:21 +0100
committerBenjamin Klimczak <benjamin.klimczak@arm.com>2022-09-14 09:29:18 +0000
commit61684f9a4691449dc8aa129976789e3feab2b713 (patch)
treecab7a21789ce08f18fd7ec1bd323da78262031eb /.pre-commit-config.yaml
parentf5b293d0927506c2a979a091bf0d07ecc78fa181 (diff)
downloadmlia-61684f9a4691449dc8aa129976789e3feab2b713.tar.gz
MLIA-571 Use tox to run additional project tasks
- 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
Diffstat (limited to '.pre-commit-config.yaml')
-rw-r--r--.pre-commit-config.yaml11
1 files changed, 0 insertions, 11 deletions
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 08f5f7e..2d4e450 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -104,14 +104,3 @@ repos:
entry: pylint
language: system
types: [python]
-
-- repo: local
- hooks:
- - id: pytest-cov
- name: pytest coverage
- stages: [push]
- language: system
- entry: pytest --cov=mlia --cov-report term-missing --cov-fail-under=95 tests
- types: [python]
- pass_filenames: false
- verbose: true