Observations of gamma-ray sources with DAMPE