mcp-server icon indicating copy to clipboard operation
mcp-server copied to clipboard

chore: add lightweight style checks for Python and shell scripts

Open zeel2104 opened this issue 7 months ago • 0 comments

Summary

Adds a lightweight automated style layer for the repository.

This keeps the first pass intentionally small by introducing:

  • ruff for Python formatting and linting
  • shellcheck for shell script checks
  • a dedicated GitHub Actions style workflow
  • a local make style command for contributors

Changes

  • added ruff configuration in pyproject.toml
  • added .shellcheckrc
  • added .github/workflows/style.yml
  • simplified .github/workflows/build.yml so it focuses on tests
  • disabled the legacy pylint workflow in favor of the new lightweight style flow
  • added make style to the Makefile
  • documented the style command in docs/contributing.md
  • fixed existing Python and shell issues required for the new checks to pass

Validation

Ran locally in WSL:

  • make style
  • uv run pytest tests/pytest -q

Notes

This is meant to be a minimal first step, not a heavy toolchain change. The goal is to give contributors a fast consistency gate for the current Python and shell surface.

zeel2104 avatar Apr 16 '26 19:04 zeel2104