parroty / excoveralls

Coverage report tool for Elixir with coveralls.io integration.
MIT License
820 stars 178 forks source link

Ignore single next line #301

Closed RKushnir closed 1 year ago

RKushnir commented 1 year ago

Allows to ignore the coverage for the following line of code, by putting a new type of comment # coveralls-ignore-next-line.

Ignoring a single line is a common use case, which currently can be done by wrapping the code between the "start" and "stop" comments. If we can achieve the same with just one comment, this produces less visual noise and leaves more space for the useful code.

Resolves #219

coveralls commented 1 year ago

Coverage Status

Coverage: 88.082% (+0.3%) from 87.828% when pulling 8c9b42b62569c977e731d466963b70ab34d4cb8c on RKushnir:ignore-single-next-line into 6890fdc60bdeef3f718bac7c53f3a4ba4b3523fe on parroty:master.

coveralls commented 1 year ago

Coverage Status

Coverage: 87.896% (+0.07%) from 87.828% when pulling 8c9b42b62569c977e731d466963b70ab34d4cb8c on RKushnir:ignore-single-next-line into 6890fdc60bdeef3f718bac7c53f3a4ba4b3523fe on parroty:master.

parroty commented 1 year ago

Thanks!

RKushnir commented 1 year ago

Wow, thanks for accepting it! 🎉

kianmeng commented 11 months ago

@RKushnir Thanks for this PR, appreciate it!