I installed flycheck for Emacs Python on Ubuntu 15.04.
However, when using the tool, it reports false positives, such as print(item, end=' ') , is the wrong syntax due to end .
I know that this is Python 3 syntax, and that the syntax error was caused by the flycheck function for Python 2.
How to check box for Python 3?
In the Github documentation, he does not mention whether it supports Python 2 or 3 (Python only).
Also, if possible, give me a hint why the elpa tool doesn't offer suggestions, for example. basic types of Python.
My init.el file is here:
;; init.el --- Emacs configuration ;; INSTALL PACKAGES ;; ------------------------------------- (require 'package) ;; Primary Emacs repository is MELPA (add-to-list 'package-archives '("melpa" . "http://melpa.org/packages/") t) (package-initialize) (when (not package-archive-contents) (package-refresh-contents)) (defvar myPackages '(better-defaults elpy ;; Emacs Lisp Python Environment flycheck ;; flycheck Python syntax-checking material-theme)) (mapc
source share