-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
DEV: Update dev requirements and pre-commit configuration (#2922)
- Loading branch information
1 parent
eec079d
commit b5d5f36
Showing
5 changed files
with
67 additions
and
103 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 |
---|---|---|
@@ -1,20 +1,20 @@ | ||
name: 'PR Title Check' | ||
on: | ||
pull_request: | ||
# check when PR | ||
# * is created, | ||
# * title is edited, and | ||
# * new commits are added (to ensure failing title blocks merging) | ||
types: [opened, reopened, edited, synchronize] | ||
|
||
jobs: | ||
title-check: | ||
name: Title check | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout Code | ||
uses: actions/checkout@v4 | ||
- name: Check PR title | ||
env: | ||
PR_TITLE: ${{ github.event.pull_request.title }} | ||
run: python .github/scripts/check_pr_title.py | ||
name: 'PR Title Check' | ||
on: | ||
pull_request: | ||
# check when PR | ||
# * is created, | ||
# * title is edited, and | ||
# * new commits are added (to ensure failing title blocks merging) | ||
types: [opened, reopened, edited, synchronize] | ||
|
||
jobs: | ||
title-check: | ||
name: Title check | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout Code | ||
uses: actions/checkout@v4 | ||
- name: Check PR title | ||
env: | ||
PR_TITLE: ${{ github.event.pull_request.title }} | ||
run: python .github/scripts/check_pr_title.py |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,6 @@ | ||
black | ||
pillow | ||
pip-tools | ||
pre-commit<2.18.0 | ||
pre-commit | ||
pytest-cov | ||
flit | ||
wheel |
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