Add poetry setup files

This commit is contained in:
2021-12-19 16:25:10 +01:00
parent 6157818ad0
commit 9cd02626ff
3 changed files with 461 additions and 11 deletions

View File

@@ -1,5 +1,3 @@
# See https://pre-commit.com for more information
# See https://pre-commit.com/hooks.html for more hooks
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.0.1
@@ -8,17 +6,20 @@ repos:
- id: end-of-file-fixer
- id: check-yaml
- id: check-added-large-files
- id: check-ast
- repo: https://github.com/pycqa/flake8
rev: 4.0.1
- repo: https://gitlab.com/pycqa/flake8
rev: 3.9.2
hooks:
- id: flake8
- repo: https://github.com/psf/black
rev: 21.9b0
rev: 21.12b0
hooks:
- id: black
- repo: https://github.com/codespell-project/codespell
rev: v2.1.0
- id: black
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v0.920
hooks:
- id: codespell
entry: codespell --ignore-words .ignored_words.txt
- id: mypy
additional_dependencies: [pydantic] # add if use pydantic
- repo: https://github.com/PyCQA/isort
rev: 5.10.1
hooks:
- id: isort