python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
Return error message on subprocess exit to VSCode Git
I'm in the process of implementing a little pre-commit hook that calls gitleaks protect prior to every commit.
This works well in a terminal but when trying to commit from within VSCode, a non-descrip...
user237251
Votes: 0
Answers: 2
pre-commit not using virtual environment
I added this to pre-commit-config.yml
- repo: local
hooks:
- id: python-hook
name: python-hook
entry: python python_script.py
language: python
pass_filename...
caverac
Votes: 0
Answers: 1
How to display scores for meeting --fail-under requirement .py files in .py lint, while using pre-commit?
My current pylint configuration:
Installed via pip (in requirements.txt).
The .pre-commit-config.yaml:
- repo: local
hooks:
name: pylint
entry: pylint
language: system
...
F1sher
Votes: 0
Answers: 1
pre-commit isort no module named 'setuptools'
I am trying to run pre-commit hooks, but they fail when they come across the isort hook which throws the error below:
File "/home/el/.cache/pre-commit/repoffrjhcx0/py_env-python3/lib/python3.10...

coredumped0x
Votes: 0
Answers: 1