File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11# Changes here will be overwritten by Copier
2- _commit : 4f23417
2+ _commit : 08a244d
33_src_path : https://github.com/python-project-templates/base.git
44add_docs : false
55add_extension : python
Original file line number Diff line number Diff line change @@ -141,14 +141,12 @@ js/node_modules
141141js /test-results
142142js /playwright-report
143143js /* .tgz
144- csp_bot /extension
145144
146145# Jupyter
147146.ipynb_checkpoints
148147.autoversion
149148Untitled * .ipynb
150- ! csp_bot /extension /csp_bot.json
151- ! csp_bot /extension /install.json
149+ csp_bot /extension
152150csp_bot /nbextension
153151csp_bot /labextension
154152
@@ -158,12 +156,13 @@ csp_bot/labextension
158156# Rust
159157target
160158
159+ # Hydra
160+ outputs /
161+ multirun /
162+
161163# Secrets
162164.discord_token
163165.slack_app_token
164166.slack_bot_token
165167.symphony_cert
166168.symphony_key
167-
168- # Outputs
169- outputs
Original file line number Diff line number Diff line change @@ -46,12 +46,15 @@ format: fix
4646# ###############
4747# Other Checks #
4848# ###############
49- .PHONY : check-manifest checks check
49+ .PHONY : check-dist check-types checks check
5050
51- check-manifest : # # check python sdist manifest with check-manifest
52- check-manifest -v
51+ check-dist : # # check python sdist and wheel with check-dist
52+ check-dist -v
5353
54- checks : check-manifest
54+ check-types : # # check python types with ty
55+ ty check --python $$(which python )
56+
57+ checks : check-dist
5558
5659# Alias
5760check : checks
Original file line number Diff line number Diff line change 22requires = [
33 " hatchling" ,
44]
5- build-backend = " hatchling.build"
5+ build-backend = " hatchling.build"
66
77[project ]
88name = " csp-bot"
@@ -52,17 +52,17 @@ dependencies = [
5252develop = [
5353 " build" ,
5454 " bump-my-version" ,
55- " check-manifest " ,
56- " codespell>=2.4,<2.5 " ,
55+ " check-dist " ,
56+ " codespell" ,
5757 " csp-adapter-discord>=0.1,<0.2" ,
5858 " csp-adapter-slack>=0.3,<0.4" ,
5959 " csp-adapter-symphony>=0.3,<0.4" ,
6060 " hatchling" ,
61- " mdformat>=0.7.22,<1.1 " ,
61+ " mdformat" ,
6262 " mdformat-tables>=1" ,
6363 " pytest" ,
6464 " pytest-cov" ,
65- " ruff>=0.9,<0.15 " ,
65+ " ruff" ,
6666 " twine" ,
6767 " ty" ,
6868 " uv" ,
@@ -94,19 +94,12 @@ filename = "pyproject.toml"
9494search = ' version = "{current_version}"'
9595replace = ' version = "{new_version}"'
9696
97- [tool .check-manifest ]
98- ignore = [
99- " .copier-answers.yaml" ,
100- " Makefile" ,
101- " docs/**/*" ,
102- " example/**/*" ,
103- ]
104-
10597[tool .coverage .run ]
10698branch = true
10799omit = [
108100 " csp_bot/tests/integration/" ,
109101]
102+
110103[tool .coverage .report ]
111104exclude_also = [
112105 " raise NotImplementedError" ,
@@ -127,17 +120,17 @@ packages = [
127120 " csp_bot" ,
128121]
129122exclude = [
130- " / docs" ,
131- " / example" ,
123+ " docs" ,
124+ " example" ,
132125]
133126
134127[tool .hatch .build .targets .wheel ]
135128packages = [
136129 " csp_bot" ,
137130]
138131exclude = [
139- " / docs" ,
140- " / example" ,
132+ " docs" ,
133+ " example" ,
141134]
142135
143136[tool .hatch .build .targets .wheel .shared-data ]
You can’t perform that action at this time.
0 commit comments