diff --git a/.pylintrc b/.pylintrc new file mode 100644 index 0000000..6057e34 --- /dev/null +++ b/.pylintrc @@ -0,0 +1,15 @@ +[tool.pylint.main] +fail-under = 10 +ignore = ["CVS", ".git", ".hg", ".svn"] +ignore-patterns = ["^\\.#"] +suggestion-mode = true + +[tool.pylint.basic] +bad-names = ["foo", "bar", "baz", "this", "thing"] +good-names = ["_"] + +[tool.pylint.format] +max-line-length = 120 + +[tool.pylint.variables] +allow-global-unused-variables = false diff --git a/.vimrc b/.vimrc index 04cd2e0..1a8a363 100644 --- a/.vimrc +++ b/.vimrc @@ -36,11 +36,6 @@ let g:ale_fixers={ \'elixir': ['mix_format'] \} -" Set python line length in all the linters/fixers -let g:ale_python_pylint_options = '--max-line-length 119' -let g:ale_python_autopep8_options = '--max-line-length 119' -let g:ale_python_black_options = '-l 119' - " Visual themeing set termguicolors "Enable 256 colors set t_Co=256 "Limit vim to 256 colors