Commit 6f65646d by Peter Weidenbach

pep8 and pre commit added

parent 6b3b13f2
.venv
.pyc
__pycache__/
.idea/
.cache/ .cache/
.coverage
.idea/
.project
.pyc
.pydevproject
.pytest_cache/ .pytest_cache/
.venv
__pycache__/
bin/ bin/
.coverage build/
default_stages: [commit, push]
exclude: ^src/bin/
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v2.1.0
hooks:
- id: check-added-large-files
args: [--maxkb=10000]
- id: check-json
- id: check-merge-conflict
- id: check-yaml
- id: end-of-file-fixer
types: [python]
- id: fix-encoding-pragma
args: [--remove]
- id: file-contents-sorter
files: src/unpacker/passwords|.gitignore|_list.txt
- id: flake8
args: [--ignore=E501]
- id: forbid-new-submodules
- id: no-commit-to-branch
- id: pretty-format-json
args: [--autofix]
- id: trailing-whitespace
types: [python]
- repo: https://github.com/pre-commit/mirrors-pylint
rev: v2.2.2
hooks:
- id: pylint
language: system
args: [--rcfile=.pylintrc]
- repo: https://github.com/jumanjihouse/pre-commit-hooks
rev: 1.11.0
hooks:
- id: shellcheck
- repo: https://github.com/pryorda/dockerfilelint-precommit-hooks
rev: v0.1.0
hooks:
- id: dockerfilelint
[pytest]
addopts = --pep8 -v
pep8ignore =
*.py E501
pytest pytest
pytest-cov pytest-cov
pytest-pep8
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment