diff --git a/.cruft.json b/.cruft.json index fa0470c..8b8354f 100644 --- a/.cruft.json +++ b/.cruft.json @@ -1,6 +1,6 @@ { "template": "https://github.com/mrsimonemms/new", - "commit": "7b399837decdab782ba09613a447678ea1f17abb", + "commit": "01f260466e94aed853cf08ea0cd85a7a49fe8302", "checkout": null, "context": { "cookiecutter": { diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index eae1e24..2507829 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -1,6 +1,6 @@ { - "name": "devcontainer", "image": "ghcr.io/mrsimonemms/devcontainers/full", + "name": "devcontainer", "features": {}, "customizations": { "vscode": { diff --git a/.licenserc.yaml b/.licenserc.yaml index 6819816..5cd516a 100644 --- a/.licenserc.yaml +++ b/.licenserc.yaml @@ -11,6 +11,7 @@ header: - "go.*" - "**/*.{json,md,yml,yaml}" - gitconfig + - "**/.gitkeep" comment: on-failure language: Go: diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 5233c0a..a5cd359 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -17,11 +17,11 @@ repos: - repo: https://github.com/mrsimonemms/pre-commit-hooks - rev: v1.1.0 + rev: v1.2.0 hooks: - id: license-eye - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.4.0 + rev: v4.6.0 hooks: - id: pretty-format-json args: @@ -36,7 +36,7 @@ repos: - id: end-of-file-fixer - id: trailing-whitespace - repo: https://github.com/compilerla/conventional-pre-commit - rev: v2.3.0 + rev: v3.2.0 hooks: - id: conventional-pre-commit stages: @@ -47,7 +47,11 @@ repos: - id: markdown-toc exclude: ^features - repo: https://github.com/DavidAnson/markdownlint-cli2 - rev: v0.8.1 + rev: v0.13.0 hooks: - id: markdownlint-cli2 exclude: ^features + - repo: https://github.com/mrsimonemms/toodaloo + rev: v0.2.2 + hooks: + - id: scan diff --git a/Makefile b/Makefile index 15adb53..133a4ab 100644 --- a/Makefile +++ b/Makefile @@ -43,6 +43,14 @@ build-images: done .PHONY: build-images +cruft-update: +ifeq (,$(wildcard .cruft.json)) + @echo "Cruft not configured" +else + @cruft check || cruft update --skip-apply-ask --refresh-private-variables +endif +.PHONY: cruft-update + install-devcontainers: @if ! command devcontainer --version; then \ echo "Installing Dev Containers CLI"; \ diff --git a/toodaloo.md b/toodaloo.md new file mode 100644 index 0000000..78611a1 --- /dev/null +++ b/toodaloo.md @@ -0,0 +1,5 @@ +# List of todos + +> Generated by [Toodaloo](https://toodaloo.dev) + +🎉🎉🎉 Woohoo! Nothing to do 🎉🎉🎉