I am configuring my pyproject.toml so that bandit excludes the test files but it gives me the error ERROR pyproject.toml : toml parser not available, ...
I am configuring my pyproject.toml so that bandit excludes the test files but it gives me the error ERROR pyproject.toml : toml parser not available, ...
I have installed pre-commit 3.0.1 via asdf. When I try to run pre-commit -v throwing the following error Python version: 3.7.9 asdf version: v0.11 ...
It seems pre-commit exits with code 0 if everything is fine, and exit code 1 if any checks Fail - regardless of reason. Is there a way (programmatica ...
pre-commit suddenly started to fail installing the isort hook in our builds today with the following error It seems to be related with poetry confi ...
I want that if someone add modification to a .tex, it must have is .pdf version compiled. I've been interested in using Pre-commit with hooks to requ ...
I have recently created a GitHub Actions workflow to lint/reformat the code of my repo and create documentation HTML pages using pdoc. The last step i ...
The pre-commit run suddenly fails without changes being made to the pre-commit configuration file. The log shows the following error message when atte ...
I want to combine ggshield(by GitGuardian) and Husky into one pre-commit hook, but the result is that only one of them works. I tried run pre-commit ...
How can I configure a pre-commit hook which will force yaml/yml files to have yaml extension. Pass: Fail: ...
While I find checkov to be great tool, the default output is way too verbose: In my above example, it dumps all 78 passed checks as well in the ter ...
I am just trying to use precommit as a git hook on my python project. What I want to do is to run black only on the committed files. I am also running ...
When I run pre-commit run --all-files all goes well, when I try to commit, pylint throws an error with: Exit code: 32, followed by the list of usage o ...
In all the repository .pre-commit-config.yaml files are added. This pre-commit hook is responsible to validate commit message and if it is not as per ...
My objective: I want pylint (in combination with pre-commit hooks) not to fail with warnings of the category C,R,W, but on E,F (Errors and fatals) and ...
Whenever I am trying to run pre-commit run is failing.I am getting errors in flake8,black,end of file,Validate filenames ,and trailling white spaces . ...
While running pre-commit install, I wondered if each non-local hook has its own environment or if there is just one environment for all of them. Fo ...
I would like to ensure if my commit message contains a given string using pre-commit. I tried using a pygrep based hook, but it does not handle the mu ...
I'm getting env: python: No such file or directory error when I'm trying to git commit. There are other topics with this problem, but none of the sug ...
I am using php-cs-fixer and decided to try to put the command in pre-commit hook. #!/bin/sh So the php-cs-fixer command works fine, but the changes ...
I set up a pre-commit plugin for one of my projects. Right now, the .pre-commit-config.yaml configuration file is located on the root of the project ...