diff --git a/.style.yapf b/.style.yapf index 5312d3a..b34c3f4 100644 --- a/.style.yapf +++ b/.style.yapf @@ -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 diff --git a/pylama.ini b/pylama.ini new file mode 100644 index 0000000..5f09266 --- /dev/null +++ b/pylama.ini @@ -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 +