Setting up the environment is always the most troublesome part... The main purpose of this note is to collect various commands for my own reference and copying.
Creating a Plugin - RSSerpent Docs:
https://docs.rsserpent.com/latest/en/contribution/plugin/
# Create a new plugin using the template
cookiecutter gh:rsserpent/template
# rsserpent-plugin-manhuagui
# The prefix part needs to be entered manually
# Enter the directory
cd rsserpent-plugin-manhuagui
# Enter the poetry virtual environment
poetry shell
# Run
uvicorn rsserpent:app --host '0.0.0.0' --port 1202 --reload
Standardization check before submission
# Enter the poetry virtual environment
poetry shell
# Stage the modifications first
git add .
# Perform the check
pre-commit run --all-files