Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed linter issues #27454

Merged
merged 2 commits into from
Dec 9, 2023
Merged

Fixed linter issues #27454

merged 2 commits into from
Dec 9, 2023

Conversation

he11owthere
Copy link
Contributor

Fixed the issues where the linter had been relocating few assignment statements with a constant target value to the end of the file.

@NripeshN
Copy link
Contributor

NripeshN commented Dec 7, 2023

Just ran pre-commit run --all-files
Black does not seem to agree with our linter for the following files

reformatted ivy/functional/frontends/numpy/ufunc/methods.py
reformatted ivy/functional/frontends/xgboost/gbm/gbm.py
reformatted ivy/functional/frontends/sklearn/model_selection/_split.py
reformatted ivy/functional/frontends/numpy/ma/MaskedArray.py
reformatted ivy/functional/frontends/tensorflow/nn.py
reformatted ivy/functional/frontends/paddle/nn/functional/pooling.py
reformatted ivy_tests/test_ivy/test_frontends/test_jax/test__src/test_tree_util.py
reformatted ivy/functional/frontends/torch/nn/functional/loss_functions.py
reformatted ivy/functional/frontends/sklearn/tree/_tree.py
reformatted ivy/functional/frontends/numpy/mathematical_functions/arithmetic_operations.py
reformatted ivy/functional/frontends/torch/nn/modules/module.py
reformatted ivy/functional/frontends/torch/miscellaneous_ops.py
reformatted ivy/functional/frontends/paddle/nn/functional/vision.py
reformatted ivy/functional/frontends/tensorflow/keras/metrics.py
reformatted ivy/functional/frontends/numpy/statistics/averages_and_variances.py
reformatted ivy/functional/frontends/xgboost/core.py
reformatted ivy/functional/frontends/torch/nn/functional/distance_functions.py
reformatted ivy/functional/frontends/tensorflow/linalg.py
reformatted ivy_tests/test_ivy/test_frontends/test_numpy/test_func_wrapper.py
reformatted ivy/functional/frontends/torch/nn/functional/vision_functions.py
reformatted ivy_tests/test_ivy/test_frontends/test_numpy/test_manipulation_routines/test_padding_arrays.py
reformatted ivy_tests/test_ivy/test_frontends/test_numpy/test_linalg/test_solving_equations_and_inverting_matrices.py
reformatted ivy_tests/test_ivy/test_frontends/test_numpy/test_linalg/test_matrix_and_vector_products.py
reformatted ivy_tests/test_ivy/test_frontends/test_tensorflow/test_func_wrapper.py
reformatted ivy_tests/test_ivy/test_frontends/test_jax/test_numpy/test_indexing.py
reformatted ivy_tests/test_ivy/test_frontends/test_mindspore/test_ops/test_function/test_mindspore_nn_func.py
reformatted ivy_tests/test_ivy/test_functional/test_experimental/test_core/test_gradients.py
reformatted ivy_tests/test_ivy/test_frontends/test_torch/test_nn/test_functional/test_vision_functions.py
reformatted ivy_tests/test_ivy/test_frontends/test_paddle/test_nn/test_functional/test_common.py
reformatted ivy_tests/test_ivy/test_frontends/test_jax/test_numpy/test_linalg.py
reformatted ivy_tests/test_ivy/test_frontends/test_jax/test_numpy/test_statistical.py
reformatted ivy_tests/test_ivy/test_misc/test_backend_utils/test_backend_handler.py
reformatted ivy_tests/test_ivy/test_functional/test_core/test_creation.py
reformatted ivy_tests/test_ivy/test_misc/test_handle_exceptions.py
reformatted ivy_tests/test_ivy/test_frontends/test_jax/test_numpy/test_manipulations.py
reformatted ivy_tests/test_ivy/test_frontends/test_tensorflow/test_linalg.py
reformatted ivy_tests/test_ivy/test_misc/test_factorized_tensor/test_tucker_tensor.py
reformatted ivy_tests/test_ivy/test_functional/test_core/test_meta.py
reformatted ivy_tests/test_ivy/test_stateful/test_modules.py
reformatted ivy_tests/test_ivy/test_functional/test_experimental/test_nn/test_layers.py
reformatted ivy_tests/test_ivy/test_functional/test_experimental/test_core/test_manipulation.py
reformatted ivy_tests/test_ivy/test_frontends/test_tensorflow/test_general_functions.py
reformatted ivy_tests/test_ivy/test_frontends/test_jax/test_lax/test_operators.py
reformatted ivy_tests/test_ivy/test_stateful/test_layers.py
reformatted ivy_tests/test_ivy/test_functional/test_core/test_general.py
reformatted ivy_tests/test_ivy/test_misc/test_array.py
reformatted ivy_tests/test_ivy/test_misc/test_container.py

@NripeshN
Copy link
Contributor

NripeshN commented Dec 8, 2023

LGTM!!

@NripeshN NripeshN merged commit 329d16c into ivy-llc:main Dec 9, 2023
137 of 141 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants