Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
bob.devtools
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
bob
bob.devtools
Commits
346a2bb8
Commit
346a2bb8
authored
2 years ago
by
Amir MOHAMMADI
Browse files
Options
Downloads
Patches
Plain Diff
Improve pre-commit error message
parent
764a3050
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!297
Ask for conda env name explicitly in bdt dev install
Pipeline
#62346
passed
2 years ago
Stage: qa
Stage: build
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
bob/devtools/scripts/development.py
+4
-1
4 additions, 1 deletion
bob/devtools/scripts/development.py
with
4 additions
and
1 deletion
bob/devtools/scripts/development.py
+
4
−
1
View file @
346a2bb8
...
@@ -89,8 +89,11 @@ def checkout(ctx, names, use_https, subfolder):
...
@@ -89,8 +89,11 @@ def checkout(ctx, names, use_https, subfolder):
subprocess
.
check_call
([
"
pre-commit
"
,
"
install
"
],
cwd
=
dest
)
subprocess
.
check_call
([
"
pre-commit
"
,
"
install
"
],
cwd
=
dest
)
except
subprocess
.
CalledProcessError
:
except
subprocess
.
CalledProcessError
:
click
.
echo
(
click
.
echo
(
"
pre-commit installation failed. Please install pre-commit manually.
"
"
pre-commit git hook installation failed.
"
"
Please make sure you have pre-commit installed
"
"
and its binary is in the PATH.
"
)
)
raise
# the group command must be at the end of this file for plugins to work.
# the group command must be at the end of this file for plugins to work.
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment