-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
103 lines (91 loc) · 2.69 KB
/
pyproject.toml
File metadata and controls
103 lines (91 loc) · 2.69 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
[build-system]
build-backend = "setuptools.build_meta"
requires = ["setuptools>=68", "wheel", "setuptools_scm[toml]>=7.0", "versionista>=1.1.0"]
[project]
authors = [
{name = "GDC Feature Team", email = "gdc_dev_questions-aaaaae2lhsbell56tlvh3upgoq@cdis.slack.com"}
]
classifiers = [
"License :: OSI Approved :: Apache Software License",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Internet",
"Programming Language :: Python",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14"
]
dependencies = ["deprecated", "pika", "requests", "simplejson"]
description = "Queue Client Facade: A generalized API that allows for connection to multiple queue implementations."
dynamic = ["version"]
keywords = ["rabbitmq", "depot"]
license-files = ["LICENSE"]
maintainers = [
{name = "GDC Feature Team", email = "gdc_dev_questions-aaaaae2lhsbell56tlvh3upgoq@cdis.slack.com"}
]
name = "queueclient"
readme = "README.md"
requires-python = ">=3.10"
[project.optional-dependencies]
dev = ["coverage[toml]", "depot==1.0.0", "pytest", "pytest-cov", "testcontainers[rabbitmq]"]
[project.urls]
Repository = "https://github.com/NCI-GDC/queueclient"
[tool.coverage.html]
directory = "docs/htmlcov"
show_contexts = true
title = "queueclient coverage report"
[tool.coverage.run]
branch = true
context = "unit tests"
source = ["queueclient"]
[tool.pytest.ini_options]
addopts = "-rfE --color=yes --cov=queueclient --cov-report term"
console_output_style = "classic"
junit_family = "xunit2"
junit_logging = "system-out"
log_cli = true
log_cli_level = "INFO"
minversion = "6.0"
norecursedirs = [".git", ".tox", "dist", "build"]
python_files = "test_*.py"
python_functions = "test_*"
testpaths = ["tests"]
[tool.ruff]
line-length = 95
src = ["src", "tests"]
target-version = "py310"
[tool.ruff.lint]
# see https://docs.astral.sh/ruff/rules/
select = [
"E", # pydocstyle errors
"F", # pyflakes
"I", # isort
"N", # pep8 naming
"RUF", # ruff specific rules
"UP", # pyupgrade
"W" # pydocstyle warnings
]
[tool.setuptools_scm]
local_scheme = "versionista-local-format"
version_scheme = "versionista-format"
[tool.tox]
env_list = ["py310", "py311", "py312", "py313", "py314"]
[tool.tox.env_run_base]
commands = [
[
"python",
"-m",
"pytest",
{replace = "posargs", default = [
"--cov-report=html",
"--cov-report=xml",
"--junit-xml=report.xml"
], extend = true}
]
]
extras = ["dev"]
pass_env = ["RABBITMQ_*", "DOCKER_*"]
[tool.tox.env_run_base.set_env]
NO_PROXY = "localhost,docker"
no_proxy = "localhost,docker"