Skip to content

Commit b308bfe

Browse files
committed
and examples to test, add isort check to linting CI
1 parent 885262d commit b308bfe

File tree

9 files changed

+23
-0
lines changed

9 files changed

+23
-0
lines changed

.github/workflows/lint.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ jobs:
3939
poetry run pip install -U "${{ matrix.django-version }}"
4040
- name: Run Static Analysis
4141
run: |
42+
poetry run isort django_typer --check
4243
poetry run black django_typer --check
4344
poetry run pylint django_typer
4445
poetry run mypy django_typer
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
from .settings import *
2+
3+
INSTALLED_APPS = [
4+
"django_typer.tests.examples",
5+
"django_typer",
6+
"django.contrib.admin",
7+
"django.contrib.auth",
8+
"django.contrib.contenttypes",
9+
"django.contrib.sessions",
10+
"django.contrib.messages",
11+
"django.contrib.staticfiles",
12+
]

django_typer/tests/examples/__init__.py

Whitespace-only changes.

django_typer/tests/examples/apps.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
from django.apps import AppConfig
2+
3+
4+
class ExamplesConfig(AppConfig):
5+
name = "django_typer.tests.examples"
6+
label = name.replace(".", "_")
7+
verbose_name = "Examples"

django_typer/tests/examples/management/__init__.py

Whitespace-only changes.

django_typer/tests/examples/management/commands/__init__.py

Whitespace-only changes.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../../../../examples/basic.py
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../../../../examples/hierarchy.py
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../../../../examples/multi.py

0 commit comments

Comments
 (0)