Advent_of_code/.pre-commit-config.yaml

26 lines
637 B
YAML
Raw Normal View History

2021-11-12 20:02:55 +01:00
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
2022-02-11 19:06:58 +01:00
rev: v4.1.0
2021-11-12 20:02:55 +01:00
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-yaml
- id: check-added-large-files
- repo: https://gitlab.com/pycqa/flake8
rev: 3.9.2
hooks:
- id: flake8
- repo: https://github.com/psf/black
2022-02-11 19:06:58 +01:00
rev: 22.1.0
2021-11-12 20:02:55 +01:00
hooks:
- id: black
- repo: https://github.com/pre-commit/mirrors-mypy
2022-02-11 19:06:58 +01:00
rev: v0.931
2021-11-12 20:02:55 +01:00
hooks:
- id: mypy
additional_dependencies: [pydantic] # add if use pydantic
- repo: https://github.com/PyCQA/isort
2022-02-11 19:06:58 +01:00
rev: 5.10.1
2021-11-12 20:02:55 +01:00
hooks:
- id: isort