File tree Expand file tree Collapse file tree 3 files changed +23
-0
lines changed Expand file tree Collapse file tree 3 files changed +23
-0
lines changed Original file line number Diff line number Diff line change @@ -7,3 +7,6 @@ d032de3b16eed11ea3a31cd3d96d78f7c46a2ee0
77e8f965fbf8154ea177c6622da149f2ae8533bd3c
88e938ca5f20651abc160ee6aba10014013d04dcc1
99eaa5e07b2866e05b6c7b5628ca92e9cb1142d008
10+
11+ # Code reformatting
12+ 68458c6ac05d2d8e6fac0d7c759c479d7a63f8d4
Original file line number Diff line number Diff line change @@ -24,6 +24,8 @@ run_isort = false
2424run_black = false
2525run_ruff_check = true
2626ruff_check_config = " ruff.toml"
27+ run_ruff_format = true
28+ ruff_format_config = " ruff.toml"
2729run_flake8 = false
2830run_pylint = false
2931run_yamllint = true
Original file line number Diff line number Diff line change @@ -81,3 +81,21 @@ unfixable = []
8181
8282# Allow unused variables when underscore-prefixed or starting with dummy
8383dummy-variable-rgx = " ^(_|dummy).*$"
84+
85+ [format ]
86+ # https://docs.astral.sh/ruff/formatter/#configuration
87+
88+ # Like Black, use double quotes for strings.
89+ quote-style = " double"
90+
91+ # Like Black, indent with spaces, rather than tabs.
92+ indent-style = " space"
93+
94+ # Like Black, respect magic trailing commas.
95+ skip-magic-trailing-comma = false
96+
97+ line-ending = " lf"
98+
99+ # Disable auto-formatting of code examples in docstrings. Markdown,
100+ # reStructuredText code/literal blocks and doctests are all supported.
101+ docstring-code-format = false
You can’t perform that action at this time.
0 commit comments