After spending the past few days worrying about a looming visit by city inspectors, the artists at the Cyclecide Swearhouse in San Francisco’s Bayview neighborhood said the Thursday morning inspection went “as well as it could.”

“There’s a little bit of reprieve here, but we don’t know for how long,” said John Law, a tenant of the building. Law was not at the inspection but spoke on behalf of his fellow tenants, who form a sort of artists collective.

In the wake of the Ghost Ship fire in Oakland, many artists’ spaces around the country have faced building inspections that could force them to pursue prohibitively expensive repairs and upgrades to their buildings — or lead to outright evictions.

The Cyclecide tenants — who had just resolved a legal dispute with their landlord that allowed them to stay through May — were worried their space would meet the same fate when they received notice that city officials would inspect their space this week.

Chris Harney, Cyclecide’s landlord, said the inspectors found some “building code violations,” but they did not elaborate on the nature of the infractions.

A spokesman for the Department of Building Inspection could not elaborate on the inspector’s findings Thursday.

The warehouse’s tenants allege that Harney is trying to push them out of the space before May. Harney said he has no such plans.

“I am perfectly happy with them there,” Harney said. “Of course, as any landlord, you want a safe environment.”

If the tenants need to fix anything in the building that was built without a permit, Harney said they “should be required to correct (it) themselves.”

John Coté, a spokesman for the city attorney’s office, which oversees several city agencies, said Wednesday that the city is not looking to execute mass evictions in the wake of the Oakland fire, but “safety is of course paramount.”

Although the Cyclecide tenants will probably be able to stay in their space until May, Law said they are not completely off the hook from Thursday’s inspection yet. They are waiting for an official report from the city, which could take a few weeks.

“We still don’t know at this point in time what is going to happen next,” he said. But “they didn’t put a giant red mark on the door and kick us to the curb.”

Trisha Thadani and Michael Bodley are San Francisco Chronicle staff writer. Email: tthadani@sfchronicle.com, mbodley@sfchronicle.com Twitter: @TrishaThadani, @michael_bodley