TileOPs-Metax/tileops/utils
Cao Ying ac88d33f1e
[Chore][Style] Codebase polish: exports, lint, stale-issues workflow, and style rules (#307)
## Summary

- Standardize `__init__.py` across all kernel sub-packages: add missing
`__all__`, normalize to double quotes, one-entry-per-line,
alphabetically sorted
- Replace star import in `utils/__init__.py` with explicit imports
- Fix `ops/deepseek_nsa.py`: use package-level kernel imports instead of
reaching into submodules; use relative import for `Op`
- Remove stale file-level lint suppressions (`# ruff: noqa`, `# flake8:
noqa`, invalid `# noqa: U100`)
- Fix import ordering (stdlib → third-party → local) in kernel files
- Add `.claude/rules/code-style.md` with project-level style conventions
- Add stale-issues workflow (closes issues with no comment activity for
4 weeks)
- Fix CONTRIBUTING.md layer count to match current 2-layer architecture

## Test plan

- [x] `ruff check tileops/` passes
- [x] `pre-commit run --all-files` passes
- [x] All package imports verified (`python -c "from tileops.kernels.*
import ..."`)
- [ ] CI `tileops_test_release` (previous failure was GitHub runner
network timeout, not code)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

---------

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-04 17:59:42 +08:00
..
__init__.py [Chore][Style] Codebase polish: exports, lint, stale-issues workflow, and style rules (#307) 2026-03-04 17:59:42 +08:00
utils.py [Refactor] Rename source directory from `top` to `tileops` (#190) 2026-02-25 19:22:37 +08:00