mirror of
https://github.com/ipnet-mesh/meshcore-hub.git
synced 2026-03-28 17:42:56 +01:00
This commit establishes the complete foundation for the MeshCore Hub project: - Project setup with pyproject.toml (Python 3.11+, all dependencies) - Development tools: black, flake8, mypy, pytest configuration - Pre-commit hooks for code quality - Package structure with all components (interface, collector, api, web) Common package includes: - Pydantic settings for all component configurations - SQLAlchemy models for nodes, messages, advertisements, traces, telemetry - Pydantic schemas for events, API requests/responses, commands - MQTT client utilities with topic builder - Logging configuration Database infrastructure: - Alembic setup with initial migration for all tables - Database manager with session handling CLI entry point: - Click-based CLI with subcommands for all components - Database migration commands (upgrade, downgrade, revision) Tests: - Basic test suite for config and models - pytest fixtures for in-memory database testing
17 lines
256 B
INI
17 lines
256 B
INI
[flake8]
|
|
max-line-length = 88
|
|
extend-ignore = E203, E501, W503
|
|
exclude =
|
|
.git,
|
|
__pycache__,
|
|
.venv,
|
|
venv,
|
|
build,
|
|
dist,
|
|
*.egg-info,
|
|
alembic/versions,
|
|
.mypy_cache,
|
|
.pytest_cache
|
|
per-file-ignores =
|
|
__init__.py: F401
|