Skip to content

Commit bee2e4b

Browse files
committed
get pre-commit working
1 parent 129eda4 commit bee2e4b

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,6 @@ repos:
44
hooks:
55
- id: check-added-large-files
66
- id: check-yaml
7+
exclude: ^Charts/.*/templates
78
- id: check-merge-conflict
89
- id: end-of-file-fixer

pyproject.toml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ legacy_tox_ini = """
7878
[tox]
7979
skipsdist=True
8080
81-
[testenv:{pre-commit,type-checking,tests,docs}]
81+
[testenv:{pre-commit,docs}]
8282
# Don't create a virtualenv for the command, requires tox-direct plugin
8383
direct = True
8484
passenv = *
@@ -90,8 +90,6 @@ allowlist_externals =
9090
sphinx-autobuild
9191
commands =
9292
pre-commit: pre-commit run --all-files --show-diff-on-failure {posargs}
93-
type-checking: pyright src tests {posargs}
94-
tests: pytest --cov=dev_c7 --cov-report term --cov-report xml:cov.xml {posargs}
9593
docs: sphinx-{posargs:build -EW --keep-going} -T docs build/html
9694
"""
9795

0 commit comments

Comments
 (0)