Skip to content

Commit bd86330

Browse files
PythonFZclaudepre-commit-ci[bot]
authored
feat: consolidate zndraw-auth + zndraw-joblib into monorepo (#894)
* docs: add repo consolidation design spec (auth + joblib → zndraw) Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> * docs: add repo consolidation implementation plan Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> * feat: copy zndraw-auth source into repo Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * feat: copy zndraw-joblib source into repo * refactor: move zndraw tests into tests/zndraw/ Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * feat: copy zndraw-auth tests into repo * feat: copy zndraw-joblib tests into repo * build: absorb auth+joblib deps, configure wheel for 3 packages Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * refactor: extract test helpers from conftest into helpers.py conftest.py should only contain pytest fixtures (auto-discovered), not importable utility functions. Move make_raw_frame, create_test_user_model, create_test_token, decode_msgpack_response, create_test_user_in_db, create_test_room, auth_header, and MockSioServer into tests/zndraw/helpers.py. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> * style: lint compliance for absorbed auth+joblib packages Fix all ruff and pre-commit violations across the absorbed zndraw_auth and zndraw_joblib packages: RUF022 __all__ sorting, UP042 StrEnum, FAST001/002 response_model/Annotated, TC001/002 TYPE_CHECKING imports, N818 ProblemException→ProblemError, TRY300/400/401 exception logging, S311 SystemRandom, ASYNC109 noqa annotations, ARG001/002/005 unused args, BLE001 broad catches, SIM102/105 simplifications, E501 line length, B007 loop vars, PT006 parametrize tuples, G004 lazy logging. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * ci: run auth/joblib/zndraw test suites sequentially Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> * fix: remove version re-export to avoid circular import zndraw_auth → zndraw → zndraw_joblib → zndraw_auth cycle. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> * fix: remove duplicate Query defaults broken by FAST001 auto-fix Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> * fix: remove test __init__.py shadowing source, fix renamed param Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> * fix: rename conflicting test basenames for combined pytest run Pytest prepend mode requires unique basenames across test directories. Renamed 4 files in tests/zndraw/ to avoid collisions with tests/zndraw_auth/ and tests/zndraw_joblib/: - test_auth.py → test_auth_endpoints.py - test_exceptions.py → test_zndraw_exceptions.py - test_schemas.py → test_zndraw_schemas.py - test_client/ → test_zndraw_client/ Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> * remove AGENTS.md * refactor: update zndraw imports for absorbed auth+joblib packages Renames from lint compliance (N818: ProblemException → ProblemError) cascaded into zndraw source that imports from zndraw_joblib. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * ci: run all test suites in single pytest invocation Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
1 parent 5ea7ead commit bd86330

164 files changed

Lines changed: 13712 additions & 422 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/test.yaml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,7 @@ jobs:
4242
run: |
4343
uv sync --all-extras --dev
4444
- name: Pytest
45-
run: |
46-
uv run python --version
47-
uv run pytest --cov --junitxml=junit.xml -o junit_family=legacy
45+
run: uv run pytest --cov --junitxml=junit.xml -o junit_family=legacy
4846
- name: Upload coverage to Codecov
4947
uses: codecov/codecov-action@v5
5048
with:

AGENTS.md

Lines changed: 0 additions & 75 deletions
This file was deleted.

CLAUDE.md

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)