-
Notifications
You must be signed in to change notification settings - Fork 61
/
pyproject.toml
86 lines (74 loc) · 2.11 KB
/
pyproject.toml
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
[build-system]
requires = ["setuptools", "wheel", "setuptools_scm[toml]>=6.2"]
[project]
name = "UnleashClient"
authors = [
{ name = "Ivan Lee", email = "[email protected]" },
]
description = "Python client for the Unleash feature toggle system!"
dynamic = ["version"]
readme = "README.md"
requires-python = ">=3.8"
classifiers=[
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Typing :: Typed",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
]
dependencies=[
"requests",
"fcache",
"mmh3",
"apscheduler < 4.0.0",
"importlib_metadata",
"python-dateutil",
"semver < 4.0.0",
"yggdrasil-engine",
]
[project.urls]
Homepage = "https://github.com/Unleash/unleash-client-python"
Documentation = "https://docs.getunleash.io/unleash-client-python"
Changelog = "https://github.com/Unleash/unleash-client-python/blob/main/CHANGELOG.md"
Repository = "https://github.com/Unleash/unleash-client-python"
Issues = "https://github.com/Unleash/unleash-client-python/issues"
[tool.isort]
profile = "black"
[tool.mypy]
strict_optional = false
ignore_missing_imports = true
[tool.pytest.ini_options]
addopts= """
--cov UnleashClient \
--cov-report term \
--cov-report html:test_results/cov_html \
--cov-report xml:test_results/cov.xml \
--html=test_results/results.html \
--self-contained-html \
--junitxml=test_results/results.xml \
--disable-warnings
"""
log_file_level="INFO"
[tool.ruff]
lint.select = [
"E", # pycodestyle, error
"W", # pycodestyle, warning
"F", # pyflakes
"PL", # pylint,
"YTT", # flake8-2020
"I" # isort
]
lint.ignore = ["E501", "PLR2004"]
lint.fixable = ["I"]
[tool.ruff.lint.pylint]
max-args = 25
[tool.setuptools]
include-package-data = true
[tool.setuptools.packages]
find = {exclude = ["tests*"]}
[tool.setuptools_scm]