@@ -6,20 +6,24 @@ pythonpath = [
66[tool .black ]
77line-length = 120
88
9- [tool .pylint ]
9+ [tool .pylint . format ]
1010max-line-length = 120
11+
12+ [tool .pylint .design ]
1113min-public-methods = 1
1214max-branches = 20
1315max-returns = 7
16+
17+ [tool .pylint ."messages control" ]
1418disable = [" duplicate-code" ]
1519
1620[build-system ]
17- requires = [" setuptools>=61.0" , " pylint " , " pytest-asyncio " , " mypy " , " black " ]
21+ requires = [" setuptools>=61.0" ]
1822build-backend = " setuptools.build_meta"
1923
2024[project ]
2125name = " FeatureManagement"
22- version = " 2.1.0 "
26+ dynamic = [ " version " ]
2327authors = [
2428 { name =" Microsoft Corporation" , email =" appconfig@microsoft.com" },
2529]
@@ -40,9 +44,33 @@ classifiers = [
4044 " License :: OSI Approved :: MIT License" ,
4145 ]
4246
47+ [tool .setuptools .dynamic ]
48+ version = {attr = " featuremanagement._version.VERSION" }
49+
50+ [tool .setuptools .packages .find ]
51+ include = [" featuremanagement*" ]
52+
4353[project .urls ]
4454Homepage = " https://github.com/microsoft/FeatureManagement-Python"
4555Issues = " https://github.com/microsoft/FeatureManagement-Python/issues"
4656
4757[project .optional-dependencies ]
4858AzureMonitor = [" azure-monitor-events-extension<2.0.0" ]
59+ test = [
60+ " azure-monitor-opentelemetry" ,
61+ " azure-monitor-events-extension" ,
62+ ]
63+ dev = [
64+ " pytest >= 7.0.0, < 10.0.0" ,
65+ " pytest-cov >= 4.0.0, < 8.0.0" ,
66+ " pytest-asyncio >= 0.21.0, < 2.0.0" ,
67+ " black >= 23.0.0, < 27.0.0" ,
68+ " pylint >= 3.0.0, < 5.0.0" ,
69+ " mypy >= 1.0.0, < 2.0.0" ,
70+ " sphinx >= 7.0.0, < 10.0.0" ,
71+ " sphinx_rtd_theme >= 2.0.0, < 4.0.0" ,
72+ " sphinx-toolbox >= 3.0.0, < 5.0.0" ,
73+ " myst_parser >= 2.0.0, < 6.0.0" ,
74+ " opentelemetry-api >= 1.20.0, < 2.0.0" ,
75+ " opentelemetry-sdk >= 1.20.0, < 2.0.0" ,
76+ ]
0 commit comments