Skip to content

Conversation

@Snuffy2
Copy link
Contributor

@Snuffy2 Snuffy2 commented Nov 23, 2025

This should not be merged until the project linting/formatting has been changed over to ruff

I recommend that you install pre-commit.ci into your GitHub account and allow it to run at least this repo (or all of your repos if you'd like).


This pull request sets up automated dependency updates and linting for the repository, introducing configuration files for Dependabot, GitHub Actions-based linters, and pre-commit hooks. These changes help ensure code quality and keep dependencies up-to-date with minimal manual intervention.

Automated Dependency Management:

  • Added .github/dependabot.yml to enable weekly automated updates for GitHub Actions and Python (pip) dependencies, with a limit of 10 open pull requests per ecosystem.

Linting Workflow Integration:

  • Created .github/workflows/linters.yml to run linters automatically on pull requests and pushes to main, including Python environment setup, caching, and pre-commit checks.

Pre-commit Hooks Configuration:

  • Introduced .pre-commit-config.yaml specifying a range of pre-commit hooks for code quality (whitespace, file endings, YAML/TOML validity, large files, merge conflicts, shell scripts, spelling, and Python linting/formatting). Also configures automated autofix PRs and weekly updates for hooks.

@Snuffy2 Snuffy2 force-pushed the Implement-pre-commit-and-linting-GitHub-Action branch from e8be4b7 to 4343ca6 Compare November 30, 2025 02:24
@Snuffy2 Snuffy2 force-pushed the Implement-pre-commit-and-linting-GitHub-Action branch from 4343ca6 to 0baddf1 Compare November 30, 2025 20:03
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