Compare commits
1 Commits
37cf52177b
...
e0e34ae346
Author | SHA1 | Date |
---|---|---|
Alexey Skobkin | e0e34ae346 |
|
@ -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
|
||||
|
|
|
@ -3,4 +3,3 @@
|
|||
|
||||
# Python
|
||||
/.venv
|
||||
/.pylama-venv
|
||||
|
|
|
@ -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
|
Loading…
Reference in New Issue