feat: set up Python project structure with pyproject.toml
- 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>
This commit is contained in:
co-authored by
Claude Opus 4.5
parent
9c4006b9aa
commit
8211e57b61
@@ -0,0 +1,24 @@
|
||||
"""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
|
||||
Reference in New Issue
Block a user