Skip to content

Expose can_colorize as public API#114

Merged
hugovk merged 1 commit intotermcolor:mainfrom
hugovk:can_colorize
May 26, 2025
Merged

Expose can_colorize as public API#114
hugovk merged 1 commit intotermcolor:mainfrom
hugovk:can_colorize

Conversation

@hugovk
Copy link
Copy Markdown
Member

@hugovk hugovk commented May 21, 2025

Fixes #113.

@hugovk hugovk added the enhancement New feature or request label May 21, 2025
@codecov
Copy link
Copy Markdown

codecov bot commented May 21, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 100.00%. Comparing base (1e0ae11) to head (8e1621b).
Report is 2 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff            @@
##              main      #114   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            3         3           
  Lines          180       180           
  Branches        22        22           
=========================================
  Hits           180       180           
Flag Coverage Δ
macos-latest 100.00% <100.00%> (ø)
ubuntu-latest 100.00% <100.00%> (ø)
windows-latest 100.00% <100.00%> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@hugovk hugovk added the changelog: Added For new features label May 21, 2025
bwoodsend added a commit to bwoodsend/polycotylus that referenced this pull request May 21, 2025
As of termcolor/termcolor#107, mid-process changes to
FORCE_COLOR/NO_COLOR are no longer respected without poking into the
guts to clear a private LRU cache. A public reset is in progress
(termcolor/termcolor#114).
@hugovk hugovk merged commit d12da35 into termcolor:main May 26, 2025
37 of 39 checks passed
@hugovk hugovk deleted the can_colorize branch May 26, 2025 14:43
@hugovk
Copy link
Copy Markdown
Member Author

hugovk commented Oct 26, 2025

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

changelog: Added For new features enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Some public way to reset the _can_do_colour() cache?

1 participant