added pylama.ini, extended style.yapf

This commit is contained in:
Tobias Schmidl 2019-07-19 06:54:59 +02:00
parent 1dd63d542e
commit fde2556e47
2 changed files with 19 additions and 1 deletions

View file

@ -1,5 +1,8 @@
[style]
# Insert a blank line before a module docstring.
blank_line_before_module_docstring=True
# The column limit.
column_limit=120
@ -11,7 +14,7 @@ column_limit=120
#
# foo = ('This is a really long string: {}, {}, {}, {}'
# .format(a, b, c, d))
split_before_dot=False
split_before_dot=True
# Set to True to split list comprehensions and generators that have
# non-trivial expressions and multiple clauses before each of these

15
pylama.ini Normal file
View file

@ -0,0 +1,15 @@
[pylama]
format = pylint
linters = mccabe,pep257,pydocstyle,pep8,pycodestyle,pyflakes,pylint,isort,mypy
ignore = D203
skip=.env/*
[pylama:pycodestyle]
max_line_length = 120
[pylama:pep8]
max_line_length = 120
[pylama:pylint]
max_line_length = 120