[OS X Emacs] pylint in python mode doesn't work

Win Treese treese at acm.org
Sat Oct 16 12:56:04 EDT 2021


> On Oct 15, 2021, at 12:29 AM, Randolph M. Fritz <rmfritz3 at gmail.com> wrote:
> 
> I get a "format: Wrong type argument: sequencep, 45" error.
> 
> Aquamacs 3.6-beta  GNU Emacs 25.3.50.1 (x86_64-apple-darwin20.4.0, NS appkit-2022.44 Version 11.3.1 (Build 20E241))
> dated 2021-06-06 rev. 9bcbbdbdd7c9224995d84c009fed9233509c486b
> Copyright (C) 2017 Free Software Foundation, Inc.
> -- 
> Randolph M. Fritz || rmfritz3 at gmail.com

Hi, Randolph. Thanks for the note.

The problem turns out to be that the default value for py-pylint-command-args should be a list, not a single string.

This will be fixed in Aquamacs 3.6.

In the meantime, you can customize py-pylint-command-args to be '("--errors-only").

As a side note: in Aquamacs 4, which will take a while, the Python mode support will change to the newer default python.el included in more recent versions of Emacs.

 - Win

Win Treese
treese at acm.org
Aquamacs maintainer



More information about the MacOSX-Emacs mailing list