sabaimran
9368699b2c
Migrate the pre-commit config
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
2024-11-24 14:54:26 -08:00
sabaimran
79913d4c17
Add isort to the pre-commit configuration and apply it to the whole project ( #595 )
...
* Apply isort to the entire repository
* Fix missing import issues in text_to_entries
* Fix imports in migration files
2023-12-28 18:04:02 +05:30
Debanjum Singh Solanky
6d9091bef5
Disable isort for now
2023-11-21 13:03:18 -08:00
Debanjum Singh Solanky
19e042037a
Run isort with black profile to avoid conflicts between the two
2023-11-21 12:52:07 -08:00
sabaimran
244b76ffed
Add isort for automatic import sorting and skip main.py because it's a drama queen 👑
2023-11-21 12:20:41 -08:00
Debanjum Singh Solanky
fd0a2f55f8
Run mypy checks in test workflow and on push (via pre-commit)
...
- Run mypy on git push (not every commit) but for all files
- Running it on pre-commit, doesn't make sense as mypy wants to look
at all files, not just diff files
- But this is too time consuming to run every commit, so run on push
- Update development section documentation on installing, manually
running pre-commit for validation that includes running mypy checks
2023-02-17 16:08:56 -06:00
Debanjum Singh Solanky
051f0e3fb5
Add, configure and run pre-commit locally and in test workflow
2023-02-17 13:31:36 -06:00