added pylama.ini, extended style.yapf
This commit is contained in:
parent
1dd63d542e
commit
fde2556e47
2 changed files with 19 additions and 1 deletions
|
@ -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
15
pylama.ini
Normal 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
|
||||
|
Loading…
Reference in a new issue