-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Upgrade to repo-config v0.5.2 (#153)
All the changes are related to regenerating the files using the cookiecutter templates in repo-config v0.5.2. - Remove extensions from replay file - Add empty `Introduction` variable - Bump repo-config version to v0.5.2. - Add common pylint options - Add common source paths for isort - Add editorconfig file - Use repo-config for linting examples in docstrings - ci: Checkout submodules - Add a workflow to make sure release notes are updated - Don't ship development files in the source distribution - Add and sort mkdocs markdown extensions - mkdocs: Add comment with more info about cross-linking - Bump setuptools version
- Loading branch information
Showing
9 changed files
with
94 additions
and
232 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
# EditorConfig is awesome: https://EditorConfig.org | ||
|
||
# top-most EditorConfig file | ||
root = true | ||
|
||
# Unix-style newlines with a newline ending every file | ||
[*] | ||
end_of_line = lf | ||
insert_final_newline = true | ||
|
||
# Set default charset, indent style and trimming of whitespace | ||
[{.editorconfig,CODEOWNERS,LICENSE,*.{in,json,md,proto,py,pyi,toml,yaml,yml}}] | ||
charset = utf-8 | ||
indent_style = space | ||
trim_trailing_whitespace = true | ||
|
||
# 4 space indentation | ||
[*.{py,pyi}] | ||
indent_size = 4 | ||
|
||
# 2 space indentation | ||
[{.editorconfig,CODEOWNERS,LICENSE,*.{in,json,proto,toml,yaml,yml}}] | ||
indent_size = 2 | ||
|
||
# No indentation size specified for *.md because different blocks have | ||
# different indentation rules |
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 |
---|---|---|
@@ -0,0 +1,28 @@ | ||
name: Release Notes Check | ||
|
||
on: | ||
merge_group: | ||
pull_request: | ||
types: | ||
# On by default if you specify no types. | ||
- "opened" | ||
- "reopened" | ||
- "synchronize" | ||
# For `skip-label` only. | ||
- "labeled" | ||
- "unlabeled" | ||
|
||
|
||
jobs: | ||
check-release-notes: | ||
name: Check release notes are updated | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Check for a release notes update | ||
if: github.event_name == 'pull_request' | ||
uses: brettcannon/check-for-changed-files@4170644959a21843b31f1181f2a1761d65ef4791 # v1.2.0 | ||
with: | ||
file-pattern: "RELEASE_NOTES.md" | ||
prereq-pattern: "src/**" | ||
skip-label: "cmd:skip-release-notes" | ||
failure-message: "Missing a release notes update. Please add one or apply the ${skip-label} label to the pull request" |
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,14 @@ | ||
exclude .gitignore | ||
exclude .cookiecutter-replay.json | ||
exclude .darglint | ||
exclude noxfile.py | ||
exclude .editorconfig | ||
exclude .gitignore | ||
exclude CODEOWNERS | ||
exclude CONTRIBUTING.md | ||
exclude mkdocs.yml | ||
exclude noxfile.py | ||
exclude src/conftest.py | ||
recursive-exclude .github * | ||
recursive-exclude tests * | ||
recursive-exclude benchmarks * | ||
recursive-exclude docs * | ||
recursive-exclude tests * | ||
recursive-include py *.pyi |
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.