afterpython 0.3.4__py3-none-any.whl → 0.3.6__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.
- afterpython/cli/commands/update.py +10 -2
- afterpython/templates/deploy-workflow-template.yml +3 -3
- afterpython/templates/release-workflow-template.yml +1 -1
- {afterpython-0.3.4.dist-info → afterpython-0.3.6.dist-info}/METADATA +1 -1
- {afterpython-0.3.4.dist-info → afterpython-0.3.6.dist-info}/RECORD +7 -7
- {afterpython-0.3.4.dist-info → afterpython-0.3.6.dist-info}/WHEEL +0 -0
- {afterpython-0.3.4.dist-info → afterpython-0.3.6.dist-info}/entry_points.txt +0 -0
|
@@ -112,8 +112,6 @@ def dependencies(upgrade: bool, all_: bool, exclude: tuple[str, ...]):
|
|
|
112
112
|
"uv not found. Updated pyproject.toml only (packages not installed)."
|
|
113
113
|
)
|
|
114
114
|
if upgrade and all_:
|
|
115
|
-
subprocess.run(["ap", "pre-commit", "autoupdate"])
|
|
116
|
-
click.echo("All pre-commit hooks updated successfully.")
|
|
117
115
|
if has_pixi():
|
|
118
116
|
click.echo("Upgrading dependencies with pixi...")
|
|
119
117
|
pixi_exclude_args = ["--exclude", "python"]
|
|
@@ -137,6 +135,16 @@ def dependencies(upgrade: bool, all_: bool, exclude: tuple[str, ...]):
|
|
|
137
135
|
bold=True,
|
|
138
136
|
)
|
|
139
137
|
)
|
|
138
|
+
result = subprocess.run(["ap", "pre-commit", "autoupdate"], check=False)
|
|
139
|
+
if result.returncode == 0:
|
|
140
|
+
click.echo("All pre-commit hooks updated successfully.")
|
|
141
|
+
else:
|
|
142
|
+
click.echo(
|
|
143
|
+
click.style(
|
|
144
|
+
"Skipped pre-commit autoupdate (no config or command failed).",
|
|
145
|
+
fg="yellow",
|
|
146
|
+
)
|
|
147
|
+
)
|
|
140
148
|
|
|
141
149
|
|
|
142
150
|
update.add_command(dependencies, name="deps") # alias for "dependencies"
|
|
@@ -39,7 +39,7 @@ jobs:
|
|
|
39
39
|
uses: actions/checkout@v6
|
|
40
40
|
|
|
41
41
|
- name: Install pnpm
|
|
42
|
-
uses: pnpm/action-setup@
|
|
42
|
+
uses: pnpm/action-setup@v6
|
|
43
43
|
with:
|
|
44
44
|
version: 10
|
|
45
45
|
|
|
@@ -72,7 +72,7 @@ jobs:
|
|
|
72
72
|
ap build
|
|
73
73
|
|
|
74
74
|
- name: Upload artifact
|
|
75
|
-
uses: actions/upload-pages-artifact@
|
|
75
|
+
uses: actions/upload-pages-artifact@v5
|
|
76
76
|
with:
|
|
77
77
|
path: './afterpython/_website/build'
|
|
78
78
|
|
|
@@ -86,4 +86,4 @@ jobs:
|
|
|
86
86
|
steps:
|
|
87
87
|
- name: Deploy to GitHub Pages
|
|
88
88
|
id: deployment
|
|
89
|
-
uses: actions/deploy-pages@
|
|
89
|
+
uses: actions/deploy-pages@v5
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: afterpython
|
|
3
|
-
Version: 0.3.
|
|
3
|
+
Version: 0.3.6
|
|
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/cli/commands/remove.py,sha256=Fl79JSI9IdHyzYflocXxcxgBkBPkNFAW98Yuij
|
|
|
35
35
|
afterpython/cli/commands/serve.py,sha256=L0LIhMGByQA_mNTOAGHQTQ8TcBfi5sgmO1_iGI24QgI,822
|
|
36
36
|
afterpython/cli/commands/start.py,sha256=q4rUkIllOO8wJQ9ABtsx-dqkW1yC0vltAtSkiHN_GH4,4002
|
|
37
37
|
afterpython/cli/commands/sync.py,sha256=Av67jsCBxhh1skixihPgNyvZMUsh_j0pQGmG4EoR_A8,6318
|
|
38
|
-
afterpython/cli/commands/update.py,sha256=
|
|
38
|
+
afterpython/cli/commands/update.py,sha256=s84yzIBsG1lQQ61gWkLLP-KzxZ3GIfwosb0Ge2mR7AI,9685
|
|
39
39
|
afterpython/cli/main.py,sha256=-9eQiIrUViSvof-Ic2RHF3AVZharPSQh9sJ7tkhvf6Q,5042
|
|
40
40
|
afterpython/const.py,sha256=B_yUBmHPyu98aOibwt7idWbhKNBBed0TeYXNBd8tPTk,157
|
|
41
41
|
afterpython/main.py,sha256=w0z6mTib3u4p2HxMrk-tIJlZtur7uRaqsbE0ewlYlSs,490
|
|
@@ -44,10 +44,10 @@ afterpython/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
|
44
44
|
afterpython/templates/ci-workflow-template.yml,sha256=B3Rn5Ta1Bot1jKQ8ALBqQI8BDQ8mwIhpIA_umnXJ9oc,7115
|
|
45
45
|
afterpython/templates/cz-template.toml,sha256=2qwbQLb0nbZaA63oWXFFzvzPNBsFZHATL1C2rdNdjjs,185
|
|
46
46
|
afterpython/templates/dependabot-template.yml,sha256=CBQEgh8EsXw2X7IqzGtFI7lVT9liF6PW4DvGLB0X2LY,1136
|
|
47
|
-
afterpython/templates/deploy-workflow-template.yml,sha256=
|
|
47
|
+
afterpython/templates/deploy-workflow-template.yml,sha256=o9blTGoM_KLB3wZUQcfdjxSOz08ldNJDfv1hA7FEbp8,2397
|
|
48
48
|
afterpython/templates/pdoc/frame.html.jinja2,sha256=GX4pNSuYC4Fq9hvZ01WyaBQes4FyNDOx5Ra4MNLr0eg,250
|
|
49
49
|
afterpython/templates/pre-commit-config-template.yaml,sha256=3QkZekg2kK04-Dp8nGc9AsqEdpnh10EcdD6pBhyKpRQ,988
|
|
50
|
-
afterpython/templates/release-workflow-template.yml,sha256
|
|
50
|
+
afterpython/templates/release-workflow-template.yml,sha256=-vJJlbsroq1BGh0vN1tqJzh8uncn7_73OYn_GTVswCY,1606
|
|
51
51
|
afterpython/templates/ruff-template.toml,sha256=lNCd4EthoLScr4cyVEgGUH4xK5CfIX3f9I3zkJHAYgg,1008
|
|
52
52
|
afterpython/tools/_afterpython.py,sha256=a82taUWoY8yXmzE1m25zV0-vwmyglp5X7G2Erjz3oLw,4345
|
|
53
53
|
afterpython/tools/_git.py,sha256=aO-qDEQ4OevD_B74DYKK4nQKYeiaS1BXmYc8paJRfbQ,3772
|
|
@@ -59,7 +59,7 @@ afterpython/tools/pre_commit.py,sha256=oNsrUkPI13rSSBSyhyTTKPnQGhDxLIPYhxu6kL0fD
|
|
|
59
59
|
afterpython/tools/pyproject.py,sha256=hz-DOf-pkGBF2m_RqEZipAaO-NDbsLxrrc65LWAIwLA,3698
|
|
60
60
|
afterpython/utils.py,sha256=fVa3jIzCvhn7QA7N0M6d_pvojpPFrN-hae8trUYhPKU,11701
|
|
61
61
|
afterpython/version.py,sha256=hihRV1S-gc1m46OaXD32ikkEkqzs-Gtq7AcAqOQV-wY,1603
|
|
62
|
-
afterpython-0.3.
|
|
63
|
-
afterpython-0.3.
|
|
64
|
-
afterpython-0.3.
|
|
65
|
-
afterpython-0.3.
|
|
62
|
+
afterpython-0.3.6.dist-info/WHEEL,sha256=fWriCkzqm-pffF5af4gJC9iI5FMFaJTuN9UxxxzOmdY,81
|
|
63
|
+
afterpython-0.3.6.dist-info/entry_points.txt,sha256=roa0PDgBueM1JPbRG0G2OSxzaN394OUL_oS9iEwVLBc,80
|
|
64
|
+
afterpython-0.3.6.dist-info/METADATA,sha256=Mm47PAYcWVDUwQzJPQBkkuLb7kiok_1cfiq3F70G0fo,6180
|
|
65
|
+
afterpython-0.3.6.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|