Skip to content

Commit

Permalink
docs: tweak inline docstring about depth traitlet
Browse files Browse the repository at this point in the history
  • Loading branch information
consideRatio committed Jul 28, 2020
1 parent 6a7d85a commit b2d3cec
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions nbgitpuller/pull.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,13 +49,12 @@ class GitPuller(Configurable):
depth = Integer(
config=True,
help="""
Depth (ie, commit count) to which to perform a
shallow git clone.
Depth (ie, commit count) of clone operations. Set this to 0 to make a
full depth clone.
If not set, clones to depth 1.
Defaults to reading from the NBGITPULLER_DEPTH
environment variable."""
Defaults to the value of the environment variable NBGITPULLER_DEPTH, or
1 if the the environment variable isn't set.
"""
)

@default('depth')
Expand Down

0 comments on commit b2d3cec

Please sign in to comment.