Skip to content

Latest commit

 

History

History
24 lines (15 loc) · 608 Bytes

README.md

File metadata and controls

24 lines (15 loc) · 608 Bytes

library-sandbox

This is a beta sandbox of reusable steps for the Valohai ecosystem.

Development

Linting

Linting/formatting happens via pre-commit. Install it with pip install pre-commit and:

  • run pre-commit install to install Git hooks if you like, or
  • run pre-commit run manually to run everything on staged files, or
  • pre-commit run --all-files to run everything on all files.

The linters run by pre-commit are ruff, black, and prettier; you can (should) set up your IDE to run them automatically too.

Tests

You can run tests with py.test:

py.test -v .