-
-
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.
- Loading branch information
Showing
20 changed files
with
2,163 additions
and
1 deletion.
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 |
---|---|---|
@@ -0,0 +1,32 @@ | ||
--- | ||
name: Bug report | ||
about: Create a report to help us improve | ||
title: '[BUG] report' | ||
labels: '' | ||
assignees: '' | ||
--- | ||
|
||
**Describe the bug** | ||
A clear and concise description of what the bug is. | ||
|
||
**To Reproduce** | ||
Steps to reproduce the behavior: | ||
|
||
1. Go to '...' | ||
1. Click on '....' | ||
1. Scroll down to '....' | ||
1. See error | ||
|
||
**Expected behavior** | ||
A clear and concise description of what you expected to happen. | ||
|
||
**Screenshots** | ||
If applicable, add screenshots to help explain your problem. | ||
|
||
**Desktop (please complete the following information):** | ||
|
||
- OS: \[e.g. iOS\] | ||
- Version \[e.g. 22\] | ||
|
||
**Additional context** | ||
Add any other context about the problem here. Please provide links to code samples where applicable. |
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,19 @@ | ||
--- | ||
name: Feature request | ||
about: Suggest an idea for this project | ||
title: '[REQUEST] feature' | ||
labels: '' | ||
assignees: '' | ||
--- | ||
|
||
**Is your feature request related to a problem? Please describe.** | ||
A clear and concise description of what the problem is. Ex. I'm always frustrated when \[...\] | ||
|
||
**Describe the solution you'd like** | ||
A clear and concise description of what you want to happen. | ||
|
||
**Describe alternatives you've considered** | ||
A clear and concise description of any alternative solutions or features you've considered. | ||
|
||
**Additional context** | ||
Add any other context or screenshots about the feature request here. |
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,13 @@ | ||
--- | ||
name: General Question | ||
about: General question about the project, usage, design, etc. | ||
title: '[QUESTION]' | ||
labels: '' | ||
assignees: '' | ||
--- | ||
|
||
**Question** | ||
Your question here. | ||
|
||
**Context** | ||
Any additional context around the question such a link to a project where it's being implemented. |
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: Generic Pull Request | ||
about: Template for most pull requests. | ||
title: '' | ||
labels: '' | ||
assignees: '' | ||
--- | ||
|
||
### Checklist | ||
|
||
<!-- You can erase any parts of this template not applicable to your Pull Request. --> | ||
|
||
- [ ] Have you followed the guidelines in our Contributing document? | ||
- [ ] Have you checked to ensure there aren't other open [Pull Requests](../../../pulls) for the same update/change? | ||
- [ ] Does your submission pass tests? | ||
- [ ] Have you lint your code locally prior to submission? | ||
- [ ] Have you added an explanation of what your changes do and why you'd like us to include them? | ||
- [ ] Have you written new tests for your core changes, as applicable? | ||
- [ ] Have you successfully ran tests with your changes locally? | ||
- [ ] Have you updated documentation, as applicable? | ||
|
||
### Why this is needed | ||
|
||
<!-- Explain why this change is needed. --> | ||
|
||
### Screenshots | ||
|
||
<!-- Please include screenshots of any new features to show how it works. --> |
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,62 @@ | ||
# https://github.com/release-drafter/release-drafter | ||
autolabeler: | ||
- label: bug | ||
branch: [/^(bug|bugfix|fix|hotfix)\/.*/] | ||
- label: changelog:skip | ||
branch: [/^(dependabot)\/.*/, /^pre-commit-ci-update-config/, /^renovate\/.*lockfile/] | ||
- label: dependencies | ||
branch: [/^(deps|dependabot|renovate)\/.*/, /^pre-commit-ci-update-config/] | ||
- label: documentation | ||
branch: [/^(docs)\/.*/] | ||
- label: feature | ||
branch: [/^(enhancement|feat|feature)\/.*/] | ||
- label: maintenance | ||
branch: [/^(chore|maint|maintain|maintenance)\/.*/, /^pre-commit-ci-update-config/] | ||
- label: changelog:patch | ||
branch: [/^(bug|bugfix|fix|hotfix)\/.*/] | ||
- label: release | ||
branch: [/^(release)\/.*/] | ||
categories: | ||
- title: 🚀 Features | ||
labels: | ||
- feature | ||
- enhancement | ||
- title: 🐛 Bug Fixes | ||
labels: | ||
- bug | ||
- title: 🧶 Dependencies | ||
labels: | ||
- dependencies | ||
- title: 📖 Doc Updates | ||
labels: | ||
- documentation | ||
- title: 🧰 Maintenance | ||
label: maintenance | ||
category-template: >- | ||
### $TITLE | ||
change-template: '- $TITLE @$AUTHOR (#$NUMBER)' | ||
commitish: master # cspell:ignore commitish | ||
exclude-contributors: | ||
- dependabot | ||
- renovate | ||
exclude-labels: | ||
- changelog:skip | ||
- release | ||
name-template: v$RESOLVED_VERSION | ||
sort-direction: ascending | ||
tag-template: v$RESOLVED_VERSION | ||
template: | | ||
## What Changed | ||
$CHANGES | ||
version-resolver: | ||
major: | ||
labels: | ||
- changelog:major | ||
minor: | ||
labels: | ||
- changelog:minor | ||
patch: | ||
labels: | ||
- changelog:patch | ||
default: patch |
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,9 @@ | ||
{ | ||
"$schema": "https://docs.renovatebot.com/renovate-schema.json", | ||
"extends": [ | ||
"github>finleyfamily/renovate" | ||
], | ||
"reviewers": [ | ||
"ITProKyle" | ||
] | ||
} |
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,15 @@ | ||
name: CI | ||
|
||
on: | ||
pull_request: # any pull request | ||
push: | ||
branches: | ||
- master | ||
|
||
defaults: | ||
run: | ||
shell: bash | ||
|
||
jobs: | ||
spellcheck: | ||
uses: finleyfamily/workflows/.github/workflows/spellcheck.yml@master |
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,11 @@ | ||
name: pull_request_target | ||
|
||
on: | ||
pull_request_target: | ||
|
||
jobs: | ||
workflows: | ||
permissions: | ||
contents: write | ||
pull-requests: write | ||
uses: finleyfamily/workflows/.github/workflows/pull_request_target.yml@master |
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,5 @@ | ||
default: true | ||
MD012: false # no-multiple-blanks: Multiple consecutive blank lines | ||
MD013: false # line-length | ||
MD014: false # commands-show-output: Dollar signs used before commands without showing output | ||
MD024: false # no-duplicate-heading/no-duplicate-header |
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,60 @@ | ||
default_language_version: | ||
node: system | ||
|
||
exclude: | | ||
(?x)^( | ||
(.*/)?package-lock\.json| | ||
(.*/)?poetry\.lock | ||
)$ | ||
repos: | ||
- repo: https://github.com/pre-commit/pre-commit-hooks | ||
rev: v4.6.0 | ||
hooks: | ||
- id: check-json | ||
- id: check-merge-conflict | ||
- id: check-toml | ||
- id: check-yaml | ||
- id: end-of-file-fixer | ||
- id: file-contents-sorter | ||
args: [--unique] | ||
files: | | ||
(?x)^( | ||
\.dockerignore| | ||
\.gitignore | ||
)$ | ||
- id: pretty-format-json | ||
args: [--autofix, --indent, '4'] | ||
exclude: | | ||
(?x)^( | ||
(.*)?(cdk|package|tsconfig|tslint)\.json | ||
)$ | ||
- id: pretty-format-json | ||
args: [--autofix, --indent, '2'] | ||
files: | | ||
(?x)^( | ||
(.*)?(cdk|package|tsconfig|tslint)\.json | ||
)$ | ||
- id: trailing-whitespace | ||
- id: mixed-line-ending | ||
args: [--fix=lf] | ||
- repo: https://github.com/pappasam/toml-sort | ||
rev: v0.23.1 | ||
hooks: | ||
- id: toml-sort-fix | ||
- repo: https://github.com/ITProKyle/pre-commit-hook-yamlfmt | ||
rev: v0.3.0 | ||
hooks: | ||
- id: yamlfmt | ||
args: [--mapping, '2', --offset, '2', --sequence, '4'] | ||
- repo: https://github.com/executablebooks/mdformat | ||
rev: 0.7.17 | ||
hooks: | ||
- id: mdformat | ||
additional_dependencies: | ||
- mdformat-frontmatter | ||
- mdformat-gfm | ||
- repo: https://github.com/igorshubovych/markdownlint-cli | ||
rev: v0.41.0 | ||
hooks: | ||
- id: markdownlint |
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,9 @@ | ||
{ | ||
"allowCompoundWords": true, | ||
"import": [ | ||
"@itprokyle/cspell-dict/cspell-ext.json" | ||
], | ||
"maxNumberOfProblems": 100, | ||
"version": "0.2", | ||
"words": [] | ||
} |
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,11 @@ | ||
{ | ||
"recommendations": [ | ||
"DavidAnson.vscode-markdownlint", | ||
"editorconfig.editorconfig", | ||
"lextudio.restructuredtext", | ||
"ms-python.python", | ||
"redhat.vscode-yaml", | ||
"streetsidesoftware.code-spell-checker", | ||
"tamasfe.even-better-toml" | ||
] | ||
} |
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,5 @@ | ||
{ | ||
"cSpell.enabled": true, | ||
"docker.languageserver.formatter.ignoreMultilineInstructions": true, | ||
"files.insertFinalNewline": true | ||
} |
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,54 @@ | ||
.PHONY: brewfile docs | ||
|
||
CI := $(if $(CI),yes,no) | ||
SHELL := /bin/bash | ||
|
||
ifeq ($(CI), yes) | ||
POETRY_OPTS = "-v" | ||
PRE_COMMIT_OPTS = --show-diff-on-failure --verbose | ||
endif | ||
|
||
help: ## show this message | ||
@awk \ | ||
'BEGIN {FS = ":.*##"; printf "\nUsage: make \033[36m<target>\033[0m\n"} /^[a-zA-Z_-]+:.*?##/ { printf " \033[36m%-30s\033[0m %s\n", $$1, $$2 } /^##@/ { printf "\n\033[1m%s\033[0m\n", substr($$0, 5) }' \ | ||
$(MAKEFILE_LIST) | ||
|
||
fix: run-pre-commit ## run all automatic fixes | ||
|
||
fix-md: ## automatically fix markdown format errors | ||
@poetry run pre-commit run mdformat --all-files | ||
|
||
lint: ## run all linters | ||
@echo "no linters configured for this project" | ||
|
||
run-pre-commit: ## run pre-commit for all files | ||
@poetry run pre-commit run $(PRE_COMMIT_OPTS) \ | ||
--all-files \ | ||
--color always | ||
|
||
setup: setup-poetry setup-pre-commit setup-npm ## setup dev environment | ||
|
||
setup-npm: ## install node dependencies with npm | ||
@npm ci | ||
|
||
setup-poetry: ## setup python virtual environment | ||
@poetry check | ||
@poetry install $(POETRY_OPTS) --no-root --sync | ||
|
||
setup-pre-commit: ## install pre-commit git hooks | ||
@poetry run pre-commit install | ||
|
||
spellcheck: ## run cspell | ||
@echo "Running cSpell to checking spelling..." | ||
@npm exec --no -- cspell lint . \ | ||
--color \ | ||
--config .vscode/cspell.json \ | ||
--dot \ | ||
--gitignore \ | ||
--must-find-files \ | ||
--no-progress \ | ||
--relative \ | ||
--show-context | ||
|
||
test: ## run all test | ||
@echo "no tests configured for this project" |
Oops, something went wrong.