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: