dalibo / pgtoolkit

Postgres Support from Python
https://pgtoolkit.rtfd.io/
PostgreSQL License
21 stars 9 forks source link

Strip leading '#' from comment in configuration value #58

Closed dlax closed 3 years ago

dlax commented 3 years ago

Since we re-insert the '#' in Entry.str(), we need to strip it when parsing the raw line.

codecov-io commented 3 years ago

Codecov Report

Merging #58 (607486a) into master (3b24396) will increase coverage by 0.00%. The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master      #58   +/-   ##
=======================================
  Coverage   99.42%   99.42%           
=======================================
  Files           9        9           
  Lines         868      871    +3     
=======================================
+ Hits          863      866    +3     
  Misses          5        5           
Flag Coverage Δ
py36 99.42% <100.00%> (+<0.01%) :arrow_up:

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

Impacted Files Coverage Δ
pgtoolkit/conf.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 3b24396...607486a. Read the comment docs.