[build-system] requires = ["setuptools", "setuptools-scm"] build-backend = "setuptools.build_meta" [project] name = "dibbler" authors = [] description = "EDB-system for PVV" readme = "README.md" requires-python = ">=3.11" classifiers = [ "Programming Language :: Python :: 3", ] dependencies = [ "SQLAlchemy >= 2.0, <2.1", "brother-ql", "matplotlib", "psycopg2-binary >= 2.8, <2.10", "python-barcode", ] dynamic = ["version"] [dependency-groups] test = [ "pytest", "pytest-cov", "coverage-badge>=1.1.2", "pytest-html>=4.1.1", "sqlparse>=0.5.4", "pytest-benchmark[histogram]>=5.2.3", ] [tool.setuptools.packages.find] include = ["dibbler*"] [project.scripts] dibbler = "dibbler.main:main" [tool.black] line-length = 100 [tool.ruff] line-length = 100 [tool.pytest.ini_options] addopts = [ "--cov=dibbler.lib", "--cov=dibbler.models", "--cov=dibbler.queries", "--cov-report=html", "--cov-branch", "--self-contained-html", "--html=./test-report/index.html", "--benchmark-skip", "--benchmark-autosave", "--benchmark-save=default", "--benchmark-verbose", "--benchmark-storage=benchmark", "--benchmark-histogram=benchmark/histogram", ]