- Added new entries to .gitignore to exclude temporary files and training input datasets, ensuring a cleaner repository. - Included type stubs for psycopg2 in requirements-dev.txt to enhance type checking support for database interactions. - Refactored the run_training_test.py script to implement a structured approach for loading and validating training input JSON files, improving the robustness of the training workflow.
24 lines
1.1 KiB
Plaintext
24 lines
1.1 KiB
Plaintext
# Development and Testing Dependencies
|
|
# These packages are only needed for development, testing, and code quality checks
|
|
# Install with: pip install -r requirements-dev.txt
|
|
|
|
# Code Quality & Linting
|
|
ruff>=0.1.0 # Fast Python linter and formatter (replaces flake8, black, isort)
|
|
mypy>=1.7.0 # Static type checker
|
|
bandit>=1.7.5 # Security vulnerability scanner
|
|
pandas-stubs>=2.0.0 # Type stubs for pandas
|
|
types-psycopg2>=2.9.0 # Type stubs for psycopg2
|
|
types-requests>=2.31.0 # Type stubs for requests
|
|
|
|
# Testing
|
|
pytest>=7.4.0 # Testing framework
|
|
pytest-cov>=4.1.0 # Coverage plugin for pytest
|
|
pytest-asyncio>=0.21.0 # Async test support
|
|
testcontainers[postgres,minio,mongodb]>=4.0.0 # Real containers for E2E tests
|
|
requests>=2.31.0 # HTTP client for Gitea REST API seeding (E2E)
|
|
|
|
# Development Tools
|
|
ipython>=8.12.0 # Enhanced Python shell
|
|
ipdb>=0.13.13 # IPython debugger
|
|
ipykernel<=6.26.0 # IPython kernel ( other versions cause problems with interactive mode)
|