mirror of
https://github.com/FranP-code/public-apis.git
synced 2025-10-13 00:03:04 +00:00
Initialize variable for flake8
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user