.
Some checks reported errors
continuous-integration/drone/push Build encountered an error

This commit is contained in:
Quentin Ferrand 2022-04-21 16:31:10 +02:00
parent a0ff82ccfa
commit 3fe4ffc612
2 changed files with 36 additions and 36 deletions

View file

@ -7,47 +7,47 @@ steps:
- name: test - name: test
image: python:latest image: python:latest
commands: commands:
- pip install -q --upgrade pre-commit - pip install -q --upgrade pre-commit pylint pydantic pytest
- pre-commit run --all-files - pre-commit run --all-files
# - flake8 --ignore=E501,W503,E265 # - flake8 --ignore=E501,W503,E265
# - mypy --ignore-missing-imports ./tenkan/ # - mypy --ignore-missing-imports ./tenkan/
# - pylint --disable=E1101,E0401,C0301,W1514,C0114 ./tenkan/ # - pylint --disable=E1101,E0401,C0301,W1514,C0114 ./tenkan/
# - pytest ./tests/ # - pytest ./tests/
#- name: publish_pypi - name: publish_pypi
# image: plugins/pypi image: plugins/pypi
# settings: settings:
# username: username:
# from_secret: pypi_username from_secret: pypi_username
# password: password:
# from_secret: pypi_password from_secret: pypi_password
# when: when:
# branch: branch:
# - master - master
#
#- name: push_docker - name: push_docker
# image: plugins/docker image: plugins/docker
# settings: settings:
# username: username:
# from_secret: docker_username from_secret: docker_username
# password: password:
# from_secret: docker_password from_secret: docker_password
# repo: takaoni/tenkan repo: takaoni/tenkan
# tags: latest tags: latest
# when: when:
# branch: branch:
# - master - master
#
#- name: deploy_kube - name: deploy_kube
# kube: kube:
# image: takaoni/drone-kube image: takaoni/drone-kube
# template: apps/tenkan.yaml template: apps/tenkan.yaml
# namespace: gemini namespace: gemini
# server: server:
# from_secret: kube_server from_secret: kube_server
# when: when:
# branch: branch:
# - master - master
host_aliases: host_aliases:

View file

@ -20,7 +20,7 @@ repos:
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: