diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d64f6bf..de9133b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -42,6 +42,11 @@ jobs: pip install black isort flake8 pylint cd backend && pip install -r requirements.txt + - name: Auto-format with Black and isort + run: | + black backend/app + isort backend/app + - name: Black – format check run: black --check backend/app diff --git a/backend/app/__init__.py b/backend/app/__init__.py index d173562..a030855 100644 --- a/backend/app/__init__.py +++ b/backend/app/__init__.py @@ -1,3 +1,3 @@ """DMARQ - DMARC monitoring and analysis platform.""" -__version__ = "1.4.0" +__version__ = "1.4.1" diff --git a/backend/app/main.py b/backend/app/main.py index 4093afc..667a89e 100644 --- a/backend/app/main.py +++ b/backend/app/main.py @@ -16,6 +16,7 @@ from app.core.security import add_api_key, generate_api_key, require_admin_auth from app.middleware.security import SecurityHeadersMiddleware from app.models.mail_source import MailSource # noqa: F401 – ensure table is registered from app.services.gmail_client import GmailClient +from app.models.user import User # noqa: F401 – ensure User mapper is registered from app.services.imap_client import IMAPClient from app.services.report_store import ReportStore diff --git a/pyproject.toml b/pyproject.toml index b63028f..230d5e6 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "dmarq" -version = "1.4.0" +version = "1.4.1" description = "A modern, privacy-conscious DMARC monitoring and analysis platform" readme = "README.md" license = {text = "MIT"}