From 144f9bbc74d6856b360330e82bbb32fd67313590 Mon Sep 17 00:00:00 2001 From: Quentin Ferrand Date: Thu, 21 Apr 2022 17:12:31 +0200 Subject: [PATCH] - --- .drone.yml | 2 +- .pre-commit-config.yaml | 7 ++++++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/.drone.yml b/.drone.yml index 5e96f12..4cdcb86 100644 --- a/.drone.yml +++ b/.drone.yml @@ -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 diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index cc7ae2e..6977655 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -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: