Update package and install process (#1948)
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
# See https://pre-commit.com for more information
|
||||
# See https://pre-commit.com/hooks.html for more hooks
|
||||
repos:
|
||||
- repo: https://github.com/PyCQA/flake8
|
||||
rev: 5.0.4
|
||||
hooks:
|
||||
- id: flake8
|
||||
args: ['--ignore=D203,C901,E501,W503', '--max-line-length=120','--max-complexity=10', '--statistics']
|
||||
exclude: '^rta|^kql'
|
||||
- repo: https://github.com/PyCQA/bandit
|
||||
rev: 1.7.4
|
||||
hooks:
|
||||
- id: bandit
|
||||
args: ['-s', 'B101,B603,B404,B607']
|
||||
exclude: '^rta|^kql'
|
||||
# Potential future rigor
|
||||
# - repo: https://github.com/PyCQA/pylint
|
||||
# rev: v2.15.6
|
||||
# hooks:
|
||||
# - id: pylint
|
||||
# language: system
|
||||
# exclude: '^rta|^kql'
|
||||
# - repo: https://github.com/PyCQA/isort
|
||||
# rev: 5.10.1
|
||||
# hooks:
|
||||
# - id: isort
|
||||
Reference in New Issue
Block a user