Skip to content

Commit 5620a74

Browse files
committed
devcontainer setting updates
1 parent 69227ee commit 5620a74

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.devcontainer/devcontainer.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,10 @@
4444
"python.linting.banditPath": "/opt/netbox/venv/bin/bandit",
4545
"python.linting.enabled": true,
4646
"python.linting.flake8Path": "/opt/netbox/venv/bin/flake8",
47+
"python.linting.flake8Args": [
48+
"--max-line-length=160",
49+
"--ignore=E203"
50+
],
4751
"python.linting.mypyPath": "//opt/netbox/venv/bin/mypy",
4852
"python.linting.pycodestylePath": "/opt/netbox/venv/bin/pycodestyle",
4953
"python.linting.pydocstylePath": "/opt/netbox/venv/bin/pydocstyle",
@@ -57,6 +61,7 @@
5761
],
5862
"python.linting.pylintEnabled": true,
5963
"python.linting.pylintPath": "/opt/netbox/venv/bin/pylint",
64+
"python.linting.lintOnSave": true,
6065
"python.pythonPath": "/opt/netbox/venv/bin/python3",
6166
"python.terminal.activateEnvironment": true,
6267
"python.venvPath": "/opt/netbox/",

0 commit comments

Comments
 (0)