From 6662e70a2f40f2761138aa8800f6a7edcb729e98 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Antonio=20Serrano=20Mu=C3=B1oz?= Date: Sun, 15 Sep 2024 19:11:40 -0400 Subject: [PATCH] Remove yapf config and update isort --- pyproject.toml | 20 +------------------- 1 file changed, 1 insertion(+), 19 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index c391d5a2..408d1c48 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -59,23 +59,6 @@ tests = [ "Source" = "https://github.com/Toni-SM/skrl" -[tool.yapf] -# run: yapf -p -m -i -r -based_on_style = "pep8" -blank_line_before_nested_class_or_def = false -blank_lines_between_top_level_imports_and_variables = 2 -column_limit = 120 -join_multiple_lines = false -space_between_ending_comma_and_closing_bracket = false -spaces_around_power_operator = true -split_all_top_level_comma_separated_values = true -split_before_arithmetic_operator = true -split_before_dict_set_generator = false -split_before_dot = true -split_complex_comprehension = true -coalesce_brackets = true - - [tool.black] line-length = 120 @@ -88,9 +71,8 @@ count = true [tool.isort] -use_parentheses = false +profile = "black" line_length = 120 -multi_line_output = 3 lines_after_imports = 2 known_test = [ "warnings",