You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/dev/development.rst
+10-1Lines changed: 10 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -131,6 +131,15 @@ To see a listing of test environments, run:
131
131
132
132
uv run tox list
133
133
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
+
134
143
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.
135
144
For example:
136
145
@@ -342,7 +351,7 @@ Code
342
351
343
352
- Gafaelfawr follows the :sqr:`072` Python style guide.
344
353
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.
346
355
347
356
- Use :pep:`484` type annotations.
348
357
The :command:`uv run tox run -e typing` command, which runs mypy_, ensures that the project's types are consistent.
0 commit comments