Commit 6c5d466
[Pylint] Check client methods have approved name prefix (#9081)
* add placeholders
* add new placeholder comments
* exploring AST unfinished - minor emergency had to leave
* identifying some mismatched functions
* refactor checker and tests
* fix error with non-builtins decorators
* fine tuning and testing required
* add pylint report
* add ranked listing of reports
* format report as table
* add new verbs
* update report
* update reportcounts.md
* fix formatting for reportcounts.md
* update reportcounts.md
* minimal tests added
* Final Refactor
* not running multiple times picking up on different function types
* add TODOs
* removed code not reached
* Checks at a class level
* Looking into different connection_verify assignments
* Placeholders added back
* Checker base done
* exclue private namespaces and classes
* update reports
* Checker, Tests, & Readme done
* add new prefixes
* update unit tests
* remove reports
* remove commented code
* add checker to README
* Tidy Up
* Revert "Merge branch 'working-main' into approved_prefix"
This reverts commit 6d262e3, reversing
changes made to 65e431f.
* remove duplicate tests
---------
Co-authored-by: Alirose Burrell <16234397@massey.ac.nz>
Co-authored-by: JessicaBell00 <110268278+JessicaBell00@users.noreply.github.com>
Co-authored-by: 16234397 <110712668+16234397@users.noreply.github.com>1 parent d99e90c commit 6c5d466
4 files changed
Lines changed: 321 additions & 314 deletions
File tree
- tools/pylint-extensions/azure-pylint-guidelines-checker
- tests
- test_files
Lines changed: 6 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
94 | 94 | | |
95 | 95 | | |
96 | 96 | | |
97 | | - | |
| 97 | + | |
98 | 98 | | |
99 | | - | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
Lines changed: 79 additions & 59 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
161 | 161 | | |
162 | 162 | | |
163 | 163 | | |
164 | | - | |
165 | | - | |
166 | | - | |
167 | | - | |
168 | | - | |
169 | | - | |
170 | | - | |
171 | | - | |
172 | | - | |
173 | | - | |
174 | | - | |
175 | 164 | | |
176 | | - | |
| 165 | + | |
177 | 166 | | |
178 | | - | |
| 167 | + | |
179 | 168 | | |
180 | 169 | | |
181 | 170 | | |
182 | 171 | | |
183 | 172 | | |
184 | 173 | | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
185 | 205 | | |
186 | 206 | | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
187 | 220 | | |
188 | 221 | | |
189 | | - | |
190 | | - | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
191 | 229 | | |
192 | | - | |
193 | | - | |
194 | | - | |
195 | | - | |
196 | | - | |
197 | | - | |
198 | | - | |
199 | | - | |
200 | | - | |
201 | | - | |
202 | | - | |
203 | | - | |
204 | | - | |
205 | | - | |
206 | | - | |
207 | | - | |
208 | | - | |
209 | | - | |
210 | | - | |
211 | | - | |
212 | | - | |
213 | | - | |
214 | | - | |
215 | | - | |
216 | | - | |
217 | | - | |
218 | | - | |
219 | | - | |
220 | | - | |
221 | | - | |
222 | | - | |
223 | | - | |
224 | | - | |
225 | | - | |
226 | | - | |
227 | | - | |
228 | | - | |
229 | | - | |
230 | | - | |
231 | | - | |
232 | | - | |
233 | | - | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
234 | 247 | | |
235 | | - | |
236 | 248 | | |
| 249 | + | |
| 250 | + | |
237 | 251 | | |
238 | 252 | | |
239 | 253 | | |
| |||
2803 | 2817 | | |
2804 | 2818 | | |
2805 | 2819 | | |
| 2820 | + | |
| 2821 | + | |
| 2822 | + | |
| 2823 | + | |
| 2824 | + | |
| 2825 | + | |
2806 | 2826 | | |
2807 | 2827 | | |
2808 | 2828 | | |
| |||
2991 | 3011 | | |
2992 | 3012 | | |
2993 | 3013 | | |
2994 | | - | |
| 3014 | + | |
2995 | 3015 | | |
2996 | 3016 | | |
2997 | 3017 | | |
| |||
0 commit comments