repobee / repobee-sanitizer

A plugin for sanitizing master repositories before distribution to students
MIT License
2 stars 3 forks source link

[fact] Use contained_marker throughout project #83

Closed slarse closed 4 years ago

slarse commented 4 years ago

Fix #82

This makes _syntax._contained_marker public and uses it throughout the project. It cleans up the code significantly and makes it possible to use the Markers enum without accessing the .value attribute.

codecov[bot] commented 4 years ago

Codecov Report

Merging #83 into master will not change coverage. The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff            @@
##            master       #83   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            8         8           
  Lines          228       227    -1     
  Branches        40        37    -3     
=========================================
- Hits           228       227    -1     
Impacted Files Coverage Δ
repobee_sanitizer/_sanitize.py 100.00% <100.00%> (ø)
repobee_sanitizer/_syntax.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 6f345e1...2072dbd. Read the comment docs.