Skip to content

Commit c705234

Browse files
chore(sync): 🔨 synced file(s) with seedcase-project/template-data-package
1 parent ba68a0a commit c705234

File tree

7 files changed

+31
-67
lines changed

7 files changed

+31
-67
lines changed

.github/pull_request_template.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,9 @@ This PR will [DESCRIBE CHANGES].
44

55
Closes #
66

7-
<!-- Select quick/in-depth as necessary -->
87
This PR needs a quick/an in-depth review.
98

109
## Checklist
1110

12-
- [ ] Read through for typos, added new words to the dictionary
1311
- [ ] Checked that the README is up to date
14-
- [ ] Resolved any Ruff errors / formatted in Markdown
12+
- [ ] Run `just run-all`

.pre-commit-config.yaml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,14 @@ repos:
1212
- id: end-of-file-fixer
1313

1414
- repo: https://github.com/commitizen-tools/commitizen
15-
rev: v4.7.0
15+
rev: v4.7.2
1616
hooks:
1717
- id: commitizen
18+
19+
# Use the mirror since the main `typos` repo has tags for different
20+
# sub-packages, which confuses pre-commit when it tries to find the latest
21+
# version
22+
- repo: https://github.com/adhtruong/mirrors-typos
23+
rev: v1.32.0
24+
hooks:
25+
- id: typos

.vscode/extensions.json

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,21 @@
11
{
2-
// See https://go.microsoft.com/fwlink/?LinkId=827846 to learn about workspace recommendations.
3-
// Extension identifier format: ${publisher}.${name}. Example: vscode.csharp
4-
// List of extensions which should be recommended for users of this workspace.
52
"recommendations": [
3+
"eamodio.gitlens",
4+
"github.vscode-github-actions",
5+
"redhat.vscode-yaml",
66
"donjayamanne.githistory",
77
"felipecaputo.git-project-manager",
88
"GitHub.vscode-pull-request-github",
9-
"ms-azuretools.vscode-docker",
109
"ms-python.python",
1110
"ms-python.vscode-pylance",
1211
"njpwerner.autodocstring",
1312
"quarto.quarto",
1413
"ms-toolsai.jupyter",
15-
"streetsidesoftware.code-spell-checker",
1614
"vivaxy.vscode-conventional-commits",
1715
"charliermarsh.ruff",
1816
"pshaddel.conventional-branch",
19-
"yy0931.vscode-sqlite3-editor"
17+
"tekumara.typos-vscode",
18+
"EditorConfig.EditorConfig"
2019
],
2120
// List of extensions recommended by VS Code that should not be recommended for users of this workspace.
2221
"unwantedRecommendations": []

.vscode/launch.json

Lines changed: 0 additions & 19 deletions
This file was deleted.

.vscode/python.code-snippets

Lines changed: 0 additions & 31 deletions
This file was deleted.

.vscode/settings.json

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,5 @@
3131
},
3232
"python.defaultInterpreterPath": "${workspaceFolder}/.venv",
3333
"python.languageServer": "Pylance",
34-
"files.insertFinalNewline": true,
35-
"cSpell.enabledFileTypes": {
36-
"quarto": true
37-
},
38-
"cSpell.language": "en,en-GB",
34+
"files.insertFinalNewline": true
3935
}

justfile

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,20 @@
22
just --list --unsorted
33

44
# Run all build-related recipes in the justfile
5-
run-all: install-deps format-python check-python check-commits
5+
run-all: install-deps format-python check-python check-spelling check-commits
6+
7+
# Install the pre-commit hooks
8+
install-precommit:
9+
# Install pre-commit hooks
10+
uvx pre-commit install
11+
# Run pre-commit hooks on all files
12+
uvx pre-commit run --all-files
13+
# Update versions of pre-commit hooks
14+
uvx pre-commit autoupdate
615

716
# Install Python package dependencies
817
install-deps:
9-
uv sync --upgrade --dev
18+
uv sync --upgrade --dev --all-extras
1019

1120
# Check Python code with the linter for any errors that need manual attention
1221
check-python:
@@ -28,3 +37,7 @@ check-commits:
2837
else
2938
echo "Not on main or haven't committed yet."
3039
fi
40+
41+
# Check for spelling errors in files
42+
check-spelling:
43+
uv run typos

0 commit comments

Comments
 (0)