Skip to content

DOC: Add flycheck to complement flymake section? #6568

Closed

Activity

  1. bsipocz commented on Sep 19, 2017

    @bsipocz
    Member

    Sounds good!

  2. mhvk commented on Oct 7, 2017

    @mhvk
    Contributor

    From my unneeded issue #6681:
    Currently, we recommend an emacs setup using flymake, pyflakes, and pep8 for syntax checking [1], but these are no longer developed (I noticed because I get warnings about syntax errors for metaclass=... arguments to class definitions). Instead, the recommendation is to use flycheck [2] with flake8 (which we're also using on travis). We should update the documentation (and I need to update my setup...).

    So, I'd say we should just change the recommendation. Also, @pllim, if you have already switched, what did you have to change? I'd love to save myself the time to find out what exactly is needed...

    [1] http://docs.astropy.org/en/latest/development/codeguide_emacs.html
    [2] http://www.flycheck.org/en/latest/

  3. mhvk commented on Oct 7, 2017

    @mhvk
    Contributor

    p.s. Added the "Bug" label since the currently recommended setup gives an error for every file that includes a metaclass definition.

  4. pllim commented on Oct 7, 2017

    @pllim
    MemberAuthor

    @mhvk , for flycheck, I basically followed instructions at http://www.flycheck.org/en/latest/user/installation.html#package-installation and then comment out those things again after it is installed (probably don't have to but I am paranoid about leaving it active). Once it is installed, I used the incantation at http://www.flycheck.org/en/latest/user/installation.html#use-package to turn it on.

    p.s. The exact incantation I used is a bit convoluted because I still need flymake if older Emacs is detected.

  5. mhvk commented on Oct 8, 2017

    @mhvk
    Contributor

    See #6692 for a fix, plus simplification of the guide, keeping only things we really recommend doing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions