11[build-system ]
2- requires = [" hatchling" ]
3- build-backend =" hatchling.build"
2+ requires = [
3+ " hatchling" ,
4+ ]
5+ build-backend = " hatchling.build"
46
57[project ]
68name = " csp-bot"
7- authors = [{name = " Point72, L.P." , email = " OpenSource@point72.com" }]
9+ authors = [
10+ {name = " Point72, L.P." , email = " OpenSource@point72.com" },
11+ ]
812description = " Reactive chat bot framework"
913readme = " README.md"
1014license = { text = " Apache-2.0" }
@@ -35,9 +39,10 @@ classifiers = [
3539dependencies = [
3640 " beautifulsoup4" ,
3741 " ccflow>=0.5.2" ,
42+ " chatom" ,
3843 " croniter" ,
3944 " csp>=0.9,<1" ,
40- " csp-gateway>=2,<3 " ,
45+ " csp-gateway>=2.5,<2.6 " ,
4146 " dateparser" ,
4247 " hydra-core" ,
4348 " pandas" ,
@@ -48,18 +53,19 @@ dependencies = [
4853develop = [
4954 " build" ,
5055 " bump-my-version" ,
51- " check-manifest " ,
52- " codespell>=2.4,<2.5 " ,
53- " csp-adapter-discord>=0.1 ,<0.2 " ,
54- " csp-adapter-slack>=0.3 ,<0.4 " ,
55- " csp-adapter-symphony>=0.3 ,<0.4 " ,
56+ " check-dist " ,
57+ " codespell" ,
58+ " csp-adapter-discord>=0.2 ,<0.3 " ,
59+ " csp-adapter-slack>=0.4 ,<0.5 " ,
60+ " csp-adapter-symphony>=0.4 ,<0.5 " ,
5661 " hatchling" ,
57- " mdformat>=0.7.22,<1.1 " ,
62+ " mdformat" ,
5863 " mdformat-tables>=1" ,
5964 " pytest" ,
6065 " pytest-cov" ,
61- " ruff>=0.9,<0.15 " ,
66+ " ruff" ,
6267 " twine" ,
68+ " ty" ,
6369 " uv" ,
6470 " wheel" ,
6571 # tests
@@ -89,19 +95,12 @@ filename = "pyproject.toml"
8995search = ' version = "{current_version}"'
9096replace = ' version = "{new_version}"'
9197
92- [tool .check-manifest ]
93- ignore = [
94- " .copier-answers.yaml" ,
95- " Makefile" ,
96- " docs/**/*" ,
97- " example/**/*" ,
98- ]
99-
10098[tool .coverage .run ]
10199branch = true
102100omit = [
103101 " csp_bot/tests/integration/" ,
104102]
103+
105104[tool .coverage .report ]
106105exclude_also = [
107106 " raise NotImplementedError" ,
@@ -118,31 +117,60 @@ artifacts = []
118117src = " /"
119118
120119[tool .hatch .build .targets .sdist ]
121- packages = [" csp_bot" ]
122- exclude = [" /docs" , " /example" ]
120+ packages = [
121+ " csp_bot" ,
122+ ]
123+ exclude = [
124+ " docs" ,
125+ " example" ,
126+ ]
123127
124128[tool .hatch .build .targets .wheel ]
125- packages = [" csp_bot" ]
126- exclude = [" /docs" , " /example" ]
129+ packages = [
130+ " csp_bot" ,
131+ ]
132+ exclude = [
133+ " docs" ,
134+ " example" ,
135+ ]
127136
128137[tool .hatch .build .targets .wheel .shared-data ]
129138
130139[tool .pytest .ini_options ]
131- addopts = [" -vvv" , " --junitxml=junit.xml" ]
140+ addopts = [
141+ " -vvv" ,
142+ " --junitxml=junit.xml" ,
143+ ]
132144testpaths = " csp_bot/tests"
133145
134146[tool .ruff ]
135147line-length = 150
136148
137149[tool .ruff .lint ]
138- extend-select = [" I" ]
150+ extend-select = [
151+ " I" ,
152+ ]
139153
140154[tool .ruff .lint .isort ]
141155combine-as-imports = true
142156default-section = " third-party"
143- known-first-party = [" csp_bot" ]
144- section-order = [" future" , " standard-library" , " third-party" , " first-party" , " local-folder" ]
157+ known-first-party = [
158+ " csp_bot" ,
159+ ]
160+ section-order = [
161+ " future" ,
162+ " standard-library" ,
163+ " third-party" ,
164+ " first-party" ,
165+ " local-folder" ,
166+ ]
145167
146168[tool .ruff .lint .per-file-ignores ]
147- "__init__.py" = [" F401" , " F403" ]
148- "csp_bot/backends" = [" F401" , " F403" ]
169+ "__init__.py" = [
170+ " F401" ,
171+ " F403" ,
172+ ]
173+ "csp_bot/backends" = [
174+ " F401" ,
175+ " F403" ,
176+ ]
0 commit comments