Updated makefile. Updated pre-commit hooks.
This commit is contained in:
parent
a7a45b2ed3
commit
8ed874bbe9
|
@ -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/*']
|
||||
|
|
4
Makefile
4
Makefile
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue