Skip to content

Fix CI: apply black formatting, add flake8 config, clean code quality issues#7

Merged
TUstudents merged 4 commits intomainfrom
claude/design-review-implementation-bLSVS
Feb 21, 2026
Merged

Fix CI: apply black formatting, add flake8 config, clean code quality issues#7
TUstudents merged 4 commits intomainfrom
claude/design-review-implementation-bLSVS

Conversation

@TUstudents
Copy link
Copy Markdown
Owner

  • Run black across all source and test files (27 files reformatted)
  • Add .flake8 config matching black's 88-char line length; suppress
    E501/E203/W503 and add per-file ignores for T201 (print in main
    blocks) and E402 (matplotlib.use before imports in test_visualization)
  • Remove unused imports (Union, Tuple, j1, warnings, QUnit, IntensityUnit,
    pytest in conftest/test_basic)
  • Fix F541 f-string without placeholder in core.py str
  • Remove unused local variable current_bounds_idx in fitting.py
  • Replace C408 dict() calls with dict literals in visualization.py
  • Fix E262 inline comment style in test_modeling.py
  • Add stacklevel=2 to warnings.warn in test_analysis.py (B028)
  • Update README.md: replace placeholder installation section with working
    from-source instructions and a Quick Start code example

https://claude.ai/code/session_01PXC8wLEeZ6ZkLiXZCMVdUt

… issues

- Run black across all source and test files (27 files reformatted)
- Add .flake8 config matching black's 88-char line length; suppress
  E501/E203/W503 and add per-file ignores for T201 (print in __main__
  blocks) and E402 (matplotlib.use before imports in test_visualization)
- Remove unused imports (Union, Tuple, j1, warnings, QUnit, IntensityUnit,
  pytest in conftest/test_basic)
- Fix F541 f-string without placeholder in core.py __str__
- Remove unused local variable current_bounds_idx in fitting.py
- Replace C408 dict() calls with dict literals in visualization.py
- Fix E262 inline comment style in test_modeling.py
- Add stacklevel=2 to warnings.warn in test_analysis.py (B028)
- Update README.md: replace placeholder installation section with working
  from-source instructions and a Quick Start code example

https://claude.ai/code/session_01PXC8wLEeZ6ZkLiXZCMVdUt
- Remove `wheel` from build-system requirements (setuptools>=61 handles it)
- Add [tool.uv] dev-dependencies section to pyproject.toml
- Update CI workflow to use astral-sh/setup-uv@v5 and `uv run` prefix
- Update CLAUDE.md to document uv commands (uv sync --all-extras, uv run pytest, etc.)
- Regenerate uv.lock after pyproject.toml changes

https://claude.ai/code/session_01PXC8wLEeZ6ZkLiXZCMVdUt
- Replace setuptools build backend with uv_build>=0.8.0,<0.9.0
- Remove [tool.setuptools.packages.find] and [tool.setuptools.package-data]
  (uv_build auto-discovers packages and includes all files in the module root)
- Add [tool.uv.build-backend] with module-root = "" for non-src layout
- Wheel build confirmed: all sub-packages and example data present

https://claude.ai/code/session_01PXC8wLEeZ6ZkLiXZCMVdUt
@TUstudents TUstudents merged commit e6750dc into main Feb 21, 2026
1 of 4 checks passed
@TUstudents TUstudents deleted the claude/design-review-implementation-bLSVS branch February 21, 2026 18:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants