Skip to content

Latest commit

 

History

History
25 lines (22 loc) · 694 Bytes

development.md

File metadata and controls

25 lines (22 loc) · 694 Bytes

Development

Testing code

We currently do not have any tests :( But you can at least lint and reformat Python code using the following commands:

$ ruff check
$ ruff format

Updating dependencies

  1. Add a new Python dependency:
    $ uv add package==<version>
  2. Update the legacy lockfile, which is used to synchronize packages with pip on production:
    $ uv export --format requirements-txt > requirements.txt
  3. Commit the changes:
    $ git add pyproject.toml uv.lock requirements.txt

To update the version of an existing transitive dependency, you can use uv lock --upgrade-package <package>=<version>.