It’s really simple. Don't lie or cheat and don’t abide those who do.
As a software development manager, I find the most important quality I need in my direct reports is honesty. If you are not honest with me it makes it very difficult to do my job.
That some developers have been conditioned to dishonesty is a shame on our industry.