Move files

This commit is contained in:
Andras Schmelczer 2022-07-04 19:31:15 +02:00
parent 3cf28379e8
commit 00cc8225c5
159 changed files with 31 additions and 49 deletions

View file

@ -3,7 +3,7 @@ from functools import lru_cache
import pytest
from src.great_ai import (
from great_ai import (
ArgumentValidationError,
GreatAI,
WrongDecoratorOrderError,

View file

@ -1,6 +1,6 @@
import unittest
from src.great_ai.large_file.helper import human_readable_to_byte
from great_ai.large_file.helper import human_readable_to_byte
class TestHumanReadableToByte(unittest.TestCase):

View file

@ -8,7 +8,7 @@ import boto3
PATH = Path(__file__).parent.resolve()
from src.great_ai.large_file import LargeFileS3
from great_ai.large_file import LargeFileS3
credentials = {
"aws_region_name": "your_region_like_eu-west-2",

View file

@ -2,7 +2,7 @@ import unittest
import pytest
from src.great_ai.utilities import chunk
from great_ai.utilities import chunk
class TestChunk(unittest.TestCase):

View file

@ -1,6 +1,6 @@
import unittest
from src.great_ai.utilities import clean
from great_ai.utilities import clean
class TestClean(unittest.TestCase):

View file

@ -4,7 +4,7 @@ from pathlib import Path
import pytest
from src.great_ai.utilities import ConfigFile
from great_ai.utilities import ConfigFile
DATA_PATH = Path(__file__).parent.resolve() / "data"

View file

@ -5,7 +5,7 @@ import matplotlib
matplotlib.use("Agg") # don't show a window for each test
from src.great_ai.utilities import evaluate_ranking
from great_ai.utilities import evaluate_ranking
class TestEvaluateRanking(unittest.TestCase):

View file

@ -1,6 +1,6 @@
import unittest
from src.great_ai.utilities import get_sentences
from great_ai.utilities import get_sentences
class TestGetSentences(unittest.TestCase):

View file

@ -1,10 +1,6 @@
import unittest
from src.great_ai.utilities import (
english_name_of_language,
is_english,
predict_language,
)
from great_ai.utilities import english_name_of_language, is_english, predict_language
class TestLanguage(unittest.TestCase):

View file

@ -1,6 +1,6 @@
import unittest
from src.great_ai.utilities import match_names
from great_ai.utilities import match_names
class TestMatchNames(unittest.TestCase):

View file

@ -2,7 +2,7 @@ import unittest
import pytest
from src.great_ai.utilities import WorkerException, parallel_map
from great_ai.utilities import WorkerException, parallel_map
COUNT = int(1e5) + 3

View file

@ -2,7 +2,7 @@ import unittest
import pytest
from src.great_ai.utilities import WorkerException, threaded_parallel_map
from great_ai.utilities import WorkerException, threaded_parallel_map
COUNT = int(1e5) + 3

View file

@ -1,6 +1,6 @@
import unittest
from src.great_ai.utilities import unique
from great_ai.utilities import unique
original = [
("a", 1),