Lint the syntax of changes
This commit is contained in:
parent
493fc60401
commit
28e4ae44fb
7 changed files with 67 additions and 4 deletions
|
@ -1,13 +1,11 @@
|
|||
[tool.black]
|
||||
line-length = 100
|
||||
line_length = 100
|
||||
target-version = ['py38']
|
||||
include = '\.pyi?$'
|
||||
exclude = '''
|
||||
|
||||
(
|
||||
/(
|
||||
\.eggs # exclude a few common directories in the
|
||||
| \.git # root of the project
|
||||
\.git
|
||||
| \.venv
|
||||
| \.netbox
|
||||
| \.vscode
|
||||
|
@ -19,3 +17,10 @@ exclude = '''
|
|||
[tool.isort]
|
||||
profile = "black"
|
||||
multi_line_output = 3
|
||||
line_length = 100
|
||||
|
||||
[tool.pylint.messages_control]
|
||||
disable = "C0330, C0326"
|
||||
|
||||
[tool.pylint.format]
|
||||
max-line-length = "100"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue