What improvements do I include in tax basis for sale of business property? What if they were included on past returns?

Property was inherited and rented in 2015. Stopped renting in Nov. 2017. Sold in Jan. 2018 for a profit. Never used as personal residence.