Blob Blame History Raw
From 6d0b3c458dbfcfbcb5f8f3ea5817633733d95d8f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Dan=20=C4=8Cerm=C3=A1k?= <dan.cermak@cgc-instruments.com>
Date: Thu, 28 Jan 2021 21:41:31 +0100
Subject: [PATCH 1/3] Moved pytest and coverage configurations to
 pyproject.toml

(cherry picked from commit 141e7d1048d187888194ddfbf8f38a46b41e364e)
---
 pyproject.toml | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/pyproject.toml b/pyproject.toml
index 532ca89..ca5de6a 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -18,3 +18,15 @@ multi_line_output = 4
 
 [tool.autopep8]
 max_line_length = 99
+
+[tool.pytest]
+addopts = "-rsx --tb=short"
+testpaths = ["tests"]
+filterwarnings = "always"
+
+[tool.coverage.run]
+source = ["anyio"]
+relative_files = true
+
+[tool.coverage.report]
+show_missing = true
-- 
2.29.2