Skip to content

Commit f8f485a

Browse files
fix: apply black formatting to 3 unformatted files
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent e784cf4 commit f8f485a

3 files changed

Lines changed: 12 additions & 14 deletions

File tree

cli/bitbucket_identity.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,14 +30,14 @@ def load_bitbucket_identity_mapping() -> Dict[str, str]:
3030
team_lead_path = Path.home() / "Documents/Dev/team_lead/config/identity_mapping.yaml"
3131
if team_lead_path.exists():
3232
try:
33-
with open(team_lead_path, 'r') as f:
33+
with open(team_lead_path, "r") as f:
3434
data = yaml.safe_load(f)
3535

3636
# Build reverse mapping from display_name -> bitbucket username
37-
identities = data.get('identities', {})
37+
identities = data.get("identities", {})
3838
for person_id, person_data in identities.items():
39-
display_name = person_data.get('display_name', '')
40-
bb_username = person_data.get('platforms', {}).get('bitbucket', '')
39+
display_name = person_data.get("display_name", "")
40+
bb_username = person_data.get("platforms", {}).get("bitbucket", "")
4141
if display_name and bb_username:
4242
mapping[display_name] = bb_username
4343
except Exception:

cli/team_config.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -163,9 +163,7 @@ def get_team_for_developer(developer: str, mapping: Optional[Dict[str, str]] = N
163163
return mapping.get(developer.strip(), "")
164164

165165

166-
def load_platform_team_mapping(
167-
platform: str, cwd: Optional[Path] = None
168-
) -> Dict[str, str]:
166+
def load_platform_team_mapping(platform: str, cwd: Optional[Path] = None) -> Dict[str, str]:
169167
"""
170168
Load team mapping for a specific platform.
171169

tests/test_chart_march_2026.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -51,9 +51,9 @@ def test_orhss_march_2026_in_developer_velocity():
5151
orhss_data = orhss_series["data"]
5252
orhss_pr_counts = orhss_series["prCounts"]
5353

54-
print("\n" + "="*80)
54+
print("\n" + "=" * 80)
5555
print("orhss Developer Velocity data:")
56-
print("="*80)
56+
print("=" * 80)
5757

5858
march_data_found = False
5959
feb_data_found = False
@@ -70,7 +70,7 @@ def test_orhss_march_2026_in_developer_velocity():
7070
print()
7171
print(f"February data found: {feb_data_found}")
7272
print(f"March data found: {march_data_found}")
73-
print("="*80)
73+
print("=" * 80)
7474

7575
# Assertions
7676
assert feb_data_found, "orhss should have PRs in February 2026"
@@ -81,12 +81,12 @@ def test_orhss_march_2026_in_developer_velocity():
8181
assert len(march_weeks) > 0, "No March 2026 weeks in x-axis"
8282

8383
march_complexity = sum(
84-
orhss_data[i]
85-
for i, date in enumerate(x_dates)
86-
if date.startswith("2026-03")
84+
orhss_data[i] for i, date in enumerate(x_dates) if date.startswith("2026-03")
8785
)
8886

89-
assert march_complexity > 0, f"orhss March 2026 total complexity should be > 0, got {march_complexity}"
87+
assert (
88+
march_complexity > 0
89+
), f"orhss March 2026 total complexity should be > 0, got {march_complexity}"
9090
print(f"\n✓ orhss March 2026 total complexity: {march_complexity}")
9191

9292

0 commit comments

Comments
 (0)