pyapp-kit / superqt

Missing widgets and components for Qt-python
https://pyapp-kit.github.io/superqt/
BSD 3-Clause "New" or "Revised" License
215 stars 38 forks source link

Add code syntax highlight utils #88

Closed Czaki closed 2 years ago

Czaki commented 2 years ago

This PR adds code syntax highlight first introduced in https://github.com/napari/napari/pull/4414 Zrzut ekranu z 2022-05-10 19-13-19

codecov[bot] commented 2 years ago

Codecov Report

Merging #88 (1619ed9) into main (cc25733) will increase coverage by 0.28%. The diff coverage is 98.00%.

@@            Coverage Diff             @@
##             main      #88      +/-   ##
==========================================
+ Coverage   84.58%   84.86%   +0.28%     
==========================================
  Files          29       30       +1     
  Lines        2329     2379      +50     
==========================================
+ Hits         1970     2019      +49     
- Misses        359      360       +1     
Impacted Files Coverage Δ
src/superqt/utils/_code_syntax_highlight.py 97.95% <97.95%> (ø)
src/superqt/utils/__init__.py 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update cc25733...1619ed9. Read the comment docs.

tlambert03 commented 2 years ago

thanks!