As part of the class one medical your lung capacity and peak flow will be measured, so it may have an effect on that, but I certainly know some people who smoke and have class one medicals.
Best read the detailed medical info document on the natscareers site.