OLD | NEW |
---|---|
1 # Copyright (c) 2012 Google Inc. All rights reserved. | 1 # Copyright (c) 2012 Google Inc. All rights reserved. |
2 # | 2 # |
3 # Redistribution and use in source and binary forms, with or without | 3 # Redistribution and use in source and binary forms, with or without |
4 # modification, are permitted provided that the following conditions are | 4 # modification, are permitted provided that the following conditions are |
5 # met: | 5 # met: |
6 # | 6 # |
7 # * Redistributions of source code must retain the above copyright | 7 # * Redistributions of source code must retain the above copyright |
8 # notice, this list of conditions and the following disclaimer. | 8 # notice, this list of conditions and the following disclaimer. |
9 # * Redistributions in binary form must reproduce the above | 9 # * Redistributions in binary form must reproduce the above |
10 # copyright notice, this list of conditions and the following disclaimer | 10 # copyright notice, this list of conditions and the following disclaimer |
(...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
183 # Regular expression which should only match correct module level names | 183 # Regular expression which should only match correct module level names |
184 const-rgx=(([A-Z_][A-Z0-9_]*)|(__.*__))$ | 184 const-rgx=(([A-Z_][A-Z0-9_]*)|(__.*__))$ |
185 | 185 |
186 # Regular expression which should only match correct class names | 186 # Regular expression which should only match correct class names |
187 class-rgx=[A-Z_][a-zA-Z0-9]+$ | 187 class-rgx=[A-Z_][a-zA-Z0-9]+$ |
188 | 188 |
189 # Regular expression which should only match correct function names | 189 # Regular expression which should only match correct function names |
190 function-rgx=[a-z_][a-z0-9_]{2,30}$ | 190 function-rgx=[a-z_][a-z0-9_]{2,30}$ |
191 | 191 |
192 # Regular expression which should only match correct method names | 192 # Regular expression which should only match correct method names |
193 method-rgx=[a-z_][a-z0-9_]{2,30}$ | 193 method-rgx=(([a-z_][a-z0-9_]{2,30})|(test_[a-z0-9_]{2,60}))$ |
qyearsley
2016/07/27 22:24:09
Many test methods in unit tests have names much lo
| |
194 | 194 |
195 # Regular expression which should only match correct instance attribute names | 195 # Regular expression which should only match correct instance attribute names |
196 attr-rgx=[a-z_][a-z0-9_]{1,30}$ | 196 attr-rgx=[a-z_][a-z0-9_]{1,30}$ |
197 | 197 |
198 # Regular expression which should only match correct argument names | 198 # Regular expression which should only match correct argument names |
199 argument-rgx=[a-z_][a-z0-9_]{1,30}$ | 199 argument-rgx=[a-z_][a-z0-9_]{1,30}$ |
200 | 200 |
201 # Regular expression which should only match correct variable names | 201 # Regular expression which should only match correct variable names |
202 variable-rgx=[a-z_][a-z0-9_]{1,30}$ | 202 variable-rgx=[a-z_][a-z0-9_]{1,30}$ |
203 | 203 |
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
279 # Create a graph of internal dependencies in the given file (report RP0402 must | 279 # Create a graph of internal dependencies in the given file (report RP0402 must |
280 # not be disabled) | 280 # not be disabled) |
281 int-import-graph= | 281 int-import-graph= |
282 | 282 |
283 | 283 |
284 [EXCEPTIONS] | 284 [EXCEPTIONS] |
285 | 285 |
286 # Exceptions that will emit a warning when being caught. Defaults to | 286 # Exceptions that will emit a warning when being caught. Defaults to |
287 # "Exception" | 287 # "Exception" |
288 overgeneral-exceptions=Exception | 288 overgeneral-exceptions=Exception |
OLD | NEW |