Skip to content

Commit

Permalink
Make --package-python a boolean flag.
Browse files Browse the repository at this point in the history
(without defining an off-switch)
  • Loading branch information
ryneeverett committed Aug 12, 2020
1 parent 16c8f9a commit 3bc5a60
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mkcodes.py
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ def add_inits_along_path(from_path, to_path):
help='Github-flavored fence blocks or pure markdown.')
@click.option('--safe/--unsafe', default=True,
help='Allow code blocks without language hints.')
@click.option('--package-python', default=True,
@click.option('--package-python', default=True, is_flag=True,
help='Add __init__.py files to python dirs for test discovery')
@click.option('--default-lang', default='py',
help='Assumed language for code blocks without language hints.')
Expand Down

0 comments on commit 3bc5a60

Please sign in to comment.