blockwatch 0.3.9

Language agnostic linter that keeps your code and documentation in sync and valid
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
fruits = [
    # <block keep-unique>
    'apple',
    'banana',
    'cherry',
    # </block>
]

unique_prefixes = [
    # <block keep-unique="ID:(?P<value>\d+)">
    'ID:1 A',
    'ID:2 B',
    'ID:1 C',
    # </block>
]