From: Kamalesh Babulal Date: Mon, 10 Jul 2023 04:43:47 +0000 (+0530) Subject: python: add cython-lint configuration file X-Git-Tag: v3.1.0~19 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8c1c274893d5be8ed185b55a2577cd43ca16f659;p=thirdparty%2Flibcgroup.git 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 --- 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']