summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pyproject.toml11
-rw-r--r--setup.cfg13
2 files changed, 11 insertions, 13 deletions
diff --git a/pyproject.toml b/pyproject.toml
index a420fce..a7c08d1 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -42,3 +42,14 @@ known_first_party = ['glucometerutils']
known_third_party = ['construct', 'hidapi', 'pyscsi', 'serial', 'usbmon']
[tool.setuptools_scm]
+
+[tool.pytest.ini_options]
+addopts = "--color=yes --ignore=setup.py -ra"
+timeout = 120
+norecursedirs = [
+ '.env',
+ '.git',
+ 'dist',
+ 'build',
+ 'venv',
+]
diff --git a/setup.cfg b/setup.cfg
index 045e2f2..7f4a507 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -44,19 +44,6 @@ lib/udev/rules =
console_scripts =
glucometer = glucometerutils.glucometer:main
-[tool:pytest]
-addopts =
- --color=yes
- --ignore=setup.py
- -r a
-norecursedirs =
- .git
- dist
- build
- venv
- .env
-timeout = 120
-
[flake8]
max-line-length = 88
# Ignore long line errors, black takes care of them.