melexis / sphinx-coverity-extension

Sphinx plugin to generate Coverity defects report or table in reStructuredText documentation. Coverity report is then personally styled while data integrity is guaranteed.
GNU General Public License v3.0
5 stars 2 forks source link

Allow empty string for TRACEABILITY_ITEM_ID_REGEX to disable feature #53

Closed JasperCraeghs closed 4 years ago

JasperCraeghs commented 5 years ago

Interpreting empty string for TRACEABILITY_ITEM_ID_REGEX as an intent to disable the generation of links rather than raising the following exception:

Exception occurred:
  File "/usr/local/lib/python3.5/dist-packages/mlx/coverity_item_element.py", line 148, in link_to_item_ids
    text_before = remaining_text.split(item)[0]
ValueError: empty separator
codecov-io commented 5 years ago

Codecov Report

Merging #53 into master will not change coverage. The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master      #53   +/-   ##
=======================================
  Coverage   20.51%   20.51%           
=======================================
  Files           1        1           
  Lines          78       78           
=======================================
  Hits           16       16           
  Misses         62       62

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 fba1066...8a69ab2. Read the comment docs.