From 080edd263be28f559fc721a9ce23acd014eb0dae Mon Sep 17 00:00:00 2001 From: Mathieu Scheltienne Date: Sat, 5 Oct 2024 09:59:33 +0200 Subject: [PATCH] Update toml-sort config (#341) Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> --- pyproject.toml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index e7b5a7a17..193fe45cd 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -148,11 +148,11 @@ select = ['A', 'B', 'D', 'E', 'F', 'G', 'I', 'LOG', 'NPY', 'PIE', 'PT', 'T20', ' [tool.ruff.lint.per-file-ignores] '*' = [ - 'B904', # 'Within an except clause, raise exceptions with raise ... from ...' - 'D100', # 'Missing docstring in public module' - 'D104', # 'Missing docstring in public package' - 'D107', # 'Missing docstring in __init__' - 'UP007', # 'Use `X | Y` for type annotations', requires python 3.10 + 'B904', # 'Within an except clause, raise exceptions with raise ... from ...' + 'D100', # 'Missing docstring in public module' + 'D104', # 'Missing docstring in public package' + 'D107', # 'Missing docstring in __init__' + 'UP007', # 'Use `X | Y` for type annotations', requires python 3.10 ] '*.pyi' = ['D', 'E501', 'F811'] '*/stream_viewer/backends/*' = ['D401'] @@ -179,6 +179,7 @@ include = ['mne_lsl*'] [tool.tomlsort] all = true ignore_case = true +spaces_before_inline_comment = 2 trailing_comma_inline_array = true [tool.uv.pip]