diff --git a/pyproject.toml b/pyproject.toml index b0f6442d2d71bd23cf86261b5643ed5ae2ddec33..0ba982fe523ed73e7f95d45e31da324e78a5ddfb 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -73,20 +73,7 @@ build=[ # "cp39-win_amd64", # "cp310-win_amd64", ] -# PYLINT -[tool.pylint.main] -# A comma-separated list of package or module names from where C extensions may -# be loaded. Extensions are loading into the active Python interpreter and may -# run arbitrary code. -extension-pkg-allow-list = ["aidge_core", "aidge_backend_cpu", "aidge_quantization", "onnx"] -# Files or directories to be skipped. They should be base names, not paths. -ignore = ["CVS"] -# List of module names for which member attributes should not be checked (useful -# for modules/projects where namespaces are manipulated during runtime and thus -# existing member attributes cannot be deduced by static analysis). It supports -# qualified module names, as well as Unix pattern matching. -ignored-modules = ["aidge_core", "aidge_backend_cpu", "aidge_quantization", "onnx"] -## AIDGE DEPENDENCIES DECLARATION + [tool.cibuildwheel.environment] AIDGE_DEPENDENCIES = "aidge_core aidge_backend_cpu" # format => "dep_1 dep_2 ... dep_n" AIDGE_INSTALL="/AIDGE_INSTALL_CIBUILDWHEEL" @@ -107,3 +94,18 @@ before-build = [ before-test = [ "pip install aidge_core aidge_backend_cpu aidge_onnx" ] + +# PYLINT +[tool.pylint.main] +# A comma-separated list of package or module names from where C extensions may +# be loaded. Extensions are loading into the active Python interpreter and may +# run arbitrary code. +extension-pkg-allow-list = ["aidge_core", "aidge_backend_cpu", "aidge_quantization", "onnx"] +# Files or directories to be skipped. They should be base names, not paths. +ignore = ["CVS"] +# List of module names for which member attributes should not be checked (useful +# for modules/projects where namespaces are manipulated during runtime and thus +# existing member attributes cannot be deduced by static analysis). It supports +# qualified module names, as well as Unix pattern matching. +ignored-modules = ["aidge_core", "aidge_backend_cpu", "aidge_quantization", "onnx"] +## AIDGE DEPENDENCIES DECLARATION