afterpython 0.2.0__py3-none-any.whl → 0.2.1__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -33,7 +33,7 @@ jobs:
33
33
  - name: Install dependencies
34
34
  # Install the package with uv in system mode
35
35
  # This installs ruff and other tools defined in dependencies
36
- run: uv pip install --system .
36
+ run: uv pip install --system . --group dev
37
37
 
38
38
  - name: Run ruff check
39
39
  run: ruff check --config ./afterpython/ruff.toml .
@@ -189,9 +189,18 @@ jobs:
189
189
  run: uv pip install --system dist/*.whl
190
190
 
191
191
  - name: Verify installation
192
- # Confirm the CLI entry point works
193
- # This ensures the package is usable after installation
194
- run: ap --help
192
+ # Generic verification: assume project.name maps to import name
193
+ # by replacing '-' with '_'. If a project breaks this rule, CI fails.
194
+ run: |
195
+ PROJECT_NAME="$(python - <<'PY'
196
+ import tomllib
197
+ with open("pyproject.toml", "rb") as f:
198
+ data = tomllib.load(f)
199
+ print(data["project"]["name"])
200
+ PY
201
+ )"
202
+ IMPORT_NAME="${PROJECT_NAME//-/_}"
203
+ python -c "import ${IMPORT_NAME}"
195
204
 
196
205
  # Job 5: Type Check
197
206
  # typecheck:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: afterpython
3
- Version: 0.2.0
3
+ Version: 0.2.1
4
4
  Summary: CLI tool to streamline Python package maintenance and generate a dedicated project website
5
5
  Keywords: package-maintenance,project-website,static-site-generator,developer-tools,documentation,cli-tool,ci/cd,mystmd,semantic-release,python-packaging
6
6
  Author: Stephen Yau
@@ -35,7 +35,7 @@ afterpython/const.py,sha256=B_yUBmHPyu98aOibwt7idWbhKNBBed0TeYXNBd8tPTk,157
35
35
  afterpython/main.py,sha256=w0z6mTib3u4p2HxMrk-tIJlZtur7uRaqsbE0ewlYlSs,490
36
36
  afterpython/pcu.py,sha256=EoEhSzFZ49b5qc9KH2RLxIHSzY8YFM5uhtw07chcrr8,6093
37
37
  afterpython/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
38
- afterpython/templates/ci-workflow-template.yml,sha256=8JzGBSDKwiNgk1ygEWQzc5AoLGv2RpX6G6VuZcWFZH4,5933
38
+ afterpython/templates/ci-workflow-template.yml,sha256=4wnH1_a7puUV1loqMZhTT5xlKeGJ5aeercu0_vtnbDU,6289
39
39
  afterpython/templates/cz-template.toml,sha256=2qwbQLb0nbZaA63oWXFFzvzPNBsFZHATL1C2rdNdjjs,185
40
40
  afterpython/templates/dependabot-template.yml,sha256=CBQEgh8EsXw2X7IqzGtFI7lVT9liF6PW4DvGLB0X2LY,1136
41
41
  afterpython/templates/deploy-workflow-template.yml,sha256=2W4K3lKMYjSTPrlXIsMweBzqP9IoLtZXAAcUu5FA5NA,2365
@@ -52,7 +52,7 @@ afterpython/tools/pre_commit.py,sha256=oNsrUkPI13rSSBSyhyTTKPnQGhDxLIPYhxu6kL0fD
52
52
  afterpython/tools/pyproject.py,sha256=kb7BDn24yH_xS2F5_L0dK-GL4KgOJS-MIIUQhHnLorI,3507
53
53
  afterpython/utils.py,sha256=fVa3jIzCvhn7QA7N0M6d_pvojpPFrN-hae8trUYhPKU,11701
54
54
  afterpython/version.py,sha256=hihRV1S-gc1m46OaXD32ikkEkqzs-Gtq7AcAqOQV-wY,1603
55
- afterpython-0.2.0.dist-info/WHEEL,sha256=XV0cjMrO7zXhVAIyyc8aFf1VjZ33Fen4IiJk5zFlC3g,80
56
- afterpython-0.2.0.dist-info/entry_points.txt,sha256=roa0PDgBueM1JPbRG0G2OSxzaN394OUL_oS9iEwVLBc,80
57
- afterpython-0.2.0.dist-info/METADATA,sha256=ifi0oejbBzTgfOSHaKAfaUqnO2wiG7P585Il7XeTjVs,5780
58
- afterpython-0.2.0.dist-info/RECORD,,
55
+ afterpython-0.2.1.dist-info/WHEEL,sha256=iHtWm8nRfs0VRdCYVXocAWFW8ppjHL-uTJkAdZJKOBM,80
56
+ afterpython-0.2.1.dist-info/entry_points.txt,sha256=roa0PDgBueM1JPbRG0G2OSxzaN394OUL_oS9iEwVLBc,80
57
+ afterpython-0.2.1.dist-info/METADATA,sha256=bYFDNElkzZ6Y4CHQCUJVCxF3CPzm885yD2tgkQoStyU,5780
58
+ afterpython-0.2.1.dist-info/RECORD,,
@@ -1,4 +1,4 @@
1
1
  Wheel-Version: 1.0
2
- Generator: uv 0.9.26
2
+ Generator: uv 0.9.30
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any