Skip to content

Commit bb924b1

Browse files
djfrancescoclaude
andcommitted
Fix GitHub Actions workflow issues
- Add black configuration to exclude old/ and notebooks/ directories - Update workflow to trigger on pushes to release branch (fixes badge) - This resolves formatting failures in CI 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent d4c06d9 commit bb924b1

2 files changed

Lines changed: 11 additions & 0 deletions

File tree

.github/workflows/tests.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
name: Run tests and upload coverage
22

33
on:
4+
push:
5+
branches:
6+
- release
47
release:
58
types: [created]
69

pyproject.toml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,14 @@ testpaths = [
6868
"tests"
6969
]
7070

71+
[tool.black]
72+
extend-exclude = '''
73+
/(
74+
old
75+
| notebooks
76+
)/
77+
'''
78+
7179
[tool.cibuildwheel]
7280
# Skip 32-bit i686 architectures (outdated, rarely needed)
7381
skip = "*_i686"

0 commit comments

Comments
 (0)