chore: fix typo and add hooks to prevent it in future#521
Merged
s3rius merged 4 commits intotaskiq-python:masterfrom Oct 23, 2025
Merged
chore: fix typo and add hooks to prevent it in future#521s3rius merged 4 commits intotaskiq-python:masterfrom
s3rius merged 4 commits intotaskiq-python:masterfrom
Conversation
Contributor
There was a problem hiding this comment.
Pull Request Overview
This PR enhances code quality by fixing a typo and implementing automated checks to prevent similar issues in the future. The changes upgrade the pre-commit tooling infrastructure and add new hooks for typo detection and secret scanning.
Key changes:
- Fixed a typo in a code comment ("timzone" → "timezone")
- Upgraded
pre-commitfrom v2.20.0 to v4.3.0 to support modern hooks - Added
typosanddetect-secretshooks with appropriate exclusion configurations
Reviewed Changes
Copilot reviewed 3 out of 4 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| taskiq/cli/scheduler/run.py | Corrected spelling of "timzone" to "timezone" in comment |
| pyproject.toml | Upgraded pre-commit version and added typos configuration with documentation exclusions |
| .pre-commit-config.yaml | Updated hook versions and added typos and detect-secrets hooks with custom exclusions |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
s3rius
approved these changes
Oct 23, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Dependency and tooling updates:
pre-commitversion inpyproject.tomlfrom^2.20.0to^4.3.0, ensuring compatibility with newer hooks and features. Old version didn't work withtyposhook for example..pre-commit-config.yamlNew code quality and security checks:
typosanddetect-secretshooks to.pre-commit-config.yamlfor typo detection and secret scanning, with custom exclusions for certain files and lines.pyproject.tomlto avoid false positives in documentation.Minor documentation fix:
taskiq/cli/scheduler/run.py("timzone" → "timezone").typo in code comment