netbox-acls/pyproject.toml
Ryan Merolle 2b51fec511
Local Dev workflow updates (#20)
* local development workflow draft
2022-07-07 14:54:53 -04:00

30 lines
767 B
TOML

[tool.black]
line-length = 100
[tool.pylint]
[tool.pylint.format]
max-line-length = 100
[tool.pylint.master]
# pylint defaults + fh for with open .. as (f|fh)
good-names = "i,j,k,ex,Run,_,f,fh"
no-docstring-rgx = "__.*__"
[tool.pylint.messages_control]
# missing module docstring will be picked up by pydocstyle
# could not do infile b/c older version of pylint didn't have it
# and ansible-test sanity uses older version in earlier ansible
# pointless-string-statement allows for attribute docstring in dataclasses
disable = [
"duplicate-code",
"fixme",
"missing-module-docstring",
"pointless-string-statement",
"too-few-public-methods",
"unsubscriptable-object",
]
enable = [
"useless-suppression", # Identify unneeded pylint disable statements
]