Skip to content

Commit 7294cb6

Browse files
Yuchen XiaoYuchen Xiao
authored andcommitted
chore: remove irrelevant code
1 parent fb9b340 commit 7294cb6

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

.pre-commit-config.yaml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,19 +14,16 @@ repos:
1414
rev: v6.0.0
1515
hooks:
1616
- id: check-yaml
17-
exclude: '^{{ cookiecutter.github_repo_name }}/.*\.yml$' # {{ cookiecutter.github_repo_name }} contains jinja variables in .yml, hook fails
1817
- id: end-of-file-fixer
1918
- id: trailing-whitespace
2019
- id: check-case-conflict
2120
- id: check-merge-conflict
2221
- id: check-toml
23-
exclude: '^{{ cookiecutter.github_repo_name }}/.*\.toml$' # {{ cookiecutter.github_repo_name }} contains jinja variables in pyproject.toml, hook fails
2422
- id: check-added-large-files
2523
- repo: https://github.com/psf/black
2624
rev: 26.3.1
2725
hooks:
2826
- id: black
29-
exclude: '^({{ cookiecutter.github_repo_name }}/.*\.py|hooks/post_gen_project\.py)$' # {{ cookiecutter.github_repo_name }} contains jinja variables in .py, hook fails. hooks/post_gen_project.py contains jinja variables of # (c) {% now 'utc', '%Y' %} which is not a valid black format
3027
- repo: https://github.com/pycqa/flake8
3128
rev: 7.3.0
3229
hooks:
@@ -35,7 +32,6 @@ repos:
3532
rev: 8.0.1
3633
hooks:
3734
- id: isort
38-
exclude: "{{ cookiecutter.github_repo_name }}/tests/test_functions.py" # ignore test_functions.py as it contains jinja variables
3935
args: ["--profile", "black"]
4036
- repo: https://github.com/kynan/nbstripout
4137
rev: 0.9.1
@@ -68,4 +64,3 @@ repos:
6864
hooks:
6965
- id: ruff-check
7066
args: [--fix, --config=pyproject.toml]
71-
exclude: ^\{\{\s*cookiecutter\.github_repo_name\s*\}\}/

0 commit comments

Comments
 (0)