Comments (4)
I too am having this issue. It causes conflicts with project-specific pep8 settings, which is inhibitory in some use-cases where you want to enforce formatting settings across all dev environments. I'm going with a git precommit hook for now instead of an emacs plugin.
from py-autopep8.el.
The same here, I had to disable py-autopep8 :/ Any work around for this issue?
from py-autopep8.el.
This happened because the temporary file caused the local configuration not to be detected.
Resolved in my repo which used stdin/stdout pipes to format, changing the working directory to that of the file causes the configuration to be loaded properly in my tests https://github.com/ideasman42/emacs-py-autopep8/commit/171a69198e7a379622b84a51239f3e621219f9a0
from py-autopep8.el.
Melpa now points to a fork of this package maintained here: https://github.com/ideasman42/emacs-py-autopep8
Detecting local configuration is supported, although I've only added support for pyproject.toml
which seems to be the recommended configuration these days. Writing checks for other kinds of files is trivial.
from py-autopep8.el.
Related Issues (16)
- go--apply-rcs-patch is void HOT 11
- hanging autopep8.py hangs emacs HOT 4
- "Error: Cannot open load file: py-autopep8"
- Inability to add agressiveness levels higher than 1 HOT 2
- autopep8 command not found HOT 8
- Docformatter, docformatter everywhere
- Error: (error "autopep8 command not found.") on Windows HOT 4
- kill ring is modified when py-autopep8-enable-on-save hook is triggered HOT 3
- Request: Add py-autopep8.el to MELPA HOT 4
- Would like to disable the hook on a per buffer basis HOT 3
- Is this repository still active ? HOT 11
- File mode specification error: (args-out-of-range 0 0) HOT 4
- Code loss with autopep8! HOT 1
- Error in emacs 24 HOT 3
- avoiding ^M when using py-autopep8 on Windows HOT 12
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from py-autopep8.el.