Giter Club home page Giter Club logo

Comments (4)

gabrielelanaro avatar gabrielelanaro commented on July 17, 2024

Unfortunately I wasn't able to circumvent the issue by running multiple statements as you mentioned.. As far as I remember flymake processes just one statement at a time.

from emacs-for-python.

mforbes avatar mforbes commented on July 17, 2024

I also had difficulty getting things to work. My biggest issue now is to be able to use project-specific configurations for the various checkers. It seems your strategy of copying the files before checking breaks the search for configuration files in parent directories.

Have you considered using flycheck instead? It seems to solve both problems (have only used it for a little bit though, so I am not sure how stable it is yet. The issues with TRAMP will probably cause me problems later.)

from emacs-for-python.

gabrielelanaro avatar gabrielelanaro commented on July 17, 2024

I'm not a huge fan of flymake, in fact I've patched it to add some features. flycheck looks really interesting I'll try it out and include it if it's a suitable replacement! Thank you so much for your feedback it's very useful. I'll keep you updated.

from emacs-for-python.

mforbes avatar mforbes commented on July 17, 2024

Here is how I am presently using your project:

https://bitbucket.org/mforbes/mmfemacs

I use myrepos to pull in your project and then add a few customizations of my own. In particular, I use a common configuration file -- setup.cfg -- for pylint and and flake8 configuration. If a project defines these in the top level, then they automatically apply, otherwise the user's defaults apply.

However, I could not find a good way of disabling flymake without patching your code. I will open this as a separate issue: please suggest how I can do this better.

Thanks for pulling together these packages: it is very helpful to be able to just pull in a project like yours and get going!

(As an aside, the only things I have found I do not like are:

  1. I often want to open a file from my home directory. I used to do this by c-x c-f then backspacing to clear the line, then starting with "~". This no longer works as backspacing leaves me at root "/" and I need to then get to my home directory from there somehow. Is there a simple solution?
  2. The autoclosing parentheses and quotes are a bit of a pain since I often type the closing one, thus I end up with (1+1)) quite a bit. The best solution is that if a closing parenthesis etc. was automatically inserted, then inserting one at that point will simply move the point outside. I don't know where to go to configure this (or if it is possible).

Sorry for hijacking this issue. I can open these in a new request or put them on the wiki if you like. Just let me know and I will delete this.)

from emacs-for-python.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.