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
3 changes: 3 additions & 0 deletions pytest.ini
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ python_functions = test_*
# Minimum Python version
minversion = 7.0

# One event loop per test function, the pytest-asyncio default.
asyncio_default_fixture_loop_scope = function

# Test paths
testpaths = tests

Expand Down
8 changes: 4 additions & 4 deletions requirements-dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ pytest==9.2.0
pytest-asyncio==1.5.0 # Updated for Python 3.12 event loop compatibility
pytest-cov==7.1.0
pytest-mock==3.17.0
coverage==7.17.3
coverage==7.17.5

# Code Quality
black==26.10.1 # Code formatting - Updated for Python 3.12
Expand All @@ -19,18 +19,18 @@ mypy==2.4.1 # Type checking - Updated for Python 3.12
pylint==4.1.4 # Advanced linting

# Development Tools
ipython==9.18.1 # Enhanced Python shell
ipython==9.19.1 # Enhanced Python shell
ipdb==0.13.13 # Debugger
pre-commit==4.7.0 # Git hooks for code quality

# Documentation
mkdocs==1.6.1
mkdocs-material==9.8.1
mkdocs-material==9.8.2

# Database Tools
sqlalchemy-utils==0.43.0

# Testing Utilities
faker==40.54.0 # Generate test data
faker==40.63.0 # Generate test data
freezegun==1.5.5 # Mock datetime (1.5+ required for Python 3.13)
responses==0.26.3 # Mock HTTP requests
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ pytz==2026.6
twilio==9.13.0

# Data Validation
pydantic==2.14.3
pydantic==2.14.4
pydantic-settings==2.16.3

# Utilities
Expand Down
3 changes: 1 addition & 2 deletions src/models/database.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@
"""

from sqlalchemy import create_engine
from sqlalchemy.ext.declarative import declarative_base
from sqlalchemy.orm import sessionmaker
from sqlalchemy.orm import declarative_base, sessionmaker
from sqlalchemy.pool import NullPool
import os
from dotenv import load_dotenv
Expand Down