Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,9 @@ jobs:
- task: Cache@2
displayName: 'Restore Python environment'
inputs:
key: python | $(Agent.OS) | "$(python.pythonLocation)" | 1 | ./Pipfile | ./Pipfile.lock
key: python | $(Agent.OS) | "$(python.pythonLocation)" | 2 | ./Pipfile | ./Pipfile.lock
cacheHitVar: PY_ENV_RESTORED
path: $(PYTHONUSERBASE)
continueOnError: true

- script: echo '##vso[task.prependpath]$(PYTHONUSERBASE)/bin'
displayName: 'Prepend PATH'
Expand Down Expand Up @@ -65,7 +64,6 @@ jobs:
inputs:
key: pre-commit | "$(python.pythonLocation)" | 0 | .pre-commit-config.yaml
path: $(PRE_COMMIT_HOME)
continueOnError: true

# pre-commit's venv doesn't allow user installs - not that they're really needed anyway.
- script: export PIP_USER=0; pre-commit run --all-files
Expand Down