Skip to content

Commit 9d63449

Browse files
Hide the schemas folder (#601)
Closes #600 | Hides the `schemas` folder inside the `.github` folder, for **both** this repository itself and the cookie-cut project that is produced from this repository. Corresponding "expected generated project" information has also been updated to match these changes. If you don't want to have `schemas` hidden inside `.github` for this repository, revert [this commit](f234a54). --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
1 parent 57a677c commit 9d63449

File tree

6 files changed

+18
-3
lines changed

6 files changed

+18
-3
lines changed

.pre-commit-config.yaml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,4 +56,9 @@ repos:
5656
name: "Validate GitHub issue templates"
5757
files: ^\.github/ISSUE_TEMPLATE/.*\.yml$
5858
exclude: ^\.github/ISSUE_TEMPLATE/config\.yml$
59-
args: ["--verbose", "--schemafile", "schemas/github-issue-forms.json"]
59+
args:
60+
[
61+
"--verbose",
62+
"--schemafile",
63+
".github/schemas/github-issue-forms.json",
64+
]

tests/data/test_package_generation/schemas/github-issue-forms.json renamed to tests/data/test_package_generation/.github/schemas/github-issue-forms.json

File renamed without changes.

tests/data/test_package_generation/.pre-commit-config.yaml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,4 +48,9 @@ repos:
4848
name: "Validate GitHub issue templates"
4949
files: ^\.github/ISSUE_TEMPLATE/.*\.yml$
5050
exclude: ^\.github/ISSUE_TEMPLATE/config\.yml$
51-
args: ["--verbose", "--schemafile", "schemas/github-issue-forms.json"]
51+
args:
52+
[
53+
"--verbose",
54+
"--schemafile",
55+
".github/schemas/github-issue-forms.json",
56+
]

{{cookiecutter.project_slug}}/schemas/github-issue-forms.json renamed to {{cookiecutter.project_slug}}/.github/schemas/github-issue-forms.json

File renamed without changes.

{{cookiecutter.project_slug}}/.pre-commit-config.yaml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,4 +48,9 @@ repos:
4848
name: "Validate GitHub issue templates"
4949
files: ^\.github/ISSUE_TEMPLATE/.*\.yml$
5050
exclude: ^\.github/ISSUE_TEMPLATE/config\.yml$
51-
args: ["--verbose", "--schemafile", "schemas/github-issue-forms.json"]
51+
args:
52+
[
53+
"--verbose",
54+
"--schemafile",
55+
".github/schemas/github-issue-forms.json",
56+
]

0 commit comments

Comments
 (0)