mirror of
https://github.com/khoj-ai/khoj.git
synced 2024-11-23 15:38:55 +01:00
Add isort for automatic import sorting and skip main.py because it's a drama queen 👑
This commit is contained in:
parent
8a0d92e2d7
commit
244b76ffed
2 changed files with 10 additions and 0 deletions
|
@ -4,6 +4,12 @@ repos:
|
|||
hooks:
|
||||
- id: black
|
||||
|
||||
- repo: https://github.com/pycqa/isort
|
||||
rev: 5.12.0
|
||||
hooks:
|
||||
- id: isort
|
||||
name: isort (python)
|
||||
|
||||
- repo: https://github.com/pre-commit/pre-commit-hooks
|
||||
rev: v4.4.0
|
||||
hooks:
|
||||
|
|
|
@ -1,3 +1,7 @@
|
|||
""" Main module for Khoj Assistant
|
||||
isort:skip_file
|
||||
"""
|
||||
|
||||
# Standard Packages
|
||||
import os
|
||||
import sys
|
||||
|
|
Loading…
Reference in a new issue