8211e57b61
- Add pyproject.toml with core and dev dependencies - Configure Ruff for linting and formatting - Configure MyPy for strict type checking - Configure pytest with asyncio support - Create src/polymarket_insider_tracker package structure - Add py.typed marker for PEP 561 compliance - Add pre-commit hooks configuration - Add comprehensive .gitignore - Create test directory structure with basic tests Closes #25 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
25 lines
759 B
Python
25 lines
759 B
Python
"""Test that the project setup is working correctly."""
|
|
|
|
import polymarket_insider_tracker
|
|
|
|
|
|
def test_version() -> None:
|
|
"""Test that version is defined."""
|
|
assert polymarket_insider_tracker.__version__ == "0.1.0"
|
|
|
|
|
|
def test_import_modules() -> None:
|
|
"""Test that all submodules can be imported."""
|
|
from polymarket_insider_tracker import ingestor
|
|
from polymarket_insider_tracker import profiler
|
|
from polymarket_insider_tracker import detector
|
|
from polymarket_insider_tracker import alerter
|
|
from polymarket_insider_tracker import storage
|
|
|
|
# Just verify imports work
|
|
assert ingestor is not None
|
|
assert profiler is not None
|
|
assert detector is not None
|
|
assert alerter is not None
|
|
assert storage is not None
|