From 8c1c274893d5be8ed185b55a2577cd43ca16f659 Mon Sep 17 00:00:00 2001 From: Kamalesh Babulal Date: Mon, 10 Jul 2023 10:13:47 +0530 Subject: [PATCH] python: add cython-lint configuration file Add configuration for cython-lint, to ignore errors such as: - Allowed length of line to be 100 - Ignore error code 'E128' continuation line under-indented for visual indent Cython-lint is available https://github.com/MarcoGorelli/cython-lint, expects the file name to be pyproject.toml Signed-off-by: Kamalesh Babulal Signed-off-by: Tom Hromatka --- src/python/pyproject.toml | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 src/python/pyproject.toml diff --git a/src/python/pyproject.toml b/src/python/pyproject.toml new file mode 100644 index 00000000..74b602f5 --- /dev/null +++ b/src/python/pyproject.toml @@ -0,0 +1,4 @@ +[tool.cython-lint] +max-line-length = 100 +# E128 - continuation line under-indented for visual indent +ignore = ['E128'] -- 2.47.2