GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — selfie-lib/python at main · diffplug/selfie-lib

Expand file tree

/

python

/
Copy path

Directory actions

More options

More options

Directory actions

More options

More options

Latest commit

 

History

History
History
/

python

/
Copy path

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
.vscode
.vscode
 
 
example-pytest-selfie
example-pytest-selfie
 
 
pytest-selfie
pytest-selfie
 
 
selfie-lib
selfie-lib
 
 
CHANGELOG.md
CHANGELOG.md
 
 
Doxyfile
Doxyfile
 
 
README.md
README.md
 
 
fullstack-pytest.code-workspace
fullstack-pytest.code-workspace
 
 
package-lock.json
package-lock.json
 
 
package.json
package.json
 
 

README.md

Outline

Selfie snapshot testing for Python

  • High-level documentation - lib.selfie.dev.
  • API documentation - pydoc.selfie.dev.
  • Source code - github.com/diffplug/selfie-lib

Contributing

PR's welcome! Dependencies are managed using uv:

  • https://docs.astral.sh/uv/getting-started/installation/
  • then cd into selfie-lib and run uv sync to get the dependencies

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:

  • https://marketplace.visualstudio.com/items?itemName=ms-python.python
  • https://marketplace.visualstudio.com/items?itemName=charliermarsh.ruff
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.