Compare commits

..

No commits in common. "5d4a43e2c6919aadc9bb5afe8d240a1a4725a089" and "6c99a2af587d1b891dc7c91ba6feaddd5088435c" have entirely different histories.

2 changed files with 2 additions and 58 deletions

View file

@ -1,52 +1,10 @@
# https://docs.drone.io/pipeline/overview/
# https://docs.drone.io/pipeline/configuration/
kind: pipeline kind: pipeline
type: docker name: default
name: build
steps: steps:
- name: build-app - name: environment
image: 'python:3.10-alpine' image: 'python:3.10-alpine'
commands: commands:
- python -m venv .venv - python -m venv .venv
- source ./.venv/bin/activate - source ./.venv/bin/activate
- pip install -r requirements.txt - pip install -r requirements.txt
---
kind: pipeline
type: docker
name: code-audit
steps:
- name: pylama
image: 'python:3.10-alpine'
commands:
- python -m venv .venv
- source ./.venv/bin/activate
- 'pip install pylama pylama\[all\]'
- pylama
when:
event:
include:
- pull_request
branch:
exclude: master
---
kind: pipeline
type: docker
name: deploy
steps:
- name: deploy
image: alpine
commands:
- 'echo "TODO: implement deploy"'
when:
branch: master
depends_on:
- build
- code-audit

View file

@ -1,14 +0,0 @@
# https://github.com/klen/pylama#configuration-file
[pylama]
format = pylint
skip = .venv/*
linters = pyflakes,pylint,pycodestyle
#ignore = F0401,C0111,E731
[pylama:pylint]
max_line_length = 120
score = yes
[pylama:pycodestyle]
# Maximum length of each line
max_line_length = 120