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've been using the pre-commit tool for years! and it's worked great until recently when it started failing with a mysterious error message: how do ...
I've been using the pre-commit tool for years! and it's worked great until recently when it started failing with a mysterious error message: how do ...
I have my python project. I'm trying to setup pre-commit checks using pre-commit. I want to exclude some folders and some files (by pattern) from the ...
I have a problem when executing the pre-commit in a python project, although my files have the correct format, it shows an error and removes the corre ...
I'm using a custom pre-commit hook that's in a private repo. I run it in a github action But it errors for credential failure, but shouldn't che ...
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 am trying to progressively add linting and automatic code formatting to a legacy codebase. For now, I am just running all the hooks on the same lis ...
I'm following the pre-commit directions to install git pre-commit hooks for python code formatting from black to my flask repo. I've added pre-commit ...
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 ...
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 excl ...
I've recently started using commitizen in my day-to-day development, however I don't understand why I get the following error with the first commit to ...
I have the following .pre-commit-config.yaml file. At the first line, I have this top level exclude path to exclude all checks in that folder, but for ...
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 ...