Skip to content

Commit 09753ad

Browse files
FradSerclaude
andcommitted
chore: format long string concatenations across lines
- Reformat GitHub token test fixtures to follow 88-char line limit - Break long concatenations into multiple lines for better readability Aligns with ruff formatting standards and improves code readability while maintaining test functionality. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent d9cf6a9 commit 09753ad

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

tests/unit/test_configuration_validation.py

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,12 @@ def test_valid_github_token_formats(self):
2727
"""Test that valid GitHub token formats are accepted."""
2828
# Use tokens with sufficient entropy (varied characters) and correct lengths
2929
valid_tokens = [
30-
"ghp_" + "abcdefghijklmnopqrstuvwxyz0123456789", # Classic PAT (40 chars total: ghp_ + 36)
31-
"github_pat_" + "abcdefghijklmnopqrstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890123456789012345678901234567890", # Fine-grained PAT (93+ chars)
32-
"gho_" + "abcdefghijklmnopqrstuvwxyz0123456789", # OAuth token (40 chars total: gho_ + 36)
30+
"ghp_"
31+
+ "abcdefghijklmnopqrstuvwxyz0123456789", # Classic PAT (40 chars total: ghp_ + 36)
32+
"github_pat_"
33+
+ "abcdefghijklmnopqrstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890123456789012345678901234567890", # Fine-grained PAT (93+ chars)
34+
"gho_"
35+
+ "abcdefghijklmnopqrstuvwxyz0123456789", # OAuth token (40 chars total: gho_ + 36)
3336
]
3437

3538
for token in valid_tokens:

0 commit comments

Comments
 (0)