summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@flameeyes.com>2020-10-04 20:57:42 +0200
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2020-10-04 21:47:57 +0200
commit308b0f6a9cb7063d7117117b960d493478dfd310 (patch)
tree0d3e6913fd2db8998256e2efc48fcf0c76f0dc9f
parentRemove pytest-flake8 from configuration. (diff)
downloadglucometerutils-308b0f6a9cb7063d7117117b960d493478dfd310.tar
glucometerutils-308b0f6a9cb7063d7117117b960d493478dfd310.tar.gz
glucometerutils-308b0f6a9cb7063d7117117b960d493478dfd310.tar.bz2
glucometerutils-308b0f6a9cb7063d7117117b960d493478dfd310.tar.lz
glucometerutils-308b0f6a9cb7063d7117117b960d493478dfd310.tar.xz
glucometerutils-308b0f6a9cb7063d7117117b960d493478dfd310.tar.zst
glucometerutils-308b0f6a9cb7063d7117117b960d493478dfd310.zip
-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.