Skip to content

Latest commit

 

History

History
43 lines (26 loc) · 1.04 KB

CONTRIBUTING.md

File metadata and controls

43 lines (26 loc) · 1.04 KB

Contributing to street-view-green-view

...Work in progress...

Development

Code style

This project uses Ruff for linting and automatic code formatting.

You can run linting with the following shell commands or use the make lint shortcut:

ruff format --check src
ruff check src

To format, run the following shell commands or make format:

ruff format src
ruff check src --fix

Commits

Please follow the Conventional Commits specification when creating your commit messages.

For maintainers

Checkout a PR branch from a fork

To check out a pull request branch from a fork, first install the GitHub CLI.

Then, from the repository, you can run, for example:

gh pr checkout 2

where the final number should be the PR number.

If you don't want to use the GitHub CLI, this can also be done using just regular git. See this StackOverflow answer.