A temporary library
This Python library was created by CEDA’s Backstage service, to begin working on your code you complete the steps noted in this document. If you find any issues, please note them in this repo:
https://github.com/cedadev/ceda-github-python-library
This library will use the Poetry packaging system. To install Poetry you should follow these instructions: https://python-poetry.org/docs/#installation
Run poetry install
to collect all relevant development libraries and create your poetry.lock
file.
Alternatively you can run poetry lock
which will a poetry.lock
.
In both cases this lock file should be commited.
Run poetry run pre-commit install
to install the pre-commit hooks into this repository.
You should change the name of the directory .rename_github
to .github
(note the full stops).
This will activate all GitHub quality assurance, documentation and module publication workflows.
At this point you can commit all your changes to ensure a fully working and quality assured repository.
You should activate Default
“CodeQL analysis” on GitHub at the following link:
https://github.com/cedadev/ceda-temp-a1/settings/security_analysis
Create a project on PyPI for ceda-temp-a1, you should also set up an integration with GitHub if you have not done so already.
If your GitHub account does not make one of your email addresses visible, then commits to this (and future) libraries made with Backstage templates will not be linked to your GitHub account. Backstage will automatically collect this information periodically.