The physics
A rope pulling a block up a slope has to fight two things: the component of gravity acting down the incline (mg·sin θ) and kinetic friction (μ·mg·cos θ), which also points down the slope while the block moves up. Add them and, for a rope parallel to the surface, T = m·g·(sin θ + μ·cos θ).