From 79c677fb090a975a15f42fdea21432206640dddf Mon Sep 17 00:00:00 2001 From: Gabriel Luiz Freitas Almeida Date: Tue, 6 Jun 2023 09:58:30 -0300 Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=80=20feat(pyproject.toml):=20add=20py?= =?UTF-8?q?test=20configuration=20options=20Added=20pytest=20configuration?= =?UTF-8?q?=20options=20to=20the=20pyproject.toml=20file.=20The=20minimum?= =?UTF-8?q?=20version=20of=20pytest=20is=20set=20to=206.0,=20the=20'-ra'?= =?UTF-8?q?=20option=20is=20added=20to=20addopts=20to=20show=20all=20test?= =?UTF-8?q?=20results,=20testpaths=20are=20set=20to=20include=20both=20'te?= =?UTF-8?q?sts'=20and=20'integration'=20directories,=20console=20output=20?= =?UTF-8?q?style=20is=20set=20to=20'progress',=20and=20DeprecationWarning?= =?UTF-8?q?=20is=20ignored.=20log=5Fcli=20is=20set=20to=20true=20to=20enab?= =?UTF-8?q?le=20logging=20of=20pytest=20output=20to=20the=20console.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pyproject.toml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index cde7ddca5..87843198b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -78,6 +78,15 @@ types-pillow = "^9.5.0.2" [tool.poetry.extras] deploy = ["langchain-serve"] +[tool.pytest.ini_options] +minversion = "6.0" +addopts = "-ra" +testpaths = ["tests", "integration"] +console_output_style = "progress" +filterwarnings = ["ignore::DeprecationWarning"] +log_cli = true + + [tool.ruff] line-length = 120