Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 0 additions & 11 deletions init/generate_logo.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,17 +61,6 @@ def remove_greenscreen(img: Image.Image, tolerance: int = 60) -> Image.Image:
return Image.fromarray(data)


def reduce_color_variance(img: Image.Image, colors: int = 8) -> Image.Image:
"""Reduce color variance by quantizing to a limited palette."""
if img.mode != "RGBA":
img = img.convert("RGBA")

# Quantize to reduce color variance
# This will unify similar colors
quantized = img.quantize(colors=colors, method=2)
return quantized.convert("RGBA")


def invert_colors(img: Image.Image) -> Image.Image:
"""Invert colors while preserving alpha channel."""
if img.mode != "RGBA":
Expand Down
2 changes: 1 addition & 1 deletion src/utils/logging_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ def scrub_sensitive_data(record):
# Scrub exception if present
exception = record.get("exception")
if exception:
type_, value, tb = exception
_, value, _ = exception
value_str = str(value)
scrubbed_value_str = _SCRUBBER.scrub(value_str)

Expand Down
3 changes: 3 additions & 0 deletions test_pydantic_settings.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
from common.global_config import global_config

print("It works!")
Comment on lines +1 to +3
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Stray debug file accidentally committed

This file appears to be a leftover debug/scratch script rather than a real test. It contains no assertions, uses no test framework (e.g. pytest), and simply prints "It works!". The PR description makes no mention of adding this file, and it is inconsistent with the cleanup theme of this PR.

It should be removed before merging — committing it to main pollutes the repo root with a non-functional test artifact.

Suggested change
from common.global_config import global_config
print("It works!")

(Delete this file entirely.)

Prompt To Fix With AI
This is a comment left during a code review.
Path: test_pydantic_settings.py
Line: 1-3

Comment:
**Stray debug file accidentally committed**

This file appears to be a leftover debug/scratch script rather than a real test. It contains no assertions, uses no test framework (e.g. `pytest`), and simply prints `"It works!"`. The PR description makes no mention of adding this file, and it is inconsistent with the cleanup theme of this PR.

It should be removed before merging — committing it to `main` pollutes the repo root with a non-functional test artifact.

```suggestion
```
(Delete this file entirely.)

How can I resolve this? If you propose a fix, please make it concise.

Loading