mirror of
https://github.com/public-apis/public-apis
synced 2025-04-24 22:29:49 +02:00
Initialize variable for flake8
This commit is contained in:
parent
35dfcb03f8
commit
e53982f9d1
@ -58,6 +58,7 @@ def check_format(filename):
|
|||||||
|
|
||||||
# START Check Entries
|
# START Check Entries
|
||||||
num_in_category = min_entries_per_section + 1
|
num_in_category = min_entries_per_section + 1
|
||||||
|
category_line = 0
|
||||||
anchor_re = re.compile('###\s\S+')
|
anchor_re = re.compile('###\s\S+')
|
||||||
for line_num, line in enumerate(lines):
|
for line_num, line in enumerate(lines):
|
||||||
# check each section for the minimum number of entries
|
# check each section for the minimum number of entries
|
||||||
|
Loading…
x
Reference in New Issue
Block a user