mirror of
https://github.com/public-apis/public-apis.git
synced 2025-05-08 14:46:40 +02:00
Initialize variable for flake8
This commit is contained in:
parent
35dfcb03f8
commit
e53982f9d1
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue