Skip to content

Files

Latest commit

 

History

History

python

Selfie snapshot testing for Python

Contributing

PR's welcome! Dependencies are managed using uv:

Our CI server runs three checks in the selfie-lib directory.

  • uv run pytest - run tests
  • uv run pyright - type checking
  • uv run ruff format --check && uv run ruff check - code lint & formatting
    • uv run ruff format && uv run ruff check --fix to fix

The same setup is used for pytest-selfie and example-pytest-selfie.

For the IDE we use VSCode. Make sure to open the python directory, not the parent selfie. Recommended VSCode plugins: