Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Use invoke as library #25

Merged
merged 14 commits into from
Jul 6, 2022
Merged

Use invoke as library #25

merged 14 commits into from
Jul 6, 2022

Conversation

CasperWA
Copy link
Collaborator

@CasperWA CasperWA commented Jul 6, 2022

Fixes #21

Use invoke as a library. For more information about what this means see the invoke documentation on this.

With this new setup, there is no longer a reason to clone down this repository in the workflows - at least not explicitly - since the tasks are now part of a Python package (ci-cd), which presents the command line script ci-cd. It's essentially invoke.

CasperWA added 14 commits July 6, 2022 23:46
This is to be able to properly distribute the invoke tasks.
For more information on this, see
https://docs.pyinvoke.org/en/stable/concepts/library.html

Put everything in a single pyprojects.toml file and use flit
for building.
Remove all unnecessary files related to this change.
Update dependabot config (removing updating the requirements*.txt).
Use `--freeze` option specifically for this repository when updating it
in the pre-commit config file for the update dependencies workflow.
@CasperWA CasperWA merged commit 1b5dce8 into main Jul 6, 2022
@CasperWA CasperWA deleted the fix-21-hooks-externally branch July 6, 2022 23:47
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Hooks not working externally
1 participant