forked from PSLmodels/OG-Core
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Renamed code formatting action to check_format.yml
- Loading branch information
Showing
3 changed files
with
14 additions
and
7 deletions.
There are no files selected for viewing
8 changes: 4 additions & 4 deletions
8
.github/workflows/check_black.yml → .github/workflows/check_format.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 |
---|---|---|
@@ -1,15 +1,15 @@ | ||
|
||
name: Check Black formatting | ||
name: Check code formatting | ||
|
||
on: [push, pull_request] | ||
|
||
jobs: | ||
lint: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/setup-python@v2 | ||
- uses: actions/checkout@v4 | ||
- uses: actions/setup-python@v4 | ||
- uses: psf/black@stable | ||
with: | ||
options: "-l 79 --check" | ||
src: "." | ||
src: "." |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,12 @@ | ||
- bump: patch | ||
changes: | ||
added: | ||
- Adds automatic versioning workflow by updating `build_and_test.yml`, adding ` | ||
- Updates `README.md` | ||
- Adds the following files for automatic versioning, `.github/changelog_template.md`, `.github/get-changelog-diff.sh`, `.github/has-functional-changes.sh`, `.github/is-version-number-acceptable.sh` | ||
- Adds "Check version" job to `build_and_test.yml` GH Action. | ||
- Adds `tag_version.yml` GH Action on push to master branch. | ||
- Adds three new functions to `Makefile` | ||
- Adds starting `changelog.yaml`. | ||
- Updates `contributor_guide.md`. | ||
- Updates `README.md`. | ||
- Renamed code formatting GH Action from `check_black.yml` to `check_format.yml` and updated the actions within. | ||
- Removes hard reference to version number in `./ogcore/__init__.py` so that the version reference automatically updates. |