Add isort for automatic import sorting and skip main.py because it's a drama queen 👑

This commit is contained in:
sabaimran 2023-11-21 11:27:12 -08:00
parent 8a0d92e2d7
commit 244b76ffed
2 changed files with 10 additions and 0 deletions

View file

@ -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:

View file

@ -1,3 +1,7 @@
""" Main module for Khoj Assistant
isort:skip_file
"""
# Standard Packages
import os
import sys