I have a python file and I have disabled some pycodestyles errors(in the code editor) like
pycodestyle: error E501 - line too long (111 > 79 characters)
Is there a standard way to add this info in the python file itself in the beginning as a comment like adding the encoding.
# -*- encoding: utf-8 -*-
import packages
...
main()
The python file is very small and I don't want to add these as a separate file or is adding those info in a separate file considered to be standard?
I am looking for something like
# -*- encoding: utf-8 -*-
# Pycodestyle ignore [E501, E502]
import packages
...
main()