From 075849719becd5e1da3dbf3c5a7e1aeeada0df15 Mon Sep 17 00:00:00 2001 From: Michael Kennedy Date: Sat, 7 Feb 2026 15:17:55 -0800 Subject: [PATCH 1/5] hmm, cached? --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 9047177..697ca1f 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # Talk Python CLI -[![PyPI version](https://badge.fury.io/py/talk-python-cli.svg)](https://pypi.org/project/talk-python-cli/) +[![PyPI version](https://badge.fury.io/py/talk-python-cli.svg?v=0.2.0plus)](https://pypi.org/project/talk-python-cli/) [![Python 3.12+](https://img.shields.io/badge/python-3.12%2B-blue.svg)](https://www.python.org/downloads/) [![License: MIT](https://img.shields.io/badge/license-MIT-green.svg)](https://opensource.org/licenses/MIT) From 5b6d963e04b059f622817fac4adcc0ef6975fc0e Mon Sep 17 00:00:00 2001 From: Michael Kennedy Date: Sat, 7 Feb 2026 15:29:59 -0800 Subject: [PATCH 2/5] update badge --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 697ca1f..9047177 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # Talk Python CLI -[![PyPI version](https://badge.fury.io/py/talk-python-cli.svg?v=0.2.0plus)](https://pypi.org/project/talk-python-cli/) +[![PyPI version](https://badge.fury.io/py/talk-python-cli.svg)](https://pypi.org/project/talk-python-cli/) [![Python 3.12+](https://img.shields.io/badge/python-3.12%2B-blue.svg)](https://www.python.org/downloads/) [![License: MIT](https://img.shields.io/badge/license-MIT-green.svg)](https://opensource.org/licenses/MIT) From b2b91fc457ef1570d5227c9f36f505768f495d71 Mon Sep 17 00:00:00 2001 From: Hugh Brown Date: Sat, 7 Feb 2026 17:37:46 -0700 Subject: [PATCH 3/5] Typo in except statement --- src/talk_python_cli/formatting.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/talk_python_cli/formatting.py b/src/talk_python_cli/formatting.py index f6257f0..d0712dd 100644 --- a/src/talk_python_cli/formatting.py +++ b/src/talk_python_cli/formatting.py @@ -68,7 +68,7 @@ def display_json(content: str) -> None: """Output JSON content — pretty-printed if on a TTY, raw otherwise.""" try: data = json.loads(content) - except json.JSONDecodeError, TypeError: + except (json.JSONDecodeError, TypeError): # Server may have returned Markdown even though JSON was requested; # fall back to printing the raw text. console.print(content) From c785bbec42e5ade953dacf106a330a117baa8c9d Mon Sep 17 00:00:00 2001 From: Hugh Brown Date: Sat, 7 Feb 2026 17:46:04 -0700 Subject: [PATCH 4/5] Add GitHub Actions workflow for ruff syntax checking - Runs on all pushes and pull requests - Checks only modified Python files for efficiency - Validates formatting and syntax with ruff Co-Authored-By: Claude Sonnet 4.5 --- .github/workflows/syntax-check.yml | 46 ++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 .github/workflows/syntax-check.yml diff --git a/.github/workflows/syntax-check.yml b/.github/workflows/syntax-check.yml new file mode 100644 index 0000000..d501ca8 --- /dev/null +++ b/.github/workflows/syntax-check.yml @@ -0,0 +1,46 @@ +name: Python Syntax Check + +on: + push: + branches: ['**'] + pull_request: + branches: ['**'] + +jobs: + syntax-check: + runs-on: ubuntu-latest + + steps: + - name: Checkout code + uses: actions/checkout@v4 + with: + fetch-depth: 0 + + - name: Set up Python + uses: actions/setup-python@v5 + with: + python-version: '3.12' + + - name: Install uv + uses: astral-sh/setup-uv@v4 + + - name: Install ruff + run: uv tool install ruff + + - name: Get changed Python files + id: changed-files + uses: tj-actions/changed-files@v45 + with: + files: | + **/*.py + + - name: Run ruff format check + if: steps.changed-files.outputs.any_changed == 'true' + run: | + echo "Changed files: ${{ steps.changed-files.outputs.all_changed_files }}" + uv tool run ruff format --check ${{ steps.changed-files.outputs.all_changed_files }} + + - name: Run ruff check + if: steps.changed-files.outputs.any_changed == 'true' + run: | + uv tool run ruff check ${{ steps.changed-files.outputs.all_changed_files }} From 5fef2378af8ceb7cd771209cc24e1060235c3152 Mon Sep 17 00:00:00 2001 From: Michael Kennedy Date: Mon, 9 Feb 2026 09:16:06 -0800 Subject: [PATCH 5/5] claude permission updates --- .claude/settings.local.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.claude/settings.local.json b/.claude/settings.local.json index ca81ea6..9365a2c 100644 --- a/.claude/settings.local.json +++ b/.claude/settings.local.json @@ -5,7 +5,8 @@ "Bash(./venv/bin/python -m talk_python_cli.app status:*)", "Bash(./venv/bin/talkpython status:*)", "Bash(./venv/bin/pip install:*)", - "Bash(./venv/bin/talkpython:*)" + "Bash(./venv/bin/talkpython:*)", + "WebFetch(domain:badge.fury.io)" ] } }