Skip to content

Saleor Core: the high performance, composable, headless commerce API.

Update configuration files to new python formatter

Krzysztof Wolski60bf65b748e3
diff --git a/.editorconfig b/.editorconfig
index 9fc95d9473..c6cbe4a4da 100644
--- a/.editorconfig
+++ b/.editorconfig
@@ -11,7 +11,7 @@ trim_trailing_whitespace = true
indent_size = 4
continuation_indent_size = 8
combine_as_imports = true
-max_line_length = 79
+max_line_length = 88
multi_line_output = 4
quote_type = single
diff --git a/setup.cfg b/setup.cfg
index 8aa81cf121..363258f0f8 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -29,6 +29,7 @@ exclude =
node_modules/,
*/migrations/
ignore = H101,H238,H301,H306,W503
+max-line-length = 88
[pep8]
exclude =
@@ -38,11 +39,13 @@ exclude =
node_modules/,
*/migrations/
ignore = H101,H238,H301,H306,W503
+max-line-length = 88
[pydocstyle]
ignore = D100, D101, D102, D103, D104, D105, D106, D107, D203, D213
inherit = false
match-dir = (?!migrations)[^\.].*
+max-line-length = 88
[isort]
skip =
@@ -54,10 +57,4 @@ skip =
node_modules
not_skip = __init__.py
multi_line_output = 4
-
-[yapf]
-based_on_style = pep8
-align_closing_bracket_with_visual_indent = false
-coalesce_brackets = true
-split_before_closing_bracket = false
-split_before_first_argument = true
+line_length = 88