Skip to content

Commit

Permalink
I obey PEP
Browse files Browse the repository at this point in the history
  • Loading branch information
mbelveder committed Apr 19, 2024
1 parent 8457b21 commit ab55083
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion gendiff/scripts/gendiff.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,9 @@ def main():
)
args = parser.parse_args()

if args.format != 'stylish' and (args.replacer != ' ' or args.increment != 4):
if args.format != 'stylish' and (
args.replacer != ' ' or args.increment != 4
):
raise ValueError(
"The --replacer and --increment flags can only be used"
"with the default --format argument (stylish)"
Expand Down

0 comments on commit ab55083

Please sign in to comment.