Skip to content

Commit

Permalink
Allow single quote in names
Browse files Browse the repository at this point in the history
  • Loading branch information
lebauce committed Dec 23, 2024
1 parent db05b0f commit 2680ce0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tasks/licenses.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ def _verify_unknown_licenses(licenses, licenses_filename):

def is_valid_quote(copyright):
stack = []
quotes_to_check = ["'", '"']
quotes_to_check = ['"']
for c in copyright:
if c in quotes_to_check:
if stack and stack[-1] == c:
Expand Down

0 comments on commit 2680ce0

Please sign in to comment.