Skip to content

(fix) apply formatting fixes for pre-commit compliance - #17

Merged
Jokeren merged 1 commit into
mainfrom
fix-formatting
Mar 18, 2026
Merged

Jokeren merged 1 commit into
mainfrom
fix-formatting

Conversation

@mark14wu

@mark14wu mark14wu commented Mar 17, 2026

Copy link
Copy Markdown
Collaborator

(fix) apply formatting fixes for pre-commit compliance

Apply black, isort, trailing whitespace, end-of-file fixes.
Fix flake8 errors: E731, F841, F401, E501.

PR chain

  1. 👉 (fix) apply formatting fixes for pre-commit compliance #17 👈 YOU ARE HERE
  2. (add) pre-commit linter CI workflow #18

Summary

Apply formatting and linting fixes to bring the codebase into compliance with pre-commit hooks (black, isort, flake8, trailing whitespace, end-of-file).

Flake8 error codes fixed

  • E731: Do not assign a lambda expression; use a def instead. e.g. grid = lambda meta: (...)def grid(meta): return (...)
  • F841: Local variable is assigned but never used (dead code).
  • F401: Module imported but unused. e.g. import torch with no reference to torch in the file.
  • E501: Line too long (exceeds 88 characters).

🤖 Generated with Claude Code

Apply black, isort, trailing whitespace, end-of-file fixes.
Fix flake8 errors: E731, F841, F401, E501.

git-pr-chain: fix-formatting

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@Jokeren
Jokeren merged commit d467531 into main Mar 18, 2026
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