reformat benchmark_tree.py to get rid of lint errors (#4126)

This commit is contained in:
Rong Ou
2019-02-12 21:54:56 -08:00
committed by Rory Mitchell
parent 9b917cda4f
commit 3be1b9ae30
2 changed files with 51 additions and 30 deletions

View File

@@ -2,6 +2,8 @@
ignore=tests
extension-pkg-whitelist=numpy
disiable=unexpected-special-method-signature,too-many-nested-blocks
dummy-variables-rgx=(unused|)_.*
@@ -19,3 +21,6 @@ attr-naming-style=snake_case
argument-naming-style=snake_case
variable-naming-style=snake_case
class-attribute-naming-style=snake_case
# Allow single-letter variables
variable-rgx=[a-zA-Z_][a-z0-9_]{0,30}$