Compare commits

..

1 Commits

Author SHA1 Message Date
Alexey Skobkin e0e34ae346 Pylama draft.
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/pr Build is passing Details
2022-05-02 17:07:42 +03:00
3 changed files with 9 additions and 6 deletions

View File

@ -22,14 +22,13 @@ steps:
- name: pylama
image: 'python:3.10-alpine'
commands:
- python -m venv .pylama-venv
- source ./.pylama-venv/bin/activate
- python -m venv .venv
- source ./.venv/bin/activate
- 'pip install pylama pylama\[all\]'
- pylama
when:
event:
include:
- push
- pull_request
branch:
exclude: master

1
.gitignore vendored
View File

@ -3,4 +3,3 @@
# Python
/.venv
/.pylama-venv

View File

@ -1,9 +1,14 @@
# https://github.com/klen/pylama#configuration-file
[pylama]
format = pylint
skip = */.venv/*,*/.pylama-venv/*
#linters = pylint,mccabe
skip = .venv/*,.pylama-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