xref: /xnu-11215.41.3/tools/lldbmacros/tox.ini (revision 33de042d024d46de5ff4e89f2471de6608e37fa4)
1[tox]
2isolated_build = true
3envlist = lint
4setupdir = python
5
6[testenv:lint]
7allowlist_externals = /usr/bin/env
8description = lint Python source code
9deps =
10    ruff
11# Just opt-in a single macro library for now.
12commands =
13    /usr/bin/env CDTE_LINT=ruff {envbindir}/python -m ruff check recount.py
14    /usr/bin/env CDTE_LINT=ruff {envbindir}/python -m ruff check tools/lldbmacros/tests/
15