thermondo / pytest-translations

test translation files with pytest
Other
17 stars 3 forks source link

Fix invalid syntax deprecation warning in regex #52

Closed amureki closed 3 years ago

amureki commented 3 years ago

Solves

pytest_translations/po_spelling.py:82
  pytest-translations/pytest_translations/po_spelling.py:82: DeprecationWarning: invalid escape sequence '\%'
    text = re.sub('\%\(.*?\)', '', text)
codecov[bot] commented 3 years ago

Codecov Report

Merging #52 (bfb8322) into master (8d7661f) will not change coverage. The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master      #52   +/-   ##
=======================================
  Coverage   94.14%   94.14%           
=======================================
  Files           6        6           
  Lines         188      188           
=======================================
  Hits          177      177           
  Misses         11       11           
Impacted Files Coverage Δ
pytest_translations/po_spelling.py 89.47% <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 8d7661f...bfb8322. Read the comment docs.