-
Notifications
You must be signed in to change notification settings - Fork 5.6k
Closed
Labels
Windowsbugbroken, incorrect, or confusing behaviorbroken, incorrect, or confusing behaviorseverity-low4th level, cosemtic problems, work around exists4th level, cosemtic problems, work around exists
Milestone
Description
Description
pre-commit does not work on windows currently. Anyone developing on windows will run into this error
stderr:
Could not install packages due to an EnvironmentError: [WinError 5] Access is denied: 'C:\\Users\\jeaco\\AppData\\Local\\Temp\\pip-uninstall-1vpi1i28\\users\\user\\.cache\\pre-commit\\repo\\py_env-python3\\scripts\\pip.exe'
There is a current workaround to export SKIP=pip-tools-compile. This will skip the pre-commit tool pip-tools-compile and run the rest of pre-commit, but this still means that pip-tools-compile does not work on windows.
Setup
run git commit on windows or pre-commit run
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Windowsbugbroken, incorrect, or confusing behaviorbroken, incorrect, or confusing behaviorseverity-low4th level, cosemtic problems, work around exists4th level, cosemtic problems, work around exists