Is your feature request related to a problem? Please describe.
The Python MCP servers in this repository (fetch, git, and time) currently include ruff as a dev dependency but lack standardized PEP8 linting configuration. This leads to inconsistent code style across the Python codebase and makes it difficult for contributors to ensure their code follows Python style guidelines.
Describe the solution you'd like
Add standardized PEP8 linting configuration using ruff to all Python servers in the repository. This should include:
- Consistent
[tool.ruff] configuration sections in each Python server's pyproject.toml
- Enable PEP8 style checks (E and W error codes)
- Set up import sorting and formatting rules
- Add linting commands to development workflows
- Optionally integrate linting checks into CI/CD pipelines
Describe alternatives you've considered
- Using
flake8 + black + isort combination instead of ruff (but ruff is already included and provides all these features in one tool)
- Using
pylint for more comprehensive static analysis (but it's heavier and ruff covers PEP8 compliance well)
- Adding pre-commit hooks with linting (could be done in addition to the main solution)
Additional context
The repository already has ruff included in dev dependencies for all Python servers, so this enhancement would primarily involve adding configuration rather than new dependencies.
(Description generated by Claude and edited by me)
Is your feature request related to a problem? Please describe.
The Python MCP servers in this repository (fetch, git, and time) currently include
ruffas a dev dependency but lack standardized PEP8 linting configuration. This leads to inconsistent code style across the Python codebase and makes it difficult for contributors to ensure their code follows Python style guidelines.Describe the solution you'd like
Add standardized PEP8 linting configuration using
ruffto all Python servers in the repository. This should include:[tool.ruff]configuration sections in each Python server'spyproject.tomlDescribe alternatives you've considered
flake8+black+isortcombination instead ofruff(butruffis already included and provides all these features in one tool)pylintfor more comprehensive static analysis (but it's heavier andruffcovers PEP8 compliance well)Additional context
The repository already has
ruffincluded in dev dependencies for all Python servers, so this enhancement would primarily involve adding configuration rather than new dependencies.(Description generated by Claude and edited by me)