Skip to content

Conversation

adamantike
Copy link
Contributor

Description
The emoji library has been removed, in favor of using constants for the few emojis used in the codebase. This reduces memory usage, and avoids calling emojize for Python to discover where to replace emojis in pre-defined strings.

Checklist

  • I've tested the changes locally
  • I've updated relevant comments
  • I've assigned reviewers for this PR
  • I've added unit tests that cover the changes

The `emoji` library has been removed, in favor of using constants for
the few emojis used in the codebase. This reduces memory usage, and
avoids calling `emojize` for Python to discover where to replace emojis
in pre-defined strings.
@adamantike adamantike requested review from gantoine and zurdi15 August 7, 2025 13:14
Copy link

trunk-io bot commented Aug 7, 2025

Running Code Quality on PRs by uploading data to Trunk will soon be removed. You can still run checks on your PRs using trunk-action - see the migration guide for more information.

Copy link

github-actions bot commented Aug 7, 2025

Test Results

548 tests  ±0   547 ✅ ±0   1m 2s ⏱️ +2s
  1 suites ±0     1 💤 ±0 
  1 files   ±0     0 ❌ ±0 

Results for commit 097818d. ± Comparison against base commit ebe271d.

Copy link

github-actions bot commented Aug 7, 2025

☂️ Python Coverage

current status: ✅

Overall Coverage

Lines Covered Coverage Threshold Status
8746 6167 71% 0% 🟢

New Files

File Coverage Status
backend/utils/emoji.py 100% 🟢
TOTAL 100% 🟢

Modified Files

File Coverage Status
backend/endpoints/search.py 30% 🟢
backend/endpoints/sockets/scan.py 23% 🟢
backend/handler/scan_handler.py 66% 🟢
TOTAL 40% 🟢

updated for commit: 097818d by action🐍

Copy link
Member

@gantoine gantoine left a comment

Choose a reason for hiding this comment

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

🍋

@adamantike adamantike merged commit aaba801 into master Aug 7, 2025
9 checks passed
@adamantike adamantike deleted the misc/remove-emoji-dependency branch August 7, 2025 13:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants