-
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Quentin Ferrand 2022-04-21 17:12:31 +02:00
parent b36c496667
commit 144f9bbc74
2 changed files with 7 additions and 2 deletions

View file

@ -7,7 +7,7 @@ steps:
- name: test
image: python:latest
commands:
- pip install -q --upgrade pre-commit poetry
- pip install -q --upgrade pre-commit poetry pytest pylint pydantic
- poetry install
- pre-commit run --all-files
# - flake8 --ignore=E501,W503,E265

View file

@ -15,12 +15,17 @@ repos:
rev: 3.9.2
hooks:
- id: flake8
args:
- "--max-line-length=200"
- "--ignore=E203,E266,E501,W503,F403,F401,E402"
- repo: https://github.com/psf/black
rev: 21.12b0
hooks:
- id: black
name: black (python)
args: ['-S']
args:
- '-S'
- '-l 200'
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v0.931
hooks: