Skip to content

Commit 39d9a33

Browse files
committed
Update .gitignore, pre-commit configuration, and enhance documentation in main.py; improve gallery and home templates with English translations
1 parent 102bc1b commit 39d9a33

7 files changed

Lines changed: 317 additions & 23 deletions

File tree

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,4 +36,4 @@ coverage.xml
3636
*.py,cover
3737
.hypothesis/
3838
.pyre/
39-
.mypy_cache/
39+
.mypy_cache/

.pre-commit-config.yaml

Lines changed: 2 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,7 @@ repos:
2121
- id: detect-aws-credentials
2222
args: [--allow-missing-credentials]
2323
- id: detect-private-key
24-
- repo: https://github.com/codespell-project/codespell
25-
rev: v2.4.1
26-
hooks:
27-
- id: codespell
28-
additional_dependencies:
29-
- tomli
30-
exclude: 'data/emojis\.json'
24+
3125
# Mypy disabled - project does not use type annotations
3226
# - repo: https://github.com/pre-commit/mirrors-mypy
3327
# rev: v1.18.2
@@ -38,19 +32,10 @@ repos:
3832
# - uvicorn
3933
# args: ["--ignore-missing-imports"]
4034
- repo: https://github.com/astral-sh/ruff-pre-commit
41-
rev: v0.14.5
35+
rev: v0.14.6
4236
hooks:
4337
# Run the linter
4438
- id: ruff
4539
args: [--fix]
4640
# Run the formatter
4741
- id: ruff-format
48-
- repo: https://github.com/numpy/numpydoc
49-
rev: v1.9.0
50-
hooks:
51-
- id: numpydoc-validation
52-
exclude: |
53-
(?x)(
54-
/tests/|
55-
docs/
56-
)

0 commit comments

Comments
 (0)