When I run flake8 . command I want to raise flake8 error if "print_queries" string is present anywhere in project files checked into VCS (and not excluded).
Here's my flake8 configuration:
[flake8]
exclude = .venv, migrations, scaffoldapp
max-line-length = 130
per-file-ignores =
    # imported but not used
    */__init__.py: F401,F403
    */*urls.py: E122,E501
    */*settings.py: E501
    */*messages.py: E501
    */apps.py: F401
    */*employee_constant.py: W605
How can I deny checking print_queries string into VCS? I'm also using pre-commit.
 
    