github-rest-api 0.52.0__tar.gz → 0.53.0__tar.gz
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.
- {github_rest_api-0.52.0 → github_rest_api-0.53.0}/PKG-INFO +1 -1
- {github_rest_api-0.52.0 → github_rest_api-0.53.0}/github_rest_api/scripts/lint_repo.py +2 -2
- {github_rest_api-0.52.0 → github_rest_api-0.53.0}/pyproject.toml +1 -1
- {github_rest_api-0.52.0 → github_rest_api-0.53.0}/tests/test_lint_repo.py +19 -5
- {github_rest_api-0.52.0 → github_rest_api-0.53.0}/uv.lock +1 -1
- {github_rest_api-0.52.0 → github_rest_api-0.53.0}/.devcontainer/devcontainer.json +0 -0
- {github_rest_api-0.52.0 → github_rest_api-0.53.0}/.github/workflows/check-workflow-template.yaml +0 -0
- {github_rest_api-0.52.0 → github_rest_api-0.53.0}/.github/workflows/claude.yaml +0 -0
- {github_rest_api-0.52.0 → github_rest_api-0.53.0}/.github/workflows/create-pr-dev-to-main.yaml +0 -0
- {github_rest_api-0.52.0 → github_rest_api-0.53.0}/.github/workflows/create-pr-to-dev.yaml +0 -0
- {github_rest_api-0.52.0 → github_rest_api-0.53.0}/.github/workflows/create-pr-to-main.yaml +0 -0
- {github_rest_api-0.52.0 → github_rest_api-0.53.0}/.github/workflows/merge-pr.yaml +0 -0
- {github_rest_api-0.52.0 → github_rest_api-0.53.0}/.github/workflows/pr-workflow.yaml +0 -0
- {github_rest_api-0.52.0 → github_rest_api-0.53.0}/.github/workflows/release.yaml +0 -0
- {github_rest_api-0.52.0 → github_rest_api-0.53.0}/.github/workflows/remove-branch.yaml +0 -0
- {github_rest_api-0.52.0 → github_rest_api-0.53.0}/.gitignore +0 -0
- {github_rest_api-0.52.0 → github_rest_api-0.53.0}/AGENTS.md +0 -0
- {github_rest_api-0.52.0 → github_rest_api-0.53.0}/CLAUDE.md +0 -0
- {github_rest_api-0.52.0 → github_rest_api-0.53.0}/README.md +0 -0
- {github_rest_api-0.52.0 → github_rest_api-0.53.0}/github_rest_api/__init__.py +0 -0
- {github_rest_api-0.52.0 → github_rest_api-0.53.0}/github_rest_api/github.py +0 -0
- {github_rest_api-0.52.0 → github_rest_api-0.53.0}/github_rest_api/pr_content.py +0 -0
- {github_rest_api-0.52.0 → github_rest_api-0.53.0}/github_rest_api/scripts/__init__.py +0 -0
- {github_rest_api-0.52.0 → github_rest_api-0.53.0}/github_rest_api/scripts/cargo/__init__.py +0 -0
- {github_rest_api-0.52.0 → github_rest_api-0.53.0}/github_rest_api/scripts/cargo/benchmark.py +0 -0
- {github_rest_api-0.52.0 → github_rest_api-0.53.0}/github_rest_api/scripts/cargo/profiling.py +0 -0
- {github_rest_api-0.52.0 → github_rest_api-0.53.0}/github_rest_api/scripts/cargo/utils.py +0 -0
- {github_rest_api-0.52.0 → github_rest_api-0.53.0}/github_rest_api/scripts/container/__init__.py +0 -0
- {github_rest_api-0.52.0 → github_rest_api-0.53.0}/github_rest_api/scripts/container/build_container_images.py +0 -0
- {github_rest_api-0.52.0 → github_rest_api-0.53.0}/github_rest_api/scripts/container/config_container.py +0 -0
- {github_rest_api-0.52.0 → github_rest_api-0.53.0}/github_rest_api/scripts/container/update_version_containerfile.py +0 -0
- {github_rest_api-0.52.0 → github_rest_api-0.53.0}/github_rest_api/scripts/github/__init__.py +0 -0
- {github_rest_api-0.52.0 → github_rest_api-0.53.0}/github_rest_api/scripts/github/auto_merge_pull_request.py +0 -0
- {github_rest_api-0.52.0 → github_rest_api-0.53.0}/github_rest_api/scripts/github/create_github_repo.py +0 -0
- {github_rest_api-0.52.0 → github_rest_api-0.53.0}/github_rest_api/scripts/github/create_pull_request.py +0 -0
- {github_rest_api-0.52.0 → github_rest_api-0.53.0}/github_rest_api/scripts/github/release_on_github.py +0 -0
- {github_rest_api-0.52.0 → github_rest_api-0.53.0}/github_rest_api/scripts/github/remove_branch.py +0 -0
- {github_rest_api-0.52.0 → github_rest_api-0.53.0}/github_rest_api/scripts/github/upload_image_to_issue.py +0 -0
- {github_rest_api-0.52.0 → github_rest_api-0.53.0}/github_rest_api/scripts/utils.py +0 -0
- {github_rest_api-0.52.0 → github_rest_api-0.53.0}/github_rest_api/utils.py +0 -0
- {github_rest_api-0.52.0 → github_rest_api-0.53.0}/memory/MEMORY.md +0 -0
- {github_rest_api-0.52.0 → github_rest_api-0.53.0}/memory/feedback_test_runner.md +0 -0
- {github_rest_api-0.52.0 → github_rest_api-0.53.0}/tests/__init__.py +0 -0
- {github_rest_api-0.52.0 → github_rest_api-0.53.0}/tests/test_auto_merge_pull_request.py +0 -0
- {github_rest_api-0.52.0 → github_rest_api-0.53.0}/tests/test_build_container_images.py +0 -0
- {github_rest_api-0.52.0 → github_rest_api-0.53.0}/tests/test_create_github_repo.py +0 -0
- {github_rest_api-0.52.0 → github_rest_api-0.53.0}/tests/test_create_pull_request.py +0 -0
- {github_rest_api-0.52.0 → github_rest_api-0.53.0}/tests/test_github.py +0 -0
- {github_rest_api-0.52.0 → github_rest_api-0.53.0}/tests/test_pr_content.py +0 -0
- {github_rest_api-0.52.0 → github_rest_api-0.53.0}/tests/test_release_on_github.py +0 -0
- {github_rest_api-0.52.0 → github_rest_api-0.53.0}/tests/test_upload_image_to_issue.py +0 -0
- {github_rest_api-0.52.0 → github_rest_api-0.53.0}/tests/test_utils.py +0 -0
|
@@ -363,7 +363,7 @@ def build_markdown_checks(files: Sequence[str], fix: bool = False) -> list[Check
|
|
|
363
363
|
md_files = _files_matching(files, "*.md")
|
|
364
364
|
if not md_files:
|
|
365
365
|
return []
|
|
366
|
-
skill_files = [f for f in md_files if Path(f).name
|
|
366
|
+
skill_files = [f for f in md_files if Path(f).name in ("SKILL.md", "AGENTS.md")]
|
|
367
367
|
other_files = [f for f in md_files if f not in skill_files]
|
|
368
368
|
checks = []
|
|
369
369
|
if other_files:
|
|
@@ -380,7 +380,7 @@ def build_markdown_checks(files: Sequence[str], fix: bool = False) -> list[Check
|
|
|
380
380
|
if skill_files:
|
|
381
381
|
checks.append(
|
|
382
382
|
Check(
|
|
383
|
-
"markdown: mdformat (SKILL.md)",
|
|
383
|
+
"markdown: mdformat (SKILL.md/AGENTS.md)",
|
|
384
384
|
command=_cmd(
|
|
385
385
|
fix,
|
|
386
386
|
["mdformat", "--number", *skill_files],
|
|
@@ -174,18 +174,21 @@ def test_build_rust_scripts_checks_includes_all_files():
|
|
|
174
174
|
def test_build_markdown_checks_splits_skill_md(tmp_path):
|
|
175
175
|
(tmp_path / "docs").mkdir()
|
|
176
176
|
(tmp_path / "docs" / "SKILL.md").write_text("")
|
|
177
|
+
(tmp_path / "AGENTS.md").write_text("")
|
|
177
178
|
(tmp_path / "README.md").write_text("")
|
|
178
|
-
checks = build_markdown_checks(["README.md", "docs/SKILL.md"])
|
|
179
|
+
checks = build_markdown_checks(["README.md", "AGENTS.md", "docs/SKILL.md"])
|
|
179
180
|
by_name = {c.name: c for c in checks}
|
|
180
181
|
assert by_name["markdown: mdformat"].command == ["mdformat", "--check", "README.md"]
|
|
181
|
-
assert by_name["markdown: mdformat (SKILL.md)"].command == [
|
|
182
|
+
assert by_name["markdown: mdformat (SKILL.md/AGENTS.md)"].command == [
|
|
182
183
|
"mdformat",
|
|
183
184
|
"--check",
|
|
184
185
|
"--number",
|
|
186
|
+
"AGENTS.md",
|
|
185
187
|
"docs/SKILL.md",
|
|
186
188
|
]
|
|
187
189
|
assert by_name["markdown: codespell"].command == [
|
|
188
190
|
"codespell",
|
|
191
|
+
"AGENTS.md",
|
|
189
192
|
"README.md",
|
|
190
193
|
"docs/SKILL.md",
|
|
191
194
|
]
|
|
@@ -531,24 +534,35 @@ def test_build_lua_checks_fix_mode():
|
|
|
531
534
|
def test_build_markdown_checks_fix_mode(tmp_path):
|
|
532
535
|
(tmp_path / "docs").mkdir()
|
|
533
536
|
(tmp_path / "docs" / "SKILL.md").write_text("")
|
|
537
|
+
(tmp_path / "AGENTS.md").write_text("")
|
|
534
538
|
(tmp_path / "README.md").write_text("")
|
|
535
|
-
checks = build_markdown_checks(
|
|
539
|
+
checks = build_markdown_checks(
|
|
540
|
+
["README.md", "AGENTS.md", "docs/SKILL.md"], fix=True
|
|
541
|
+
)
|
|
536
542
|
by_name = {c.name: c.command for c in checks}
|
|
537
543
|
assert by_name["markdown: mdformat"] == ["mdformat", "README.md"]
|
|
538
|
-
assert by_name["markdown: mdformat (SKILL.md)"] == [
|
|
544
|
+
assert by_name["markdown: mdformat (SKILL.md/AGENTS.md)"] == [
|
|
539
545
|
"mdformat",
|
|
540
546
|
"--number",
|
|
547
|
+
"AGENTS.md",
|
|
541
548
|
"docs/SKILL.md",
|
|
542
549
|
]
|
|
543
550
|
assert by_name["markdown: codespell"] == [
|
|
544
551
|
"codespell",
|
|
545
552
|
"-w",
|
|
553
|
+
"AGENTS.md",
|
|
546
554
|
"README.md",
|
|
547
555
|
"docs/SKILL.md",
|
|
548
556
|
]
|
|
549
557
|
# lychee has no autofix and stays non-fatal: unchanged.
|
|
550
558
|
lychee = next(c for c in checks if c.name == "markdown: lychee")
|
|
551
|
-
assert lychee.command == [
|
|
559
|
+
assert lychee.command == [
|
|
560
|
+
"lychee",
|
|
561
|
+
"--no-progress",
|
|
562
|
+
"AGENTS.md",
|
|
563
|
+
"README.md",
|
|
564
|
+
"docs/SKILL.md",
|
|
565
|
+
]
|
|
552
566
|
assert lychee.fatal is False
|
|
553
567
|
|
|
554
568
|
|
|
File without changes
|
{github_rest_api-0.52.0 → github_rest_api-0.53.0}/.github/workflows/check-workflow-template.yaml
RENAMED
|
File without changes
|
|
File without changes
|
{github_rest_api-0.52.0 → github_rest_api-0.53.0}/.github/workflows/create-pr-dev-to-main.yaml
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{github_rest_api-0.52.0 → github_rest_api-0.53.0}/github_rest_api/scripts/cargo/benchmark.py
RENAMED
|
File without changes
|
{github_rest_api-0.52.0 → github_rest_api-0.53.0}/github_rest_api/scripts/cargo/profiling.py
RENAMED
|
File without changes
|
|
File without changes
|
{github_rest_api-0.52.0 → github_rest_api-0.53.0}/github_rest_api/scripts/container/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{github_rest_api-0.52.0 → github_rest_api-0.53.0}/github_rest_api/scripts/github/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{github_rest_api-0.52.0 → github_rest_api-0.53.0}/github_rest_api/scripts/github/remove_branch.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|