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

adds lint and format target for isort

parent 05af6e7d
...@@ -20,4 +20,4 @@ repos: ...@@ -20,4 +20,4 @@ repos:
rev: 5.10.1 rev: 5.10.1
hooks: hooks:
- id: isort - id: isort
name: isort (python) name: isort
...@@ -77,6 +77,12 @@ lint-yapf: ...@@ -77,6 +77,12 @@ lint-yapf:
format-yapf: format-yapf:
yapf --recursive --in-place results/ experiments/ yapf --recursive --in-place results/ experiments/
lint-isort:
isort --diff results/ experiments/
format-isort:
isort --overwrite-in-place 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