Skip to content

Commit 6ddf13d

Browse files
authored
Merge pull request #1330 from lsst-sqre/tickets/DM-51521
DM-51521: Update development documentation
2 parents 6d56b67 + 0941b05 commit 6ddf13d

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

docs/dev/development.rst

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,15 @@ To see a listing of test environments, run:
131131

132132
uv run tox list
133133

134+
To run a specific test environment, run:
135+
136+
.. prompt:: bash
137+
138+
uv run tox -e <environment>
139+
140+
For example, ``uv run tox -e typing`` will only run mypy and not the rest of th
141+
e tests.
142+
134143
To run a specific test or list of tests, you can add test file names (and any other pytest_ options) after ``--`` when executing the ``py`` or ``py-full`` tox environment.
135144
For example:
136145

@@ -342,7 +351,7 @@ Code
342351

343352
- Gafaelfawr follows the :sqr:`072` Python style guide.
344353

345-
- The code formatting follows :pep:`8`, though in practice lean on Black and isort to format the code for you.
354+
- The code formatting follows :pep:`8`, though in practice lean on Ruff to format the code for you.
346355

347356
- Use :pep:`484` type annotations.
348357
The :command:`uv run tox run -e typing` command, which runs mypy_, ensures that the project's types are consistent.

0 commit comments

Comments
 (0)