Two shipyards in Massachusetts and Rhode Island have agreed to pay penalties to settle claims they violated federal environmental laws. Rose’s Oil Service, a shipyard and fuel oil distributor in Gloucester, will pay $130,000 to resolve claims it violated water and oil pollution laws. The Environmental Protection Agency alleged that the company discharged pressure wash water and storm water without authorization. Promet Marine Services, a Providence shipyard that builds, repairs, and retrofits vessels, will pay $290,000 to settle claims that its use of paints exceeded limits on volatile organic compounds and hazardous air pollutants. Both settlements include a certification by the shipyards that they now comply with all requirements.