The public transit pass tax credit was eliminated effective July 1, 2017 with the 2017 Federal Budget.
However, for the 2017 tax year, you can still claim the non-refundable tax credit for eligible public transit passes that you used from January 01, 2017 to June 30, 2017.
See Public transit amount for more detail.