Esempio n. 1
0
def all():
    """
    Runs all defined QA checks.
    """
    QACheckRunner(
        MissingMigrationsQACheck(),
        MigrationFilenamesQACheck(),
        MissingTranslationsQACheck(),
        ImportOrderQACheck(),
    ).run()
Esempio n. 2
0
def all():
    """
    Runs all defined QA checks.
    """
    QACheckRunner(
        MissingMigrationsQACheck(),
        MigrationFilenamesQACheck(),
        MissingTranslationsQACheck(),
        ImportOrderQACheck(),
        TestMethodNamesQACheck(),
        TestPrintStatementsQACheck(),
    ).run()
Esempio n. 3
0
def import_order():
    """
    Runs import order QA check.
    """
    QACheckRunner(ImportOrderQACheck()).run()
Esempio n. 4
0
def missing_translations():
    """
    Runs missing translations QA check.
    """
    QACheckRunner(MissingTranslationsQACheck()).run()
Esempio n. 5
0
def migration_filenames():
    """
    Runs migration filenames QA check.
    """
    QACheckRunner(MigrationFilenamesQACheck()).run()
Esempio n. 6
0
def missing_migrations():
    """
    Runs missing migrations QA check.
    """
    QACheckRunner(MissingMigrationsQACheck()).run()
Esempio n. 7
0
def test_print_statements():
    """
    Runs test method names QA check.
    """
    QACheckRunner(TestPrintStatementsQACheck()).run()
Esempio n. 8
0
def test_method_names():
    """
    Runs test method names QA check.
    """
    QACheckRunner(TestMethodNamesQACheck()).run()