-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make a proper package. 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 git to determine repo root for hooks. Check hook config directly for this repo, when updating pre-commit hooks in the 'CI - Update dependencies PR' workflow. Use `--freeze` option specifically for this repository when updating it in the pre-commit config file for the update dependencies workflow. Remove python code section from documentation.
- Loading branch information
Showing
21 changed files
with
194 additions
and
156 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
21 changes: 21 additions & 0 deletions
21
.github/workflows/_local_ci_check_pyproject_dependencies.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
name: CI - Check dependencies PR | ||
|
||
on: | ||
schedule: | ||
# At 7:30 every Monday (5:30 UTC) | ||
- cron: "30 5 * * 1" | ||
workflow_dispatch: | ||
|
||
jobs: | ||
update-pyproject-dependencies: | ||
name: Call reusable workflow | ||
if: github.repository_owner == 'CasperWA' | ||
uses: ./.github/workflows/ci_check_pyproject_dependencies.yml | ||
with: | ||
git_username: "Casper Welzel Andersen" | ||
git_email: "casper+github@welzel.nu" | ||
permanent_dependencies_branch: "ci/dependency-updates" | ||
install_extras: "[dev,docs]" | ||
pr_labels: "CI/CD" | ||
secrets: | ||
PAT: ${{ secrets.RELEASE_PAT }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.