Skip to content

Commit

Permalink
Update nbstripout/_nbstripout.py
Browse files Browse the repository at this point in the history
Co-authored-by: Florian Rathgeber <[email protected]>
  • Loading branch information
jspaezp and kynan authored Mar 18, 2024
1 parent e6ca675 commit 5eb68f0
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions nbstripout/_nbstripout.py
Original file line number Diff line number Diff line change
Expand Up @@ -442,10 +442,8 @@ def main():
args = parser.parse_args()
git_config = ['git', 'config']

if args.verify:
if not args.dry_run:
print("Running in verify mode, setting --dry-run")
args.dry_run = True
if args.verify and not args.dry_run:
args.dry_run = True

if args._system:
git_config.append('--system')
Expand Down

0 comments on commit 5eb68f0

Please sign in to comment.