Reformat
This commit is contained in:
parent
af17ca9665
commit
ae3f1090bf
21 changed files with 887 additions and 238 deletions
|
@ -3,7 +3,6 @@ import json
|
|||
import logging
|
||||
import threading
|
||||
import time
|
||||
import os
|
||||
from collections import deque, namedtuple
|
||||
from operator import itemgetter
|
||||
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
from django.core.management.base import BaseCommand
|
||||
from judge.models import *
|
||||
from collections import defaultdict
|
||||
import csv
|
||||
import os
|
||||
from django.conf import settings
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -2,7 +2,6 @@ import numpy as np
|
|||
from django.conf import settings
|
||||
import os
|
||||
from django.core.cache import cache
|
||||
import hashlib
|
||||
|
||||
from judge.caching import cache_wrapper
|
||||
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
import errno
|
||||
from operator import attrgetter
|
||||
from math import sqrt
|
||||
|
||||
from django.conf import settings
|
||||
from django.contrib.contenttypes.fields import GenericRelation
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
import csv
|
||||
from tempfile import mktemp
|
||||
import re
|
||||
|
||||
from django.conf import settings
|
||||
|
|
|
@ -5,7 +5,6 @@ from django import forms
|
|||
from django.forms import ClearableFileInput
|
||||
|
||||
import os, os.path
|
||||
import tempfile
|
||||
import shutil
|
||||
|
||||
__all__ = ("handle_upload", "save_upload", "FineUploadForm", "FineUploadFileInput")
|
||||
|
|
|
@ -2,7 +2,6 @@ import hashlib
|
|||
import json
|
||||
import os
|
||||
import re
|
||||
import shutil
|
||||
import yaml
|
||||
import zipfile
|
||||
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
from collections import defaultdict
|
||||
from math import e
|
||||
import os, zipfile
|
||||
from datetime import datetime
|
||||
import random
|
||||
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
import json
|
||||
import os.path
|
||||
import zipfile
|
||||
from operator import attrgetter
|
||||
|
||||
from django.conf import settings
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue