mirror of
https://github.com/PyCQA/flake8.git
synced 2026-03-29 10:36:53 +00:00
10 lines
289 B
Python
10 lines
289 B
Python
from flake8 import _trie as trie
|
|
|
|
|
|
tree = trie.Trie()
|
|
for i in range(5):
|
|
tree.add('E103', 'E103-listener-{0}'.format(i))
|
|
j = i + 1
|
|
tree.add('E1{0}3'.format(j), 'E1{0}3-listener'.format(j))
|
|
for i in range(10):
|
|
tree.add('W1{0:02d}'.format(i), 'W1{0:02d}-listener'.format(i))
|