mirror of
https://github.com/khoj-ai/khoj.git
synced 2024-12-18 02:27:10 +00:00
9368699b2c
Some checks failed
dockerize / Publish Khoj Docker Images (push) Waiting to run
build and deploy github pages for documentation / deploy (push) Waiting to run
pypi / Publish Python Package to PyPI (push) Waiting to run
test / Run Tests (push) Has been cancelled
pre-commit / Setup Application and Lint (push) Has been cancelled
32 lines
694 B
YAML
32 lines
694 B
YAML
repos:
|
|
- repo: https://github.com/psf/black
|
|
rev: 23.1.0
|
|
hooks:
|
|
- id: black
|
|
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
rev: v4.4.0
|
|
hooks:
|
|
- id: end-of-file-fixer
|
|
- id: trailing-whitespace
|
|
# Exclude elisp files to not clear page breaks
|
|
exclude: \.el$
|
|
- id: check-json
|
|
- id: check-toml
|
|
- id: check-yaml
|
|
|
|
- repo: https://github.com/pycqa/isort
|
|
rev: 5.12.0
|
|
hooks:
|
|
- id: isort
|
|
name: isort (python)
|
|
args: ["--profile", "black", "--filter-files"]
|
|
|
|
- repo: https://github.com/pre-commit/mirrors-mypy
|
|
rev: v1.0.0
|
|
hooks:
|
|
- id: mypy
|
|
stages: [pre-push, manual]
|
|
pass_filenames: false
|
|
args:
|
|
- --config-file=pyproject.toml
|