msherry / flycheck-pycheckers

Multiple syntax checker for Python in Emacs, using Flycheck
GNU General Public License v3.0
63 stars 23 forks source link

Fix Python 3 support for pycheckers.py #67

Open bernarduh opened 1 year ago

bernarduh commented 1 year ago

Motivation

Python 3?

The bin/pycheckers.py script fails to run on a fresh install of Ubuntu 22.04. The issues are:

Approach

The above issues are overcome if the bin/pycheckers.py gets migrated to Python3. Please read the issue discussion for more details.

For more details on the changes made please read the commit messages.

This PR drops support for running bin/pycheckers.pyusing _Python 2_, yet it is still possible to usebin/pycheckers.py` to lint Python 2 scripts.

Testing

These changes were tested using emacs 28 on Ubuntu 22.04.