File tree Expand file tree Collapse file tree 4 files changed +25
-0
lines changed
Expand file tree Collapse file tree 4 files changed +25
-0
lines changed Original file line number Diff line number Diff line change 1+ .idea
2+ .venv
Original file line number Diff line number Diff line change 1+ repos :
2+ - repo : https://github.com/pre-commit/pre-commit-hooks
3+ rev : v5.0.0
4+ hooks :
5+ - id : check-yaml
6+ - id : end-of-file-fixer
7+ - id : trailing-whitespace
8+ - id : check-case-conflict
9+ - id : check-merge-conflict
Original file line number Diff line number Diff line change 1+ - id : python-requirements-version-mandatory
2+ name : Mandatory requirements.txt version specification
3+ description : Fails if a requirement does not specify the version
4+ language : pygrep
5+ files : requirements.*\.txt$
6+ entry : ^(?!.+(?:={2,3}|!=|~=|>=?|<=?)[\S]+).*
Original file line number Diff line number Diff line change 1+ # somehow-useful-pre-commit-hooks
2+ This repository aims to contain pre-commit hooks that are useful for multiple projects.
3+
4+ Feel free to collaborate and submit pull requests!
5+
6+ # Current pre-commit hooks
7+ ## python-requirements-version-mandatory
8+ Ensures that requirements listed in a requirements.txt file have a specified version.
You can’t perform that action at this time.
0 commit comments