Open loneil opened 1 month ago
Tagging for any additional thoughts @jamshale
It's not really that important if there's not going to be a lot of changes to this plugin... But, yes it would be good to be consistent with the other plugins.
I think some basic unit testing coverage is more important, and possibly some integration testing like the plugins have. It has caught issues with libraries that aren't going to be caught with innkeeper until manually tested in traction UI.
I think when someone adds some tests they could updating the linting/formatting/docs at the same time.
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.
This issue was closed because it has been stalled for 5 days with no activity.
The Innkeeper plugin has black and flake8 set up as dev dependencies (https://github.com/bcgov/traction/blob/main/plugins/traction_innkeeper/pyproject.toml#L21). In the plugin repo the plugins are setup to use Ruff instead. We should match build processes for this plugin to the ones in the repo.
Alter dev dependencies and format/lint setup to be like the plugins repo. Make sure any GHA build processes for PRs and merges and such use the same patterns where possible when it comes to lint checks as well.
The innkeeper plugin also needs unit testing additions and dev tools for that should match as well, but that's covered in https://github.com/bcgov/traction/issues/946