-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #250 from nasa/release/1.6.0
Release/1.6.0
- Loading branch information
Showing
23 changed files
with
793 additions
and
603 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -121,7 +121,7 @@ jobs: | |
run: | | ||
git config --global user.name 'stitchee bot' | ||
git config --global user.email '[email protected]' | ||
git commit -am "/version ${{ env.software_version }}" | ||
git commit -am "/version ${{ env.software_version }}" --no-verify | ||
git push | ||
# Builds and pushes the package to the Python Package Index (PyPI) | ||
|
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,46 +1,56 @@ | ||
--- | ||
ci: | ||
autoupdate_schedule: "monthly" # Like dependabot | ||
autoupdate_commit_msg: "chore: update pre-commit hooks" | ||
autoupdate_branch: "develop" | ||
autofix_prs: false # Comment "pre-commit.ci autofix" on a PR to trigger | ||
|
||
default_language_version: | ||
python: python3.10 | ||
|
||
repos: | ||
- repo: https://github.com/gitleaks/gitleaks | ||
rev: v8.21.2 | ||
hooks: | ||
- id: gitleaks | ||
|
||
- repo: https://github.com/pre-commit/pre-commit-hooks | ||
rev: v5.0.0 | ||
hooks: | ||
- id: trailing-whitespace | ||
exclude: tests(/\w*)*/functional/t/trailing_whitespaces.py|tests/pyreverse/data/.*.html|doc/data/messages/t/trailing-whitespace/bad.py | ||
# Validate format | ||
- id: check-yaml | ||
- id: check-toml | ||
- id: check-json | ||
# Check for common mistakes | ||
- id: check-added-large-files | ||
- id: check-case-conflict | ||
# - id: check-illegal-windows-names # TODO: Enable in next release | ||
- id: check-merge-conflict | ||
- id: check-executables-have-shebangs | ||
- id: check-shebang-scripts-are-executable | ||
- id: check-symlinks | ||
- id: check-vcs-permalinks | ||
- id: destroyed-symlinks | ||
- id: detect-private-key | ||
- id: end-of-file-fixer | ||
exclude: | | ||
(?x)^( | ||
tests(/\w*)*/functional/m/missing/missing_final_newline.py| | ||
tests/functional/t/trailing_newlines.py| | ||
doc/data/messages/t/trailing-newlines/bad.py| | ||
)$ | ||
- id: mixed-line-ending | ||
- id: no-commit-to-branch # protects `main` by default | ||
- id: debug-statements | ||
- id: trailing-whitespace | ||
|
||
- repo: https://github.com/astral-sh/ruff-pre-commit | ||
# Ruff version. | ||
rev: 'v0.7.0' | ||
rev: v0.7.3 | ||
hooks: | ||
- id: ruff | ||
args: [ "--fix" ] | ||
|
||
# https://github.com/python/black#version-control-integration | ||
- repo: https://github.com/psf/black | ||
rev: 24.10.0 | ||
hooks: | ||
- id: black-jupyter | ||
args: ["--fix", "--exit-non-zero-on-fix"] | ||
- id: ruff-format | ||
|
||
- repo: https://github.com/pre-commit/mirrors-mypy | ||
rev: v1.12.1 | ||
rev: v1.13.0 | ||
hooks: | ||
- id: mypy | ||
|
||
# Other Linters | ||
- repo: https://github.com/adrienverge/yamllint.git | ||
rev: v1.35.1 | ||
hooks: | ||
- id: yamllint | ||
args: ["-d {extends: relaxed, rules: {line-length: {max: 120}}}"] | ||
stages: [commit, push] | ||
# TODO: Reconsider using the alexjs hook when there is a way to ignore particular warnings and/or files. | ||
# - repo: "https://github.com/mfisher87/alexjs-pre-commit-mirror" | ||
# rev: "v11.0.1" # Use the sha / tag you prefer | ||
# hooks: | ||
# - id: "alex" |
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
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
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.