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