-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Description
Date you used copier PyPackage: 29.11.2022
Copier version used, if any: 6.2.0
Python version, if any: 3.10.6
VSCode version: 1.74.0-insider
Operating System: Red Hat Enterprise Linux Server release 7.9 (Maipo) x86_64
Description
While pre-commit run --all-files succeeds in the integrated terminal of VSCode, it fails using the UI. The issue arises when a .py script is being committed and the mypy and pylint hooks are triggered. It seems that VSCode fails to activate the appropriate conda environment for the pre-commit? Maybe this is an issue with VSCode instead of the blueprint, not sure.
What I Did
I commited changes in a .py file and pressed the commit button in VSCode:
check for case conflicts.................................................Passed
check docstring is first.................................................Passed
check for broken symlinks............................(no files to check)Skipped
check toml...........................................(no files to check)Skipped
check yaml...........................................(no files to check)Skipped
debug statements (python)................................................Passed
fix end of files.........................................................Failed
- hook id: end-of-file-fixer
- exit code: 1
- files were modified by this hook
Fixing tests/test_realtime_pollen_calibration/test_utils.py
trim trailing whitespace.................................................Passed
rstcheck.............................................(no files to check)Skipped
codespell................................................................Passed
black....................................................................Failed
- hook id: black
- files were modified by this hook
reformatted tests/test_realtime_pollen_calibration/test_utils.py
All done! ✨ 🍰 ✨
1 file reformatted.
isort....................................................................Passed
flake8...................................................................Passed
pydocstyle...........................................(no files to check)Skipped
mypy.....................................................................Failed
- hook id: mypy
- duration: 0.01s
- exit code: 127
run-mypy.sh: line 24: mypy: command not found
pylint...................................................................Failed
- hook id: pylint
- exit code: 1
Executable `pylint` not found
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
