Investors & landlords

Thank you.  What about any improvements that I did just before the sale of the house in 2018, in order to prepare it for selling?  I made improvements/repairs like carpet cleaning, repainting, repairing broken glasses and similar tasks.  Do I put them under sales expenses or do these increase the cost basis?