Skip to content

Refactor: Remove flake8 config and consolidate test fixtures#64

Merged
aidankhogg merged 1 commit into
dev/alphafrom
claude/non-cascading-repo-tidy-8up027
Jun 28, 2026
Merged

Refactor: Remove flake8 config and consolidate test fixtures#64
aidankhogg merged 1 commit into
dev/alphafrom
claude/non-cascading-repo-tidy-8up027

Conversation

@aidankhogg

Copy link
Copy Markdown
Contributor

Summary

This PR consolidates test fixtures and removes flake8 configuration, improving code organization and reducing duplication across the test suite.

Key Changes

  • Removed flake8 configuration from pyproject.toml - the extensive exclusion list is no longer needed
  • Consolidated m3_spec fixture from multiple test files into tests/conftest.py to eliminate duplication and improve maintainability
  • Removed unused imports (Path, load_spec) from test_m3_bootstrap.py and test_orchestrator_m3.py after fixture consolidation
  • Updated documentation reference in compose/README.md from COMPOSE_BRAINSTORM.md to docs/compose-brainstorm.md (with file rename)
  • Improved module docstring in netengine/workers/__init__.py to use proper docstring format

Implementation Details

The m3_spec fixture was previously defined in both test_m3_bootstrap.py and test_orchestrator_m3.py with identical implementations. Moving it to the shared conftest.py follows pytest best practices and makes it available to all tests that need it, reducing code duplication and improving maintainability.

https://claude.ai/code/session_011ximaGNAUMBmWyymkYstdX

- Remove dead [tool.flake8] from pyproject.toml; flake8 6.x reads .flake8 natively, not pyproject.toml without the flake8-pyproject plugin
- Deduplicate m3_spec pytest fixture: move to tests/conftest.py, remove local copies and now-unused Path/load_spec imports from test_m3_bootstrap.py and test_orchestrator_m3.py
- Move COMPOSE_BRAINSTORM.md to docs/compose-brainstorm.md and update reference in compose/README.md
- Replace bare comment in netengine/workers/__init__.py with a module docstring

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_011ximaGNAUMBmWyymkYstdX
@aidankhogg aidankhogg self-assigned this Jun 28, 2026
@aidankhogg aidankhogg added the bug Something isn't working label Jun 28, 2026
@aidankhogg aidankhogg marked this pull request as ready for review June 28, 2026 21:31
@aidankhogg aidankhogg merged commit a200663 into dev/alpha Jun 28, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants