Sort imports
authorAdam Dullage <redacted>
Wed, 24 Aug 2022 06:16:45 +0000 (07:16 +0100)
committerAdam Dullage <redacted>
Wed, 24 Aug 2022 06:16:45 +0000 (07:16 +0100)
flatnotes/flatnotes.py
flatnotes/main.py

index ac8427919e9ed077c38c2acb646d85b1608a9274..0b102032fdee7d3a148787713988f71f4d8efd3c 100644 (file)
@@ -5,6 +5,7 @@ from datetime import datetime
 from typing import List, Tuple
 
 import whoosh
+from helpers import empty_dir, strip_ext
 from whoosh import writing
 from whoosh.analysis import CharsetFilter, StemmingAnalyzer
 from whoosh.fields import ID, STORED, TEXT, SchemaClass
@@ -13,8 +14,6 @@ from whoosh.qparser import MultifieldParser
 from whoosh.searching import Hit
 from whoosh.support.charset import accent_map
 
-from helpers import empty_dir, strip_ext
-
 MARKDOWN_EXT = ".md"
 INDEX_SCHEMA_VERSION = "2"
 
index cc80dfa034d031b47d40e9704e70f23243a45f11..2ae7ef0073caa0375b56c89fa5d36379f7ebfc31 100644 (file)
@@ -10,9 +10,9 @@ from auth import (
     validate_token,
 )
 from error_responses import (
-    title_exists_response,
-    note_not_found_response,
     invalid_title_response,
+    note_not_found_response,
+    title_exists_response,
 )
 from fastapi import Depends, FastAPI, HTTPException
 from fastapi.responses import HTMLResponse
git clone https://git.99rst.org/PROJECT