def table

bolt@1.26.0.0 · src/codes.bend:24

import bolt@1.26.0.0/src/codes.bend as Codes
import Base

24# every rule, in group order
25def table() -> List<&2, Entry>:
26  [
27    Entry{"hole", "C002", "correctness"},
28    Entry{"pick", "C003", "correctness"},
29    Entry{"put", "C004", "correctness"},
30    Entry{"arms", "C005", "correctness"},
31    Entry{"escape", "C006", "correctness"},
32    Entry{"twice", "C007", "correctness"},
33    Entry{"setting", "C011", "correctness"},
34    Entry{"unused", "U001", "suspicious"},
35    Entry{"eager", "U003", "suspicious"},
36    Entry{"concat", "U004", "suspicious"},
37    Entry{"thunk", "U015", "suspicious"},
38    Entry{"fromrev", "U016", "suspicious"},
39    Entry{"prefix", "U017", "suspicious"},
40    Entry{"strings", "C008", "perf"},
41    Entry{"chars", "C009", "perf"},
42    Entry{"doc", "S001", "style"},
43    Entry{"space", "S002", "style"},
44    Entry{"wrap", "S003", "style"},
45    Entry{"param", "S004", "style"},
46    Entry{"noqa", "S005", "style"},
47    Entry{"transcong", "S006", "style"},
48    Entry{"coverage", "L001", "laws"},
49    Entry{"closed", "L002", "laws"},
50    Entry{"foreign", "C010", "pedantic"},
51    Entry{"strict", "U002", "pedantic"},
52    Entry{"fuel", "U006", "pedantic"},
53    Entry{"index", "U007", "pedantic"},
54    Entry{"rewalk", "U011", "pedantic"},
55    Entry{"tail", "P001", "pedantic"}]

Uses (2)

Used by (5)