-
Notifications
You must be signed in to change notification settings - Fork 7
Developer How To
Rob Campbell edited this page Jun 22, 2019
·
10 revisions
This page covers issues a developer might run into when adding features and also guidelines for contributing.
Lasagna adheres to PEP8 and commits should be passed through Black.
You may leave two empty lines after method definitions to improve readability.
Preference is for commits to go to development
and only merge commits into master
.
Exceptions to this are things like modifications to the readme, changelog, or perhaps small bugfixes.
Please avoid creating a branch per feature in this repository.
If you wish to do this, clone the repo, branch, make changes, then merge or pull request into development
or perhaps master
.
Say you want a new sub-menu under "Plugins" called "awesome_plugins" and you want to bundle these with Lasagna:
mkdir lasagna/lasagna/plugins/awesome_plugins
touch lasagna/lasagna/plugins/awesome_plugins/__init__.py
- Add the new directory to
pluginPaths
inlasagna_prefs.yml
- Add your plugin to the new directory. It should have a file name ending in
_plugin.py