2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-13 10:35:40 +00:00

resort imports

This commit is contained in:
Matthias Mair
2022-05-20 17:24:51 +02:00
parent ddc4ef3c38
commit e1d22f538d
156 changed files with 807 additions and 1042 deletions

View File

@ -3,6 +3,7 @@ Test that the root API endpoint is available.
"""
import json
import requests
# We expect the server to be running on the local host

View File

@ -7,10 +7,10 @@ This is because the "translated" javascript files are compiled into the "static"
They should only contain template tags that render static information.
"""
import sys
import re
import os
import pathlib
import re
import sys
here = os.path.abspath(os.path.dirname(__file__))
template_dir = os.path.abspath(os.path.join(here, '..', 'InvenTree', 'templates'))

View File

@ -1,7 +1,7 @@
""" Check that there are no database migration files which have not been committed. """
import sys
import subprocess
import sys
print("Checking for uncommitted locale files...")

View File

@ -1,7 +1,7 @@
""" Check that there are no database migration files which have not been committed. """
import sys
import subprocess
import sys
print("Checking for unstaged migration files...")

View File

@ -2,10 +2,10 @@
On release, ensure that the release tag matches the InvenTree version number!
"""
import sys
import re
import os
import argparse
import os
import re
import sys
if __name__ == '__main__':