File tree 1 file changed +5
-2
lines changed
1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -62,8 +62,9 @@ directories:
62
62
exceptions_dir : exceptions
63
63
` ` `
64
64
65
- * Note: the paths in this file are relative to the custom rules directory (CUSTOM_RULES_DIR/)
65
+ * Note: The paths in this file are relative to the custom rules directory (CUSTOM_RULES_DIR/)
66
66
* Note: Refer to each original source file for purpose and proper formatting
67
+ * Note: You can also add an optional ` bbr_rules_dirs` section for custom BBR rules.
67
68
68
69
When using the repo, set the environment variable `CUSTOM_RULES_DIR=<directory-with-_config.yaml>`
69
70
@@ -101,13 +102,15 @@ class RulesConfig:
101
102
deprecated_rules: Dict[str, dict]
102
103
packages_file: Path
103
104
packages: Dict[str, dict]
105
+ rule_dirs: List[Path]
104
106
stack_schema_map_file: Path
105
107
stack_schema_map: Dict[str, dict]
108
+ test_config: TestConfig
106
109
version_lock_file: Path
107
110
version_lock: Dict[str, dict]
108
- test_config: TestConfig
109
111
110
112
action_dir: Optional[Path] = None
113
+ bbr_rules_dirs: Optional[List[Path]] = field(default_factory=list)
111
114
exception_dir: Optional[Path] = None
112
115
113
116
# using the stack_schema_map
You can’t perform that action at this time.
0 commit comments