Skip to content

Commit 3885408

Browse files
authored
Merge pull request #45 from Point72/copier-update-2026-02-22T05-25-42
Update from copier (2026-02-22T05:25:42)
2 parents cee2ba6 + 26d5c64 commit 3885408

4 files changed

Lines changed: 23 additions & 28 deletions

File tree

.copier-answers.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
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
44
add_docs: false
55
add_extension: python

.gitignore

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -141,14 +141,12 @@ js/node_modules
141141
js/test-results
142142
js/playwright-report
143143
js/*.tgz
144-
csp_bot/extension
145144

146145
# Jupyter
147146
.ipynb_checkpoints
148147
.autoversion
149148
Untitled*.ipynb
150-
!csp_bot/extension/csp_bot.json
151-
!csp_bot/extension/install.json
149+
csp_bot/extension
152150
csp_bot/nbextension
153151
csp_bot/labextension
154152

@@ -158,12 +156,13 @@ csp_bot/labextension
158156
# Rust
159157
target
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

Makefile

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff 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
5760
check: checks

pyproject.toml

Lines changed: 10 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
requires = [
33
"hatchling",
44
]
5-
build-backend="hatchling.build"
5+
build-backend = "hatchling.build"
66

77
[project]
88
name = "csp-bot"
@@ -52,17 +52,17 @@ dependencies = [
5252
develop = [
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"
9494
search = 'version = "{current_version}"'
9595
replace = '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]
10698
branch = true
10799
omit = [
108100
"csp_bot/tests/integration/",
109101
]
102+
110103
[tool.coverage.report]
111104
exclude_also = [
112105
"raise NotImplementedError",
@@ -127,17 +120,17 @@ packages = [
127120
"csp_bot",
128121
]
129122
exclude = [
130-
"/docs",
131-
"/example",
123+
"docs",
124+
"example",
132125
]
133126

134127
[tool.hatch.build.targets.wheel]
135128
packages = [
136129
"csp_bot",
137130
]
138131
exclude = [
139-
"/docs",
140-
"/example",
132+
"docs",
133+
"example",
141134
]
142135

143136
[tool.hatch.build.targets.wheel.shared-data]

0 commit comments

Comments
 (0)