Update package and install process (#1948)

This commit is contained in:
Mika Ayenson
2022-12-08 15:49:49 -05:00
committed by GitHub
parent 7e459dd585
commit 5bf69b7967
20 changed files with 167 additions and 47 deletions
+26
View File
@@ -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