build: Define poethepoet tasks

This commit is contained in:
Alessandro Candido
2024-02-16 11:03:57 +01:00
parent fa59ec81b5
commit 665a145cfe

View File

@@ -14,8 +14,8 @@ repository = "https://github.com/qiboteam/qibotn/"
documentation = "https://qibo.science/docs/qibotn/stable"
keywords = []
classifiers = [
"Programming Language :: Python :: 3",
"Topic :: Scientific/Engineering :: Physics",
"Programming Language :: Python :: 3",
"Topic :: Scientific/Engineering :: Physics",
]
packages = [{ include = "qibotn", from = "src" }]
@@ -46,6 +46,11 @@ optional = true
[tool.poetry.group.analysis.dependencies]
pylint = "^3.0.3"
[tool.poe.tasks]
test = "pytest"
lint = "pylint src --errors-only"
lint-warnings = "pylint src --exit-zero"
[tool.pylint.main]
ignored-modules = ["cupy", "cuquantum", "mpi4py"]