mcp-server
mcp-server copied to clipboard
chore: add lightweight style checks for Python and shell scripts
Summary
Adds a lightweight automated style layer for the repository.
This keeps the first pass intentionally small by introducing:
rufffor Python formatting and lintingshellcheckfor shell script checks- a dedicated GitHub Actions
styleworkflow - a local
make stylecommand for contributors
Changes
- added
ruffconfiguration inpyproject.toml - added
.shellcheckrc - added
.github/workflows/style.yml - simplified
.github/workflows/build.ymlso it focuses on tests - disabled the legacy
pylintworkflow in favor of the new lightweight style flow - added
make styleto theMakefile - 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 styleuv 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.