-
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 - name: test
image: python:latest image: python:latest
commands: commands:
- pip install -q --upgrade pre-commit poetry - pip install -q --upgrade pre-commit poetry pytest pylint pydantic
- poetry install - poetry install
- pre-commit run --all-files - pre-commit run --all-files
# - flake8 --ignore=E501,W503,E265 # - flake8 --ignore=E501,W503,E265

View file

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