Skip to content

Conversation

@jakob1379
Copy link

This is an effort to help prevent clutter, improve security and in general make the code consistent - definitely opinionated but in my experience this is needed to keep an evolving codebase in check and make PRs adhere to your requirements.


This PR integrates a comprehensive suite of pre-commit hooks to improve code quality, security, and standardization:

  • Add Ruff for Python linting and formatting.
  • Add Prettier for multi-language formatting (Markdown, JSON, JS).
  • Add ShellCheck for shell script validation.
  • Add security scanners: Gitleaks, Bandit, and uv-secure.
  • Add structural validators: validate-pyproject, check-jsonschema, codespell.
  • Add specialized formatters: yamlfix
  • Add code quality checks: complexipy, deadcode.
  • Configure pre-commit.ci autoupdate and default execution stages.

Integrated a comprehensive suite of pre-commit hooks to improve code quality, security, and standardization:

- Add Ruff for Python linting and formatting.
- Add Prettier for multi-language formatting (Markdown, JSON, JS).
- Add ShellCheck for shell script validation.
- Add security scanners: Gitleaks, Bandit, and uv-secure.
- Add structural validators: validate-pyproject, check-jsonschema, codespell.
- Add specialized formatters: yamlfix
- Add code quality checks: complexipy, deadcode.
- Configure [pre-commit.ci](https://pre-commit.ci) autoupdate and default execution stages.
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.

1 participant