-
Notifications
You must be signed in to change notification settings - Fork 453
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
autopep8 Fails when beautifying Python #274
Comments
I'm having the same problem Update: I'm using |
Published to v0.25.0 This is a very big release with lots of internal changes and (hopefully) no breaking changes. Please let me know if you are experiencing any unusual behaviour / breaking changes after updating. Thank you. |
@fd is v0.25.0 + working for you? This issue should no longer be applicable, so feel free to create a new issue if one for your new problem does not already exist. |
Atom ver: 0.196.0 I just updated to 0.26.5, and I'm getting the
|
Could you run |
Atom Beautify - Debugging informationThe following debugging information was generated by Platform: darwin VersionsAtom Version: 0.196.0 Atom Beautify Version: 0.26.5 Original file to be beautifiedOriginal File Path: Original File Grammar: Python Original File Contents: from unittest import TestCase
class Bar(TestCase):
def fakefunction(param, second_param):
pass
def test_indentation(self):
foo = self.fake_function(param='hello',
second_param='world',
)
bar = 'after_continuing typing'
return foo, bar Beautification optionsEditor Options: {
"indent_size": 4,
"indent_char": " ",
"indent_with_tabs": false
} Config Options: {
"python": {
"autopep8_path": "/Users/fake_user/venv/default/bin/autopep8",
"max_line_length": 79,
"indent_size": 4,
"ignore": [
"E24"
]
},
"cs": {
"configPath": ""
},
"c": {
"configPath": ""
},
"cpp": {
"configPath": ""
},
"css": {
"indent_size": 4,
"indent_char": " ",
"selector_separator_newline": false,
"newline_between_rules": false,
"preserve_newlines": false
},
"d": {
"configPath": ""
},
"html": {
"indent_inner_html": false,
"indent_size": 4,
"indent_char": " ",
"brace_style": "collapse",
"indent_scripts": "normal",
"wrap_line_length": 250,
"wrap_attributes": "auto",
"wrap_attributes_indent_size": 4,
"preserve_newlines": true,
"max_preserve_newlines": 10,
"unformatted": [
"a",
"sub",
"sup",
"b",
"i",
"u"
],
"end_with_newline": false
},
"java": {
"configPath": ""
},
"js": {
"indent_size": 4,
"indent_char": " ",
"indent_level": 0,
"indent_with_tabs": false,
"preserve_newlines": true,
"max_preserve_newlines": 10,
"space_in_paren": false,
"jslint_happy": false,
"space_after_anon_function": false,
"brace_style": "collapse",
"break_chained_methods": false,
"keep_array_indentation": false,
"keep_function_indentation": false,
"space_before_conditional": true,
"eval_code": false,
"unescape_strings": false,
"wrap_line_length": 0,
"end_with_newline": false
},
"objectivec": {
"configPath": ""
},
"pawn": {
"configPath": ""
},
"perl": {
"perltidy_profile": ""
},
"php": {
"fixers": "",
"level": ""
},
"sql": {
"indent_size": 4,
"keywords": "upper",
"identifiers": "lower"
},
"vala": {
"configPath": ""
}
} Home Options: {} EditorConfig Options: {} Project Options: [
{},
{},
{},
{}
] ResultsBeautified File Contents: Error: spawn autopep8 ENOENT Logs:
|
@muppetjones , thanks for creating a separate issue, #322. I will follow up with you there, since this is a different error. |
Get the following errors when trying to beautify Python, on osx yosemite:
Additionally I can use pep8 fine and I have added the path in the settings.
The text was updated successfully, but these errors were encountered: