Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ docassemble.AssemblyLine.egg-info/*
**/.mypy_cache/**
dist/**
.venv/**
uv.lock

# IDE related
.vscode/**
Expand Down
12 changes: 12 additions & 0 deletions docassemble/AssemblyLine/test_all_imports.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# Makes sure that loading each module file works.
# Includes all imports not covered by other test files.

from .al_courts import *
from .custom_jinja_filters import *
from .language import *
from .sign import *

try:
from .sessions import *
except SystemExit as ex:
print(f"Ignoring SystemExit error (expected from config.py: {ex})")
9 changes: 4 additions & 5 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -65,14 +65,13 @@ ignore_missing_imports = true

[dependency-groups]
dev = [
"docassemble.base>=1.3",
"docassemble.webapp",
"pytest",
"docassemble.base>=1.7",
"docassemble.webapp>=1.7",
"pytest>=7.0",
"mypy",
"pandas-stubs",
"sqlalchemy[mypy]",
"sqlalchemy[mypy]>=1.3.0",
"types-PyYAML",
"PyGithub",
"types-requests",
"types-psycopg2",
]
Expand Down
Loading