tenkan/.drone.yml

15 lines
352 B
YAML
Raw Normal View History

2022-04-19 10:18:59 +02:00
---
kind: pipeline
type: kubernetes
name: python
steps:
- name: test
image: python:latest
commands:
2022-04-19 11:11:06 +02:00
- pip install -q --upgrade pip black flake8 mypy pylint pytest
2022-04-19 10:18:59 +02:00
- flake8 --ignore=E501,W503,E265
2022-04-19 11:07:18 +02:00
- mypy --ignore-missing-imports ./tenkan/
2022-04-19 11:24:41 +02:00
- pylint --disable=E1101,E0401,C0301,W1514 --ignore=tenkan/__init__.py ./tenkan/
2022-04-19 11:07:18 +02:00
- pytest ./tests/