Skip to content
Snippets Groups Projects
.pre-commit-config.yaml 599 B
Newer Older
Ivan Procaccini's avatar
Ivan Procaccini committed
default_language_version:
  python: python3

repos:
  - repo: https://github.com/pre-commit/pre-commit-hooks
    rev: v4.3.0
Ivan Procaccini's avatar
Ivan Procaccini committed
    hooks:
      - id: trailing-whitespace
      - id: debug-statements
  - repo: https://github.com/pycqa/isort
    hooks:
      - id: isort
        name: isort (python)
        args: [ --profile, black ]
Ivan Procaccini's avatar
Ivan Procaccini committed
  - repo: https://github.com/ambv/black
    rev: 22.6.0
Ivan Procaccini's avatar
Ivan Procaccini committed
    hooks:
      - id: black
        language_version: python3
  - repo: https://github.com/PyCQA/bandit
    rev: 1.7.4
Ivan Procaccini's avatar
Ivan Procaccini committed
    hooks:
      - id: bandit
        args: [--recursive, --exclude, tests]