Skip to content

Development

uv is used for development.

First, install uv.

Installing Dependencies

Next, install dev dependencies.

uv sync --dev

Installing Test Dependencies

Install dependency group test to run tests.

uv sync --dev --group test

Installing Documentation Dependencies

Install dependency group docs to build documentation.

uv sync --dev --group docs

Installing All Dependencies

To install everything, run:

uv sync --all-groups

Running Tests

To run tests:

pytest torchattack

Additional Information

For more details on using uv, refer to the uv documentation.