Revert D30279364: [codemod][lint][fbcode/c*] Enable BLACK by default
authorShen Li <shenli@fb.com>
Thu, 12 Aug 2021 18:39:31 +0000 (11:39 -0700)
committerFacebook GitHub Bot <facebook-github-bot@users.noreply.github.com>
Thu, 12 Aug 2021 18:45:01 +0000 (11:45 -0700)
commit1022443168b5fad55bbd03d087abf574c9d2e9df
tree1b1e4667ce84b366be123cb18c5450d83b41e7ca
parented0b8a3e836ade5652335bbfb6635d2edc4a1e8e
Revert D30279364: [codemod][lint][fbcode/c*] Enable BLACK by default

Test Plan: revert-hammer

Differential Revision:
D30279364 (https://github.com/pytorch/pytorch/commit/b0043072529b81276a69df29e00555333117646c)

Original commit changeset: c1ed77dfe43a

fbshipit-source-id: eab50857675c51e0088391af06ec0ecb14e2347e
188 files changed:
android/pytorch_android/generate_test_torchscripts.py
android/test_app/make_assets.py
android/test_app/make_assets_custom.py
binaries/bench_gen/bench_gen.py
caffe2/core/nomnigraph/op_gen.py
caffe2/distributed/file_store_handler_op_test.py
caffe2/distributed/redis_store_handler_op_test.py
caffe2/distributed/store_ops_test_util.py
caffe2/perfkernels/hp_emblookup_codegen.py
docs/caffe2/process.py
docs/cpp/source/conf.py
docs/source/conf.py
docs/source/scripts/build_activation_images.py
ios/TestApp/benchmark/trace_model.py
ios/TestApp/custom_build/custom_build.py
modules/detectron/upsample_nearest_op_test.py
mypy_plugins/check_mypy_version.py
setup.py
test/ao/sparsity/test_kernels.py
test/ao/sparsity/test_parametrization.py
test/ao/sparsity/test_pruner.py
test/ao/sparsity/test_scheduler.py
test/ao/sparsity/test_sparsifier.py
test/backward_compatibility/check_backward_compatibility.py
test/backward_compatibility/dump_all_function_schemas.py
test/benchmark_utils/test_benchmark_utils.py
test/bottleneck_test/test_args.py
test/bottleneck_test/test_cuda.py
test/cpp/api/init_baseline.py
test/cpp/api/optim_baseline.py
test/cpp/jit/tests_setup.py
test/cpp_extensions/setup.py
test/custom_backend/backend.py
test/custom_backend/test_custom_backend.py
test/custom_operator/test_custom_classes.py
test/custom_operator/test_custom_ops.py
test/distributions/test_constraints.py
test/distributions/test_distributions.py
test/distributions/test_transforms.py
test/distributions/test_utils.py
test/error_messages/storage.py
test/jit_hooks/model.py
test/linear.py
test/mobile/custom_build/prepare_model.py
test/mobile/test_bytecode.py
test/mobile/test_lite_script_module.py
test/optim/test.py
test/run_test.py
test/scripts/cuda_memcheck_common.py
test/scripts/run_cuda_memcheck.py
test/simulate_nccl_errors.py
test/test_ao_sparsity.py
test/test_autocast.py
test/test_autograd.py
test/test_binary_ufuncs.py
test/test_buffer_protocol.py
test/test_bundled_images.py
test/test_bundled_inputs.py
test/test_complex.py
test/test_cpp_api_parity.py
test/test_cpp_extensions_aot.py
test/test_cpp_extensions_jit.py
test/test_cuda.py
test/test_cuda_primary_ctx.py
test/test_dataloader.py
test/test_datapipe.py
test/test_determination.py
test/test_dispatch.py
test/test_foreach.py
test/test_function_schema.py
test/test_functional_autograd_benchmark.py
test/test_functional_optim.py
test/test_futures.py
test/test_fx.py
test/test_fx_experimental.py
test/test_gen_backend_stubs.py
test/test_import_time.py
test/test_indexing.py
test/test_jit.py
test/test_jit_cuda_fuser.py
test/test_jit_disabled.py
test/test_jit_fuser.py
test/test_jit_fuser_legacy.py
test/test_jit_fuser_te.py
test/test_jit_legacy.py
test/test_jit_profiling.py
test/test_jit_simple.py
test/test_jit_string.py
test/test_kernel_launch_checks.py
test/test_license.py
test/test_linalg.py
test/test_logging.py
test/test_metal.py
test/test_mkldnn.py
test/test_mobile_optimizer.py
test/test_model_dump.py
test/test_module_init.py
test/test_modules.py
test/test_multiprocessing.py
test/test_multiprocessing_spawn.py
test/test_namedtensor.py
test/test_namedtuple_return_api.py
test/test_native_functions.py
test/test_nn.py
test/test_nnapi.py
test/test_numba_integration.py
test/test_numpy_interop.py
test/test_openmp.py
test/test_ops.py
test/test_optim.py
test/test_overrides.py
test/test_package.py
test/test_profiler.py
test/test_pruning_op.py
test/test_public_bindings.py
test/test_python_dispatch.py
test/test_pytree.py
test/test_quantization.py
test/test_reductions.py
test/test_serialization.py
test/test_set_default_mobile_cpu_allocator.py
test/test_shape_ops.py
test/test_show_pickle.py
test/test_sort_and_select.py
test/test_sparse.py
test/test_sparse_csr.py
test/test_spectral_ops.py
test/test_tensor_creation_ops.py
test/test_tensorboard.py
test/test_tensorexpr.py
test/test_tensorexpr_pybind.py
test/test_testing.py
test/test_throughput_benchmark.py
test/test_torch.py
test/test_type_hints.py
test/test_type_info.py
test/test_type_promotion.py
test/test_typing.py
test/test_unary_ufuncs.py
test/test_utils.py
test/test_view_ops.py
test/test_vmap.py
test/test_vulkan.py
test/test_xnnpack_integration.py
torch/_VF.py
torch/__config__.py
torch/__future__.py
torch/__init__.py
torch/_appdirs.py
torch/_autograd_functions.py
torch/_classes.py
torch/_deploy.py
torch/_jit_internal.py
torch/_linalg_utils.py
torch/_lobpcg.py
torch/_lowrank.py
torch/_namedtensor_internals.py
torch/_ops.py
torch/_python_dispatcher.py
torch/_six.py
torch/_sources.py
torch/_storage_docs.py
torch/_tensor.py
torch/_tensor_docs.py
torch/_tensor_str.py
torch/_torch_docs.py
torch/_utils.py
torch/_utils_internal.py
torch/_vmap_internals.py
torch/autocast_mode.py
torch/contrib/_tensorboard_vis.py
torch/cpu/amp/autocast_mode.py
torch/fft/__init__.py
torch/functional.py
torch/futures/__init__.py
torch/hub.py
torch/linalg/__init__.py
torch/overrides.py
torch/profiler/__init__.py
torch/profiler/profiler.py
torch/quasirandom.py
torch/random.py
torch/serialization.py
torch/sparse/__init__.py
torch/special/__init__.py
torch/storage.py
torch/torch_version.py
torch/types.py