Skip to content

Commit

Permalink
Merge branch 'main' into pre-commit-ci-update-config
Browse files Browse the repository at this point in the history
Signed-off-by: Nils Quetschlich <nils.quetschlich@tum.de>
  • Loading branch information
nquetschlich authored Nov 30, 2024
2 parents 715d807 + 709fa1a commit 806a149
Showing 1 changed file with 21 additions and 17 deletions.
38 changes: 21 additions & 17 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ name = "mqt.qao"
description = "MQT Quantum Auto Optimizer: Automatic Framework for Solving Optimization Problems with Quantum Computers"
readme = "README.md"
authors = [
{ name = "Deborah Volpe", email = "deborah.volpe@polito.it"},
{ name = "Deborah Volpe", email = "deborah.volpe@polito.it" },
{ name = "Nils Quetschlich", email = "nils.quetschlich@tum.de" },
]
keywords = ["MQT", "quantum-computing", "optimization", "QUBO"]
keywords = ["MQT", "quantum-computing", "optimization", "QUBO"]
license = { file = "LICENSE" }
requires-python = ">=3.9"
dynamic = ["version"]
Expand Down Expand Up @@ -85,19 +85,23 @@ addopts = ["-ra", "--strict-markers", "--strict-config", "--showlocals"]
log_cli_level = "info"
xfail_strict = true
filterwarnings = [
"error",
"ignore:.*invalid escape sequence.*::.*docplex.*", # See https://github.com/cda-tum/mqt-qao/issues/3
"ignore:.*invalid escape sequence.*::.*dwave.*", # See https://github.com/cda-tum/mqt-qao/issues/3
"ignore:.*invalid escape sequence.*::.*homebase.*", # See https://github.com/cda-tum/mqt-qao/issues/3
"ignore:.*invalid escape sequence.*::.*plucky.*", # See https://github.com/cda-tum/mqt-qao/issues/3
"ignore:.*numpy.core.shape_base.*::", # See https://github.com/cda-tum/mqt-qao/issues/3
# The warning filters below are only temporary and should be removed once the usage of the Sampler and Estimator is updated
"ignore:.*BaseSamplerV1.*:DeprecationWarning:",
"ignore:.*BaseEstimatorV1.*:DeprecationWarning:",
'ignore:.*qiskit\.primitives\.utils.*:DeprecationWarning:',
# The RandomForest classifier has been trained with sklearn 1.4.1.post1, which might not be compatible with newer versions
'ignore:.*Trying to unpickle.*:sklearn.exceptions.InconsistentVersionWarning:',
'ignore:.*X does not have valid feature names.*:UserWarning:',
"error",
"ignore:.*invalid escape sequence.*::.*docplex.*", # See https://github.com/cda-tum/mqt-qao/issues/3
"ignore:.*invalid escape sequence.*::.*dwave.*", # See https://github.com/cda-tum/mqt-qao/issues/3
"ignore:.*invalid escape sequence.*::.*homebase.*", # See https://github.com/cda-tum/mqt-qao/issues/3
"ignore:.*invalid escape sequence.*::.*plucky.*", # See https://github.com/cda-tum/mqt-qao/issues/3
"ignore:.*numpy.core.shape_base.*::", # See https://github.com/cda-tum/mqt-qao/issues/3
# The warning filters below are only temporary and should be removed once the usage of the Sampler and Estimator is updated
"ignore:.*BaseSamplerV1.*:DeprecationWarning:",
"ignore:.*BaseEstimatorV1.*:DeprecationWarning:",
'ignore:.*qiskit\.primitives\.utils.*:DeprecationWarning:',
# The RandomForest classifier has been trained with sklearn 1.4.1.post1, which might not be compatible with newer versions
'ignore:.*Trying to unpickle.*:sklearn.exceptions.InconsistentVersionWarning:',
'ignore:.*X does not have valid feature names.*:UserWarning:',
# Qiskit 1.3 deprecations
'ignore:.*The property ``qiskit.dagcircuit.dagcircuit.DAGCircuit.*`` is deprecated as of qiskit 1.3.0.*:DeprecationWarning:qiskit.*',
'ignore:.*The class ``qiskit.circuit.library.n_local.two_local.*`` is deprecated as of Qiskit 1.3.*:DeprecationWarning:qiskit.*',
'ignore:.*is pending deprecation as of qiskit 1.3..*:PendingDeprecationWarning:',
]


Expand Down Expand Up @@ -218,7 +222,7 @@ isort.required-imports = ["from __future__ import annotations"]
"noxfile.py" = ["T20", "TID251"]
"*.pyi" = ["D418", "PYI021"] # pydocstyle
"*.ipynb" = [
"D", # pydocstyle
"D", # pydocstyle
"E402", # Allow imports to appear anywhere in Jupyter notebooks
"I002", # Allow missing `from __future__ import annotations` import
]
Expand All @@ -229,7 +233,7 @@ convention = "google"

[tool.typos]
default.extend-ignore-re = [
"(?Rm)^.*(#|//)\\s*spellchecker:disable-line$", # ignore line
"(?Rm)^.*(#|//)\\s*spellchecker:disable-line$", # ignore line
"(?s)(#|//)\\s*spellchecker:off.*?\\n\\s*(#|//)\\s*spellchecker:on" # ignore block
]
default.extend-ignore-identifiers-re = [
Expand Down

0 comments on commit 806a149

Please sign in to comment.