Add pylintrc
Also remove line length configs from py linters in vimrc since we're configuring that properly now. Don't like having to repeat myself in pylintrc and black's conf but meh.
This commit is contained in:
parent
7d28c9a266
commit
8b2daa45c0
2 changed files with 15 additions and 5 deletions
15
.pylintrc
Normal file
15
.pylintrc
Normal file
|
@ -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
|
Loading…
Add table
Add a link
Reference in a new issue