Make python tools work better under uv
- uv's has its own python, and standard python tools are installed in the system python.
This commit is contained in:
parent
5448eced5a
commit
b5031417dc
1 changed files with 5 additions and 5 deletions
|
|
@ -58,7 +58,7 @@ tools_for_extensions = [
|
||||||
[pycodestyle]
|
[pycodestyle]
|
||||||
dependencies = ["python3-pycodestyle"]
|
dependencies = ["python3-pycodestyle"]
|
||||||
url = "http://pycodestyle.pycqa.org/en/latest/"
|
url = "http://pycodestyle.pycqa.org/en/latest/"
|
||||||
command = "python3.11 -m pycodestyle --max-line-length=100"
|
command = "/usr/bin/python3.11 -m pycodestyle --max-line-length=100"
|
||||||
|
|
||||||
[pydocstyle]
|
[pydocstyle]
|
||||||
dependencies = ["python3-pydocstyle"]
|
dependencies = ["python3-pydocstyle"]
|
||||||
|
|
@ -68,18 +68,18 @@ tools_for_extensions = [
|
||||||
[pyflakes]
|
[pyflakes]
|
||||||
dependencies = ["python3-pyflakes"]
|
dependencies = ["python3-pyflakes"]
|
||||||
url = "https://pypi.org/project/pyflakes/"
|
url = "https://pypi.org/project/pyflakes/"
|
||||||
command = "python3.11 -m pyflakes"
|
command = "pyflakes3"
|
||||||
|
|
||||||
[pylint]
|
[pylint]
|
||||||
dependencies = ["pylint"]
|
dependencies = ["pylint"]
|
||||||
url = "https://www.pylint.org/"
|
url = "https://www.pylint.org/"
|
||||||
command = "python3.11 -m pylint -f colorized --errors-only"
|
command = "pylint -f colorized --errors-only"
|
||||||
has_color = true
|
has_color = true
|
||||||
|
|
||||||
[bandit]
|
[bandit]
|
||||||
dependencies = ["python3-bandit"]
|
dependencies = ["python3-bandit"]
|
||||||
url = "https://pypi.org/project/bandit/"
|
url = "https://pypi.org/project/bandit/"
|
||||||
command = "python3.11 -m bandit.cli.main -f screen"
|
command = "bandit -f screen"
|
||||||
has_color = true
|
has_color = true
|
||||||
timeout = 60
|
timeout = 60
|
||||||
|
|
||||||
|
|
@ -262,7 +262,7 @@ tools_for_extensions = [
|
||||||
[yamllint]
|
[yamllint]
|
||||||
dependencies = ["yamllint"]
|
dependencies = ["yamllint"]
|
||||||
url = "https://github.com/adrienverge/yamllint"
|
url = "https://github.com/adrienverge/yamllint"
|
||||||
command = "python3.11 -m yamllint -f colored"
|
command = "yamllint -f colored"
|
||||||
has_color = true
|
has_color = true
|
||||||
|
|
||||||
[mediainfo]
|
[mediainfo]
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue