Updated makefile. Updated pre-commit hooks.

This commit is contained in:
Franco Masotti 2021-10-17 00:21:07 +02:00
parent a7a45b2ed3
commit 8ed874bbe9
Signed by: frnmst
GPG Key ID: 24116ED85666780A
2 changed files with 6 additions and 2 deletions

View File

@ -21,7 +21,7 @@ repos:
args: ['--style', '{based_on_style: pep8; indent_width: 4}']
- repo: https://github.com/pycqa/flake8
rev: '3.9.2' # Use the sha / tag you want to point at
rev: '4.0.1' # Use the sha / tag you want to point at
hooks:
- id: flake8
args: ['--ignore=E125,E126,F401,E501,W503,W504']
@ -51,7 +51,7 @@ repos:
args: ['--configuration-file', '.allowed_licenses.yml']
- repo: https://github.com/mgedmin/check-manifest
rev: "0.46"
rev: "0.47"
hooks:
- id: check-manifest
args: ['--ignore','docs/*,docs/assets/*,Pipfile,Makefile,asciinema/*,*.yaml,*.yml,assets/*,fattura_elettronica_reader/tests/*,packages/aur/*']

View File

@ -37,10 +37,14 @@ install-dev:
pipenv install --dev
pipenv run pre-commit install
pipenv graph
pipenv check
uninstall-dev:
pipenv --rm
update: install-dev
pipenv run pre-commit autoupdate
test:
pipenv run python -m unittest $(PACKAGE_NAME).tests.tests --failfast --locals --verbose