Update .gitignore and refactor metrics.py, activities.py, and gates.py for improved clarity and consistency. Added coverage.xml and cache directories to .gitignore. Standardized string formatting and parameter handling in metrics and activities classes, enhancing code readability. Removed the deprecated faker.py file and adjusted related tests accordingly.
19 lines
797 B
Plaintext
19 lines
797 B
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-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 (already in main requirements)
|
|
|
|
# Development Tools
|
|
ipython>=8.12.0 # Enhanced Python shell
|
|
ipdb>=0.13.13 # IPython debugger |