repos: - repo: local hooks: - id: isort name: isort stages: [commit] language: system entry: isort types: [python] - id: black name: black stages: [commit] language: system entry: black types: [python] - id: flake8 name: flake8 stages: [commit] language: system entry: flake8 types: [python] - id: pylint name: PyLint stages: [commit] language: system entry: pylint --rcfile=.pylintrc files: \.py$ - id: sphinx-build name: Build Sphinx Doc stages: [push] entry: make docs language: system files: ^(docs/.*|cars/.*)$ pass_filenames: False - id: jupyter-nb-clear-output name: jupyter-nb-clear-output files: \.ipynb$ stages: [commit] language: system entry: jupyter nbconvert --ClearOutputPreprocessor.enabled=True --inplace