Skip to content

Commit ce685b3

Browse files
deploy: 334bb31
1 parent 1814b4b commit ce685b3

15 files changed

+2733
-1640
lines changed

adabot/adabot/circuitpython_bundle.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ def check_lib_links_md(bundle_path):
181181
docs_name = ""
182182
docs_link = common_funcs.get_docs_link(bundle_path, submodule)
183183
if docs_link:
184-
docs_name = f" \([Docs]({docs_link}))" # pylint: disable=anomalous-backslash-in-string
184+
docs_name = f" ([Docs]({docs_link}))"
185185
title = url_name.replace("_", " ")
186186
list_line = "* [{0}]({1}){2}{3}".format(title, url, pypi_name, docs_name)
187187
if list_line not in read_lines:

adabot/adabot/update_cp_org_libraries.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,7 @@ def get_open_issues_and_prs(repo):
8686
"title": issue_title,
8787
"url": issue["html_url"],
8888
"labels": issue_labels,
89+
"days_open": days_open.days,
8990
}
9091

9192
open_issues.append(issue_dict)
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
From 7b9aaa02672ca56c724a3892f95060d0125ceb39 Mon Sep 17 00:00:00 2001
2+
From: Alec Delaney <tekktrik@gmail.com>
3+
Date: Thu, 26 Mar 2026 23:01:11 -0400
4+
Subject: [PATCH] Update license specification
5+
6+
---
7+
pyproject.toml | 3 +--
8+
1 file changed, 1 insertion(+), 2 deletions(-)
9+
10+
diff --git a/pyproject.toml b/pyproject.toml
11+
index e8fa364..02c2b00 100644
12+
--- a/pyproject.toml
13+
+++ b/pyproject.toml
14+
@@ -34,3 +34,3 @@ keywords = [
15+
]
16+
-license = {text = "MIT"}
17+
+license = "MIT"
18+
classifiers = [
19+
@@ -40,3 +40,2 @@ classifiers = [
20+
"Topic :: System :: Hardware",
21+
- "License :: OSI Approved :: MIT License",
22+
"Programming Language :: Python :: 3",
23+
--
24+
2.53.0
25+
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
From eb8b2e4e9b5949d97c664df3278f7782adc348c3 Mon Sep 17 00:00:00 2001
2+
From: Alec Delaney <tekktrik@gmail.com>
3+
Date: Thu, 26 Mar 2026 22:56:35 -0400
4+
Subject: [PATCH] Update pre-commit hooks (except ruff)
5+
6+
---
7+
.pre-commit-config.yaml | 4 ++--
8+
1 file changed, 2 insertions(+), 2 deletions(-)
9+
10+
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
11+
index ff19dde..59304f3 100644
12+
--- a/.pre-commit-config.yaml
13+
+++ b/.pre-commit-config.yaml
14+
@@ -4,7 +4,7 @@
15+
16+
repos:
17+
- repo: https://github.com/pre-commit/pre-commit-hooks
18+
- rev: v4.5.0
19+
+ rev: v6.0.0
20+
hooks:
21+
- id: check-yaml
22+
- id: end-of-file-fixer
23+
@@ -16,6 +16,6 @@ repos:
24+
- id: ruff
25+
args: ["--fix"]
26+
- repo: https://github.com/fsfe/reuse-tool
27+
- rev: v3.0.1
28+
+ rev: v6.2.0
29+
hooks:
30+
- id: reuse
31+
--
32+
2.53.0
33+
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
From 7c63930a14ffd4c7e054dd831063326b15f82140 Mon Sep 17 00:00:00 2001
2+
From: Alec Delaney <tekktrik@gmail.com>
3+
Date: Thu, 26 Mar 2026 22:58:12 -0400
4+
Subject: [PATCH] Update ruff pre-commit hook
5+
6+
---
7+
.pre-commit-config.yaml | 2 +-
8+
1 file changed, 1 insertion(+), 1 deletion(-)
9+
10+
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
11+
index 59304f3..0ec3052 100644
12+
--- a/.pre-commit-config.yaml
13+
+++ b/.pre-commit-config.yaml
14+
@@ -9,9 +9,9 @@ repos:
15+
- id: check-yaml
16+
- id: end-of-file-fixer
17+
- id: trailing-whitespace
18+
- repo: https://github.com/astral-sh/ruff-pre-commit
19+
- rev: v0.3.4
20+
+ rev: v0.15.8
21+
hooks:
22+
- id: ruff-format
23+
- id: ruff
24+
args: ["--fix"]
25+
--
26+
2.53.0
27+

adabot/tools/docs_status.py

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,12 @@ def check_docs_status(
6060
search_results: parse.Result = parse.search(
6161
"https://readthedocs.org/projects/{slug:S}/badge", readme_text
6262
)
63-
rtd_slug: str = search_results.named["slug"]
63+
try:
64+
rtd_slug: str = search_results.named["slug"]
65+
except KeyError:
66+
print("Possibly missing documentation badge")
67+
return None
68+
6469
rtd_slug = rtd_slug.replace("_", "-", -1)
6570

6671
# GET the latest documentation build runs
@@ -75,7 +80,11 @@ def check_docs_status(
7580
)
7681
if doc_build_results is None:
7782
return None
78-
result = doc_build_results[0].get("success")
83+
try:
84+
result = doc_build_results[0].get("success")
85+
except (IndexError, AttributeError):
86+
print("Could not get success status")
87+
return None
7988
if debug and not result:
8089
print(f"RTD build failed or unavailable for {lib_repo.name}")
8190
time.sleep(3)

0 commit comments

Comments
 (0)