File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -942,7 +942,6 @@ <h3 id="development-prerequisites">Development prerequisites<a class="headerlink
942
942
< a href ="https://github.com/arduino/arduino-lint/blob/main/pyproject.toml "> < code > pyproject.toml</ code > </ a > .</ li >
943
943
</ ul >
944
944
</ li >
945
- < li > < a href ="https://python-poetry.org/docs/ "> Poetry</ a > .</ li >
946
945
< li > < a href ="https://nodejs.org/en/download/ "> < strong > Node.js</ strong > / < strong > npm</ strong > </ a > - Node.js dependencies management tool.< ul >
947
946
< li > The < strong > Node.js</ strong > version in use is defined in the < code > engines.node</ code > field of
948
947
< a href ="https://github.com/arduino/arduino-lint/blob/main/package.json "> < code > package.json</ code > </ a > .</ li >
@@ -990,10 +989,11 @@ <h5 id="running-tests">Running tests<a class="headerlink" href="#running-tests"
990
989
< p > This will automatically install the necessary dependencies, if not already installed, and run the integration tests
991
990
automatically.</ p >
992
991
< p > To run specific tests, you must run < code > pytest</ code > from the virtual environment created by Poetry.</ p >
993
- < div class ="highlight "> < pre > < span > </ span > < code > poetry run pytest tests/test_all.py::test_report_file
992
+ < div class ="highlight "> < pre > < span > </ span > < code > task poetry:install && poetry run pytest tests/test_all.py::test_report_file
994
993
</ code > </ pre > </ div >
995
994
< p > You can avoid writing the < code > poetry run</ code > prefix each time by creating a new shell inside the virtual environment:</ p >
996
- < div class ="highlight "> < pre > < span > </ span > < code > poetry shell
995
+ < div class ="highlight "> < pre > < span > </ span > < code > task poetry:install
996
+ poetry shell
997
997
pytest test_lib.py
998
998
pytest test_lib.py::test_list
999
999
</ code > </ pre > </ div >
Load Diff Large diffs are not rendered by default.
You can’t perform that action at this time.
0 commit comments