Commit aac98df8 authored by Jonas Kaufmann's avatar Jonas Kaufmann Committed by Antoine Kaufmann
Browse files

exclude graphlib.py from pre-commit

parent bc1bb798
exclude: ^experiments/simbricks/utils/graphlib.py$
repos: repos:
- repo: local - repo: local
hooks: hooks:
......
...@@ -72,16 +72,24 @@ lint-clang-format: ...@@ -72,16 +72,24 @@ lint-clang-format:
$(CLANG_FORMAT) --dry-run --style=file `cat .lint-files` $(CLANG_FORMAT) --dry-run --style=file `cat .lint-files`
lint-yapf: lint-yapf:
yapf --recursive --diff results/ experiments/ yapf --recursive --diff \
--exclude experiments/simbricks/utils/graphlib.py \
-- results/ experiments/
format-yapf: format-yapf:
yapf --recursive --in-place results/ experiments/ yapf --recursive --in-place \
--exclude experiments/simbricks/utils/graphlib.py \
-- results/ experiments/
lint-isort: lint-isort:
isort --diff results/ experiments/ isort --diff \
--skip experiments/simbricks/utils/graphlib.py \
results/ experiments/
format-isort: format-isort:
isort --overwrite-in-place results/ experiments/ isort --overwrite-in-place \
--skip experiments/simbricks/utils/graphlib.py \
results/ experiments/
lint: lint-cpplint lint-clang-format lint: lint-cpplint lint-clang-format
lint-all: lint lint-clang-tidy lint-all: lint lint-clang-tidy
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment