-
-
Notifications
You must be signed in to change notification settings - Fork 121
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Summary: This diff just runs `pyfmt` on the `.py` files in `cinderx/cinderx/`, which have been accidentally exempt from linting for a while. The next diff re-enables linting on them. The only manual change is to remove a couple grouping comments in `cinderx/cinderx/__init__.py` which are no longer accurate once the imports are auto-sorted alphabetically. Reviewed By: swtaarrs Differential Revision: D52862474 fbshipit-source-id: fb48d154ccfaecb130730d1aab4d3ee1990fe6ee
- Loading branch information
1 parent
f4330d5
commit 876864c
Showing
4 changed files
with
128 additions
and
147 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,119 +1,104 @@ | ||
from _static import ( | ||
__build_cinder_class__, | ||
_clear_dlopen_cache, | ||
_clear_dlsym_cache, | ||
_property_missing_fget, | ||
_property_missing_fset, | ||
_sizeof_dlopen_cache, | ||
_sizeof_dlsym_cache, | ||
# Checked Containers | ||
chkdict, | ||
chklist, | ||
|
||
# Type Codes | ||
TYPED_INT_SIGNED, | ||
TYPED_INT_8BIT, | ||
TYPED_INT_16BIT, | ||
TYPED_INT_32BIT, | ||
TYPED_INT_64BIT, | ||
TYPED_OBJECT, | ||
TYPED_INT8, | ||
TYPED_INT16, | ||
TYPED_INT32, | ||
TYPED_INT64, | ||
TYPED_UINT8, | ||
TYPED_UINT16, | ||
TYPED_UINT32, | ||
TYPED_UINT64, | ||
TYPED_SINGLE, | ||
TYPED_DOUBLE, | ||
TYPED_BOOL, | ||
TYPED_CHAR, | ||
TYPED_ARRAY, | ||
|
||
SEQ_LIST, | ||
SEQ_TUPLE, | ||
SEQ_LIST_INEXACT, | ||
SEQ_ARRAY_INT64, | ||
SEQ_SUBSCR_UNCHECKED, | ||
|
||
SEQ_REPEAT_INEXACT_SEQ, | ||
SEQ_REPEAT_INEXACT_NUM, | ||
SEQ_REPEAT_REVERSED, | ||
SEQ_REPEAT_PRIMITIVE_NUM, | ||
|
||
SEQ_CHECKED_LIST, | ||
|
||
FAST_LEN_ARRAY, | ||
FAST_LEN_DICT, | ||
FAST_LEN_INEXACT, | ||
FAST_LEN_LIST, | ||
FAST_LEN_SET, | ||
FAST_LEN_STR, | ||
FAST_LEN_TUPLE, | ||
init_subclass, | ||
install_sp_audit_hook, | ||
is_type_static, | ||
lookup_native_symbol, | ||
make_context_decorator_wrapper, | ||
make_recreate_cm, | ||
posix_clock_gettime_ns, | ||
PRIM_OP_ADD_DBL, | ||
PRIM_OP_ADD_INT, | ||
PRIM_OP_AND_INT, | ||
PRIM_OP_DIV_DBL, | ||
PRIM_OP_DIV_INT, | ||
PRIM_OP_DIV_UN_INT, | ||
PRIM_OP_EQ_DBL, | ||
PRIM_OP_EQ_INT, | ||
PRIM_OP_NE_INT, | ||
PRIM_OP_LT_INT, | ||
PRIM_OP_LE_INT, | ||
PRIM_OP_GT_INT, | ||
PRIM_OP_GE_DBL, | ||
PRIM_OP_GE_INT, | ||
PRIM_OP_LT_UN_INT, | ||
PRIM_OP_LE_UN_INT, | ||
PRIM_OP_GT_UN_INT, | ||
PRIM_OP_GE_UN_INT, | ||
PRIM_OP_EQ_DBL, | ||
PRIM_OP_NE_DBL, | ||
PRIM_OP_LT_DBL, | ||
PRIM_OP_LE_DBL, | ||
PRIM_OP_GT_DBL, | ||
PRIM_OP_GE_DBL, | ||
|
||
PRIM_OP_ADD_INT, | ||
PRIM_OP_SUB_INT, | ||
PRIM_OP_MUL_INT, | ||
PRIM_OP_DIV_INT, | ||
PRIM_OP_DIV_UN_INT, | ||
PRIM_OP_GT_INT, | ||
PRIM_OP_GT_UN_INT, | ||
PRIM_OP_INV_INT, | ||
PRIM_OP_LE_DBL, | ||
PRIM_OP_LE_INT, | ||
PRIM_OP_LE_UN_INT, | ||
PRIM_OP_LSHIFT_INT, | ||
PRIM_OP_LT_DBL, | ||
PRIM_OP_LT_INT, | ||
PRIM_OP_LT_UN_INT, | ||
PRIM_OP_MOD_DBL, | ||
PRIM_OP_MOD_INT, | ||
PRIM_OP_MOD_UN_INT, | ||
PRIM_OP_MUL_DBL, | ||
PRIM_OP_MUL_INT, | ||
PRIM_OP_NE_DBL, | ||
PRIM_OP_NE_INT, | ||
PRIM_OP_NEG_DBL, | ||
PRIM_OP_NEG_INT, | ||
PRIM_OP_NOT_INT, | ||
PRIM_OP_OR_INT, | ||
PRIM_OP_POW_DBL, | ||
PRIM_OP_POW_INT, | ||
PRIM_OP_POW_UN_INT, | ||
PRIM_OP_LSHIFT_INT, | ||
PRIM_OP_RSHIFT_INT, | ||
PRIM_OP_RSHIFT_UN_INT, | ||
PRIM_OP_XOR_INT, | ||
PRIM_OP_OR_INT, | ||
PRIM_OP_AND_INT, | ||
|
||
PRIM_OP_ADD_DBL, | ||
PRIM_OP_SUB_DBL, | ||
PRIM_OP_MUL_DBL, | ||
PRIM_OP_DIV_DBL, | ||
PRIM_OP_MOD_DBL, | ||
PRIM_OP_POW_DBL, | ||
|
||
PRIM_OP_NEG_INT, | ||
PRIM_OP_INV_INT, | ||
PRIM_OP_NEG_DBL, | ||
PRIM_OP_NOT_INT, | ||
|
||
FAST_LEN_INEXACT, | ||
FAST_LEN_LIST, | ||
FAST_LEN_DICT, | ||
FAST_LEN_SET, | ||
FAST_LEN_TUPLE, | ||
FAST_LEN_ARRAY, | ||
FAST_LEN_STR, | ||
|
||
PRIM_OP_SUB_INT, | ||
PRIM_OP_XOR_INT, | ||
rand, | ||
RAND_MAX, | ||
|
||
resolve_primitive_descr, | ||
SEQ_ARRAY_INT64, | ||
SEQ_CHECKED_LIST, | ||
SEQ_LIST, | ||
SEQ_LIST_INEXACT, | ||
SEQ_REPEAT_INEXACT_NUM, | ||
SEQ_REPEAT_INEXACT_SEQ, | ||
SEQ_REPEAT_PRIMITIVE_NUM, | ||
SEQ_REPEAT_REVERSED, | ||
SEQ_SUBSCR_UNCHECKED, | ||
SEQ_TUPLE, | ||
# Static Methods, | ||
set_type_code, | ||
rand, | ||
is_type_static, | ||
set_type_final, | ||
set_type_static, | ||
set_type_static_final, | ||
set_type_final, | ||
make_recreate_cm, | ||
make_context_decorator_wrapper, | ||
posix_clock_gettime_ns, | ||
_property_missing_fget, | ||
_property_missing_fset, | ||
resolve_primitive_descr, | ||
__build_cinder_class__, | ||
init_subclass, | ||
lookup_native_symbol, | ||
_sizeof_dlopen_cache, | ||
_sizeof_dlsym_cache, | ||
_clear_dlopen_cache, | ||
_clear_dlsym_cache, | ||
install_sp_audit_hook, | ||
|
||
# Static Classes | ||
staticarray, | ||
TYPED_ARRAY, | ||
TYPED_BOOL, | ||
TYPED_CHAR, | ||
TYPED_DOUBLE, | ||
TYPED_INT16, | ||
TYPED_INT32, | ||
TYPED_INT64, | ||
TYPED_INT8, | ||
TYPED_INT_16BIT, | ||
TYPED_INT_32BIT, | ||
TYPED_INT_64BIT, | ||
TYPED_OBJECT, | ||
TYPED_SINGLE, | ||
TYPED_UINT16, | ||
TYPED_UINT32, | ||
TYPED_UINT64, | ||
TYPED_UINT8, | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters