view .pre-commit-config.yaml @ 417:5f32574c9788

define max line length for isort
author Amine Sehili <amine.sehili@gmail.com>
date Thu, 17 Oct 2024 22:02:41 +0200
parents b11c51a0eade
children
line wrap: on
line source
repos:
-   repo: https://github.com/pycqa/isort
    rev: 5.13.2
    hooks:
      - id: isort
        args: ['--line-length=80']
-   repo: https://github.com/psf/black
    rev: 24.4.2
    hooks:
    - id: black
-   repo: https://github.com/PyCQA/flake8
    rev: 7.1.0
    hooks:
    -   id: flake8
        additional_dependencies:
            - flake8-bugbear
            - flake8-comprehensions
            - flake8-simplify
-   repo: https://github.com/pre-commit/pre-commit-hooks
    rev: v4.6.0
    hooks:
    -     id: end-of-file-fixer
    -     id: trailing-whitespace