~naglis/aio_mpv_ipc

0ffcd14a20955063a5d7f813024a979aaecb4ac5 — Naglis Jonaitis 11 months ago ce05af9
Add more pre-commit hooks
2 files changed, 27 insertions(+), 0 deletions(-)

M .pre-commit-config.yaml
M pyproject.toml
M .pre-commit-config.yaml => .pre-commit-config.yaml +19 -0
@@ 4,3 4,22 @@ repos:
    hooks:
    - id: black
      language_version: python3.8
-   repo: https://github.com/PyCQA/bandit
    rev: 1.6.2
    hooks:
    - id: bandit
      args: [--recursive, --exclude, tests/]
-   repo: https://github.com/pre-commit/mirrors-mypy
    rev: v0.770
    hooks:
    - id: mypy
-   repo: https://github.com/asottile/seed-isort-config
    rev: v2.1.1
    hooks:
    - id: seed-isort-config
-   repo: https://github.com/pre-commit/mirrors-isort
    rev: v4.3.21
    hooks:
    - id: isort
      additional_dependencies:
        - toml

M pyproject.toml => pyproject.toml +8 -0
@@ 26,3 26,11 @@ flake8-bugbear = "^19.8.0"
[build-system]
requires = ["poetry>=0.12"]
build-backend = "poetry.masonry.api"

[tool.isort]
line_length = 88
known_third_party = ["pytest"]
include_trailing_comma = true
force_grid_wrap = 0
use_parentheses = true
multi_line_output = 3