Skip to content

Conversation

@gibiw
Copy link
Contributor

@gibiw gibiw commented Jan 12, 2026

  • Introduced a new pre-commit hook that scans pytest test files to ensure all test functions and methods have the required @qase.id() or @qase.ignore() decorators.
  • Added a README file detailing installation instructions and configuration options for the hook.
  • Implemented functionality to block commits by default if decorators are missing, with options for warning mode and file exclusions.

This addition enhances code quality and consistency in Qase Python projects.

- Introduced a new pre-commit hook that scans pytest test files to ensure all test functions and methods have the required @qase.id() or @qase.ignore() decorators.
- Added a README file detailing installation instructions and configuration options for the hook.
- Implemented functionality to block commits by default if decorators are missing, with options for warning mode and file exclusions.

This addition enhances code quality and consistency in Qase Python projects.
@gibiw gibiw merged commit 5b92ddc into main Jan 12, 2026
36 checks passed
@gibiw gibiw deleted the feat/pre-commit-hook branch January 12, 2026 19:30
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.

2 participants