Commit d6d4d318 by dorp

removed deprecated pep8, added pre-commit instead

parent 41e76907
default_stages: [commit, push]
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,W503", --select=W504]
- 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/pre-commit/mirrors-jshint
rev: v2.10.2
hooks:
- id: jshint
- repo: https://github.com/pre-commit/mirrors-isort
rev: v4.3.20
hooks:
- id: isort
[pytest] [pytest]
addopts = --pep8 -v addopts = -v
pep8ignore = pep8ignore =
*.py E501 *.py E501
pytest
pytest-cov
pre-commit
requests requests
pytest
pytest-pep8
pytest-cov
jinja2 jinja2
git+https://github.com/fkie-cad/common_helper_files.git git+https://github.com/fkie-cad/common_helper_files.git
git+https://github.com/fkie-cad/common_helper_process.git git+https://github.com/fkie-cad/common_helper_process.git
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