mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2026-01-29 09:01:54 +08:00
shellcheck
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
[tox]
|
||||
envlist = flake8, pylint, mypy, vulture, pytest, eslint, htmlhint
|
||||
envlist = flake8, pylint, mypy, vulture, pytest, eslint, htmlhint, shellcheck
|
||||
skipsdist = true
|
||||
|
||||
[testenv]
|
||||
@@ -60,3 +60,7 @@ commands = eslint --cache-location=/tmp --config=testenv/linters/eslintrc.yaml -
|
||||
[testenv:htmlhint]
|
||||
whitelist_externals = htmlhint
|
||||
commands = htmlhint --config=testenv/linters/htmlhint.json web/*.html web/*/*.html
|
||||
|
||||
[testenv:shellcheck]
|
||||
whitelist_externals = bash
|
||||
commands = bash -c 'shellcheck --color=always scripts/*'
|
||||
|
||||
Reference in New Issue
Block a user