{"action":"created","issue":{"url":"https://api.github.com/repos/Glavin001/atom-beautify/issues/398","labels_url":"https://api.github.com/repos/Glavin001/atom-beautify/issues/398/labels{/name}","comments_url":"https://api.github.com/repos/Glavin001/atom-beautify/issues/398/comments","events_url":"https://api.github.com/repos/Glavin001/atom-beautify/issues/398/events","html_url":"https://github.com/Glavin001/atom-beautify/issues/398","id":87660700,"number":398,"title":"When using EditorConfig indent_size is tab","user":{"login":"matr0sk1n","id":12857879,"avatar_url":"https://avatars.githubusercontent.com/u/12857879?v=3","gravatar_id":"","url":"https://api.github.com/users/matr0sk1n","html_url":"https://github.com/matr0sk1n","followers_url":"https://api.github.com/users/matr0sk1n/followers","following_url":"https://api.github.com/users/matr0sk1n/following{/other_user}","gists_url":"https://api.github.com/users/matr0sk1n/gists{/gist_id}","starred_url":"https://api.github.com/users/matr0sk1n/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matr0sk1n/subscriptions","organizations_url":"https://api.github.com/users/matr0sk1n/orgs","repos_url":"https://api.github.com/users/matr0sk1n/repos","events_url":"https://api.github.com/users/matr0sk1n/events{/privacy}","received_events_url":"https://api.github.com/users/matr0sk1n/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Glavin001/atom-beautify/labels/mac","name":"mac","color":"bfd4f2"},{"url":"https://api.github.com/repos/Glavin001/atom-beautify/labels/question","name":"question","color":"cc317c"},{"url":"https://api.github.com/repos/Glavin001/atom-beautify/labels/third-party%20bug","name":"third-party bug","color":"f7c6c7"}],"state":"closed","locked":false,"assignee":{"login":"Glavin001","id":1885333,"avatar_url":"https://avatars.githubusercontent.com/u/1885333?v=3","gravatar_id":"","url":"https://api.github.com/users/Glavin001","html_url":"https://github.com/Glavin001","followers_url":"https://api.github.com/users/Glavin001/followers","following_url":"https://api.github.com/users/Glavin001/following{/other_user}","gists_url":"https://api.github.com/users/Glavin001/gists{/gist_id}","starred_url":"https://api.github.com/users/Glavin001/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Glavin001/subscriptions","organizations_url":"https://api.github.com/users/Glavin001/orgs","repos_url":"https://api.github.com/users/Glavin001/repos","events_url":"https://api.github.com/users/Glavin001/events{/privacy}","received_events_url":"https://api.github.com/users/Glavin001/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/Glavin001/atom-beautify/milestones/6","html_url":"https://github.com/Glavin001/atom-beautify/milestones/v0.29.0","labels_url":"https://api.github.com/repos/Glavin001/atom-beautify/milestones/6/labels","id":1123999,"number":6,"title":"v0.29.0","description":"","creator":{"login":"Glavin001","id":1885333,"avatar_url":"https://avatars.githubusercontent.com/u/1885333?v=3","gravatar_id":"","url":"https://api.github.com/users/Glavin001","html_url":"https://github.com/Glavin001","followers_url":"https://api.github.com/users/Glavin001/followers","following_url":"https://api.github.com/users/Glavin001/following{/other_user}","gists_url":"https://api.github.com/users/Glavin001/gists{/gist_id}","starred_url":"https://api.github.com/users/Glavin001/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Glavin001/subscriptions","organizations_url":"https://api.github.com/users/Glavin001/orgs","repos_url":"https://api.github.com/users/Glavin001/repos","events_url":"https://api.github.com/users/Glavin001/events{/privacy}","received_events_url":"https://api.github.com/users/Glavin001/received_events","type":"User","site_admin":false},"open_issues":19,"closed_issues":15,"state":"open","created_at":"2015-05-21T19:52:40Z","updated_at":"2015-06-12T18:19:43Z","due_on":"2015-06-15T03:00:00Z","closed_at":null},"comments":7,"created_at":"2015-06-12T08:46:45Z","updated_at":"2015-06-13T21:39:16Z","closed_at":"2015-06-12T08:59:53Z","body":"# Atom Beautify - Debugging information\r\n\r\nThe following debugging information was generated by `Atom Beautify` on `Fri Jun 12 2015 11:43:31 GMT+0300 (MSK)`.\r\n\r\n---\r\n\r\n**Platform**: darwin\r\n\r\n## Versions\r\n\r\n**Atom Version**: 0.209.0\r\n\r\n**Atom Beautify Version**: 0.28.4\r\n\r\n## Original file to be beautified\r\n\r\n**Original File Path**: `/Users/kira/dev/python/flasky/hello.py`\r\n\r\n**Original File Grammar**: Python\r\n\r\n**Original File Contents**: \r\n```python\r\nfrom flask import Flask, render_template\r\nfrom flask.ext.script import Manager\r\nfrom flask.ext.bootstrap import Bootstrap\r\n\r\napp = Flask(__name__)\r\nmanager = Manager(app)\r\nbootstrap = Bootstrap(app)\r\n\r\n\r\n@app.route('/')\r\ndef index():\r\n    return render_template('index.html')\r\n\r\n\r\n@app.route('/user/<name>')\r\ndef user(name):\r\n    return render_template('user.html', name=name)\r\n\r\n\r\n@app.errorhandler(404)\r\ndef page_not_found(e):\r\n    return render_template('404.html'), 404\r\n\r\n\r\n@app.errorhandler(500)\r\ndef internal_server_error(e):\r\n    return render_template('500.html'), 500\r\n\r\n\r\nif __name__ == '__main__':\r\n    manager.run()\r\n    \r\n\r\n```\r\n\r\n## Beautification options\r\n\r\n**Editor Options**: \r\nOptions from Atom Editor settings\r\n```json\r\n{\r\n    \"_default\": {\r\n        \"indent_size\": 4,\r\n        \"indent_char\": \" \",\r\n        \"indent_with_tabs\": false\r\n    }\r\n}\r\n```\r\n\r\n**Config Options**: \r\nOptions from Atom Beautify package settings\r\n```json\r\n{\r\n    \"cs\": {\r\n        \"configPath\": \"\"\r\n    },\r\n    \"c\": {\r\n        \"configPath\": \"\"\r\n    },\r\n    \"cpp\": {\r\n        \"configPath\": \"\"\r\n    },\r\n    \"css\": {\r\n        \"indent_size\": 2,\r\n        \"indent_char\": \" \",\r\n        \"selector_separator_newline\": false,\r\n        \"newline_between_rules\": false,\r\n        \"preserve_newlines\": false,\r\n        \"wrap_line_length\": 0,\r\n        \"indent_comments\": true,\r\n        \"force_indentation\": false,\r\n        \"convert_quotes\": \"none\",\r\n        \"align_assignments\": false\r\n    },\r\n    \"d\": {\r\n        \"configPath\": \"\"\r\n    },\r\n    \"fortran\": {\r\n        \"emacs_path\": \"\",\r\n        \"emacs_script_path\": \"\"\r\n    },\r\n    \"html\": {\r\n        \"indent_inner_html\": false,\r\n        \"indent_size\": 2,\r\n        \"indent_char\": \" \",\r\n        \"brace_style\": \"collapse\",\r\n        \"indent_scripts\": \"normal\",\r\n        \"wrap_line_length\": 250,\r\n        \"wrap_attributes\": \"auto\",\r\n        \"wrap_attributes_indent_size\": 2,\r\n        \"preserve_newlines\": true,\r\n        \"max_preserve_newlines\": 10,\r\n        \"unformatted\": [\r\n            \"a\",\r\n            \"sub\",\r\n            \"sup\",\r\n            \"b\",\r\n            \"i\",\r\n            \"u\"\r\n        ],\r\n        \"end_with_newline\": false\r\n    },\r\n    \"java\": {\r\n        \"configPath\": \"\"\r\n    },\r\n    \"js\": {\r\n        \"indent_size\": 2,\r\n        \"indent_char\": \" \",\r\n        \"indent_level\": 0,\r\n        \"indent_with_tabs\": false,\r\n        \"preserve_newlines\": true,\r\n        \"max_preserve_newlines\": 10,\r\n        \"space_in_paren\": false,\r\n        \"jslint_happy\": false,\r\n        \"space_after_anon_function\": false,\r\n        \"brace_style\": \"collapse\",\r\n        \"break_chained_methods\": false,\r\n        \"keep_array_indentation\": false,\r\n        \"keep_function_indentation\": false,\r\n        \"space_before_conditional\": true,\r\n        \"eval_code\": false,\r\n        \"unescape_strings\": false,\r\n        \"wrap_line_length\": 0,\r\n        \"end_with_newline\": false\r\n    },\r\n    \"objectivec\": {\r\n        \"configPath\": \"\"\r\n    },\r\n    \"pawn\": {\r\n        \"configPath\": \"\"\r\n    },\r\n    \"perl\": {\r\n        \"perltidy_profile\": \"\"\r\n    },\r\n    \"php\": {\r\n        \"cs_fixer_path\": \"\",\r\n        \"fixers\": \"\",\r\n        \"level\": \"\"\r\n    },\r\n    \"python\": {\r\n        \"max_line_length\": 79,\r\n        \"indent_size\": 2,\r\n        \"ignore\": [\r\n            \"E24\"\r\n        ]\r\n    },\r\n    \"ruby\": {\r\n        \"indent_size\": 2,\r\n        \"indent_char\": \" \"\r\n    },\r\n    \"rust\": {\r\n        \"rustfmt_path\": \"\"\r\n    },\r\n    \"sql\": {\r\n        \"indent_size\": 2,\r\n        \"keywords\": \"upper\",\r\n        \"identifiers\": \"lower\"\r\n    },\r\n    \"vala\": {\r\n        \"configPath\": \"\"\r\n    }\r\n}\r\n```\r\n\r\n**Home Options**: \r\nOptions from `/Users/kira/.jsbeautifyrc`\r\n```json\r\n{\r\n    \"_default\": {}\r\n}\r\n```\r\n\r\n**EditorConfig Options**: \r\nOptions from [EditorConfig](http://editorconfig.org/) file\r\n```json\r\n{\r\n    \"_default\": {\r\n        \"charset\": \"utf-8\",\r\n        \"indent_style\": \"tab\",\r\n        \"end_of_line\": \"lf\",\r\n        \"insert_final_newline\": true,\r\n        \"trim_trailing_whitespace\": true,\r\n        \"indent_size\": \"tab\",\r\n        \"indent_char\": \"\\t\",\r\n        \"indent_with_tabs\": true\r\n    }\r\n}\r\n```\r\n\r\n**Project Options**: \r\nOptions from `.jsbeautifyrc` files starting from directory `/Users/kira/dev/python/flasky` and going up to root\r\n```json\r\n[\r\n    {\r\n        \"_default\": {}\r\n    },\r\n    {\r\n        \"_default\": {}\r\n    },\r\n    {\r\n        \"_default\": {}\r\n    },\r\n    {\r\n        \"_default\": {}\r\n    },\r\n    {\r\n        \"_default\": {}\r\n    }\r\n]\r\n```\r\n\r\n## Results\r\n\r\n**Beautified File Contents**: \r\n```python\r\nusage: autopep8 [-h] [--version] [-v] [-d] [-i] [--global-config filename]\r\n                [--ignore-local-config] [-r] [-j n] [-p n] [-a]\r\n                [--experimental] [--exclude globs] [--list-fixes]\r\n                [--ignore errors] [--select errors] [--max-line-length n]\r\n                [--range line line] [--indent-size n]\r\n                [files [files ...]]\r\nautopep8: error: argument --indent-size: invalid int value: 'tab'\r\n\r\n```\r\n\r\n**Logs**: \r\n```\r\n2015-06-12T08:43:31.655Z - info: [/Users/kira/.atom/packages/atom-beautify/src/beautifiers/index.coffee] beautify from flask import Flask, render_template\r\nfrom flask.ext.script import Manager\r\nfrom flask.ext.bootstrap import Bootstrap\r\n\r\napp = Flask(__name__)\r\nmanager = Manager(app)\r\nbootstrap = Bootstrap(app)\r\n\r\n\r\n@app.route('/')\r\ndef index():\r\n    return render_template('index.html')\r\n\r\n\r\n@app.route('/user/<name>')\r\ndef user(name):\r\n    return render_template('user.html', name=name)\r\n\r\n\r\n@app.errorhandler(404)\r\ndef page_not_found(e):\r\n    return render_template('404.html'), 404\r\n\r\n\r\n@app.errorhandler(500)\r\ndef internal_server_error(e):\r\n    return render_template('500.html'), 500\r\n\r\n\r\nif __name__ == '__main__':\r\n    manager.run()\r\n    \r\n [ { _default: { indent_size: 4, indent_char: ' ', indent_with_tabs: false } },\r\n  { cs: { configPath: '' },\r\n    c: { configPath: '' },\r\n    cpp: { configPath: '' },\r\n    css: \r\n     { indent_size: 2,\r\n       indent_char: ' ',\r\n       selector_separator_newline: false,\r\n       newline_between_rules: false,\r\n       preserve_newlines: false,\r\n       wrap_line_length: 0,\r\n       indent_comments: true,\r\n       force_indentation: false,\r\n       convert_quotes: 'none',\r\n       align_assignments: false },\r\n    d: { configPath: '' },\r\n    fortran: { emacs_path: '', emacs_script_path: '' },\r\n    html: \r\n     { indent_inner_html: false,\r\n       indent_size: 2,\r\n       indent_char: ' ',\r\n       brace_style: 'collapse',\r\n       indent_scripts: 'normal',\r\n       wrap_line_length: 250,\r\n       wrap_attributes: 'auto',\r\n       wrap_attributes_indent_size: 2,\r\n       preserve_newlines: true,\r\n       max_preserve_newlines: 10,\r\n       unformatted: [Object],\r\n       end_with_newline: false },\r\n    java: { configPath: '' },\r\n    js: \r\n     { indent_size: 2,\r\n       indent_char: ' ',\r\n       indent_level: 0,\r\n       indent_with_tabs: false,\r\n       preserve_newlines: true,\r\n       max_preserve_newlines: 10,\r\n       space_in_paren: false,\r\n       jslint_happy: false,\r\n       space_after_anon_function: false,\r\n       brace_style: 'collapse',\r\n       break_chained_methods: false,\r\n       keep_array_indentation: false,\r\n       keep_function_indentation: false,\r\n       space_before_conditional: true,\r\n       eval_code: false,\r\n       unescape_strings: false,\r\n       wrap_line_length: 0,\r\n       end_with_newline: false },\r\n    objectivec: { configPath: '' },\r\n    pawn: { configPath: '' },\r\n    perl: { perltidy_profile: '' },\r\n    php: { cs_fixer_path: '', fixers: '', level: '' },\r\n    python: { max_line_length: 79, indent_size: 2, ignore: [Object] },\r\n    ruby: { indent_size: 2, indent_char: ' ' },\r\n    rust: { rustfmt_path: '' },\r\n    sql: { indent_size: 2, keywords: 'upper', identifiers: 'lower' },\r\n    vala: { configPath: '' } },\r\n  { _default: {} },\r\n  { _default: \r\n     { charset: 'utf-8',\r\n       indent_style: 'tab',\r\n       end_of_line: 'lf',\r\n       insert_final_newline: true,\r\n       trim_trailing_whitespace: true,\r\n       indent_size: 'tab',\r\n       indent_char: '\\t',\r\n       indent_with_tabs: true } },\r\n  { _default: {} },\r\n  { _default: {} },\r\n  { _default: {} },\r\n  { _default: {} },\r\n  { _default: {} } ] Python /Users/kira/dev/python/flasky/hello.py\r\n2015-06-12T08:43:31.655Z - verbose: [/Users/kira/.atom/packages/atom-beautify/src/beautifiers/index.coffee]  indent_size=4, indent_char= , indent_with_tabs=false, configPath=, configPath=, configPath=, indent_size=2, indent_char= , selector_separator_newline=false, newline_between_rules=false, preserve_newlines=false, wrap_line_length=0, indent_comments=true, force_indentation=false, convert_quotes=none, align_assignments=false, configPath=, emacs_path=, emacs_script_path=, indent_inner_html=false, indent_size=2, indent_char= , brace_style=collapse, indent_scripts=normal, wrap_line_length=250, wrap_attributes=auto, wrap_attributes_indent_size=2, preserve_newlines=true, max_preserve_newlines=10, unformatted=[a, sub, sup, b, i, u], end_with_newline=false, configPath=, indent_size=2, 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, configPath=, configPath=, perltidy_profile=, cs_fixer_path=, fixers=, level=, max_line_length=79, indent_size=2, ignore=[E24], indent_size=2, indent_char= , rustfmt_path=, indent_size=2, keywords=upper, identifiers=lower, configPath=, , charset=utf-8, indent_style=tab, end_of_line=lf, insert_final_newline=true, trim_trailing_whitespace=true, indent_size=tab, indent_char=\t, indent_with_tabs=true, , , , , \r\n2015-06-12T08:43:31.656Z - verbose: [/Users/kira/.atom/packages/atom-beautify/src/beautifiers/index.coffee] [ { name: 'Python',\r\n    namespace: 'python',\r\n    grammars: [ 'Python' ],\r\n    extensions: [ 'py' ],\r\n    options: \r\n     { max_line_length: [Object],\r\n       indent_size: [Object],\r\n       ignore: [Object] },\r\n    beautifiers: [ 'autopep8' ] } ] 'Python' 'py'\r\n2015-06-12T08:43:31.656Z - verbose: [/Users/kira/.atom/packages/atom-beautify/src/beautifiers/index.coffee] getOptions selections [ 'python' ] indent_size=4, indent_char= , indent_with_tabs=false, configPath=, configPath=, configPath=, indent_size=2, indent_char= , selector_separator_newline=false, newline_between_rules=false, preserve_newlines=false, wrap_line_length=0, indent_comments=true, force_indentation=false, convert_quotes=none, align_assignments=false, configPath=, emacs_path=, emacs_script_path=, indent_inner_html=false, indent_size=2, indent_char= , brace_style=collapse, indent_scripts=normal, wrap_line_length=250, wrap_attributes=auto, wrap_attributes_indent_size=2, preserve_newlines=true, max_preserve_newlines=10, unformatted=[a, sub, sup, b, i, u], end_with_newline=false, configPath=, indent_size=2, 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, configPath=, configPath=, perltidy_profile=, cs_fixer_path=, fixers=, level=, max_line_length=79, indent_size=2, ignore=[E24], indent_size=2, indent_char= , rustfmt_path=, indent_size=2, keywords=upper, identifiers=lower, configPath=, , charset=utf-8, indent_style=tab, end_of_line=lf, insert_final_newline=true, trim_trailing_whitespace=true, indent_size=tab, indent_char=\t, indent_with_tabs=true, , , , , \r\n2015-06-12T08:43:31.657Z - verbose: [/Users/kira/.atom/packages/atom-beautify/src/beautifiers/index.coffee] true indent_size=4, indent_char= , indent_with_tabs=false\r\n2015-06-12T08:43:31.657Z - verbose: [/Users/kira/.atom/packages/atom-beautify/src/beautifiers/index.coffee] options python undefined\r\n2015-06-12T08:43:31.657Z - verbose: [/Users/kira/.atom/packages/atom-beautify/src/beautifiers/index.coffee] options python indent_size=4, indent_char= , indent_with_tabs=false\r\n2015-06-12T08:43:31.657Z - verbose: [/Users/kira/.atom/packages/atom-beautify/src/beautifiers/index.coffee] true configPath=, configPath=, configPath=, indent_size=2, indent_char= , selector_separator_newline=false, newline_between_rules=false, preserve_newlines=false, wrap_line_length=0, indent_comments=true, force_indentation=false, convert_quotes=none, align_assignments=false, configPath=, emacs_path=, emacs_script_path=, indent_inner_html=false, indent_size=2, indent_char= , brace_style=collapse, indent_scripts=normal, wrap_line_length=250, wrap_attributes=auto, wrap_attributes_indent_size=2, preserve_newlines=true, max_preserve_newlines=10, unformatted=[a, sub, sup, b, i, u], end_with_newline=false, configPath=, indent_size=2, 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, configPath=, configPath=, perltidy_profile=, cs_fixer_path=, fixers=, level=, max_line_length=79, indent_size=2, ignore=[E24], indent_size=2, indent_char= , rustfmt_path=, indent_size=2, keywords=upper, identifiers=lower, configPath=\r\n2015-06-12T08:43:31.657Z - verbose: [/Users/kira/.atom/packages/atom-beautify/src/beautifiers/index.coffee] options python max_line_length=79, indent_size=2, ignore=[E24]\r\n2015-06-12T08:43:31.657Z - verbose: [/Users/kira/.atom/packages/atom-beautify/src/beautifiers/index.coffee] options python max_line_length=79, indent_size=2, ignore=[E24]\r\n2015-06-12T08:43:31.657Z - verbose: [/Users/kira/.atom/packages/atom-beautify/src/beautifiers/index.coffee] true \r\n2015-06-12T08:43:31.657Z - verbose: [/Users/kira/.atom/packages/atom-beautify/src/beautifiers/index.coffee] options python undefined\r\n2015-06-12T08:43:31.657Z - verbose: [/Users/kira/.atom/packages/atom-beautify/src/beautifiers/index.coffee] options python\r\n2015-06-12T08:43:31.657Z - verbose: [/Users/kira/.atom/packages/atom-beautify/src/beautifiers/index.coffee] true charset=utf-8, indent_style=tab, end_of_line=lf, insert_final_newline=true, trim_trailing_whitespace=true, indent_size=tab, indent_char=\t, indent_with_tabs=true\r\n2015-06-12T08:43:31.657Z - verbose: [/Users/kira/.atom/packages/atom-beautify/src/beautifiers/index.coffee] options python undefined\r\n2015-06-12T08:43:31.658Z - verbose: [/Users/kira/.atom/packages/atom-beautify/src/beautifiers/index.coffee] options python charset=utf-8, indent_style=tab, end_of_line=lf, insert_final_newline=true, trim_trailing_whitespace=true, indent_size=tab, indent_char=\t, indent_with_tabs=true\r\n2015-06-12T08:43:31.658Z - verbose: [/Users/kira/.atom/packages/atom-beautify/src/beautifiers/index.coffee] true \r\n2015-06-12T08:43:31.658Z - verbose: [/Users/kira/.atom/packages/atom-beautify/src/beautifiers/index.coffee] options python undefined\r\n2015-06-12T08:43:31.658Z - verbose: [/Users/kira/.atom/packages/atom-beautify/src/beautifiers/index.coffee] options python\r\n2015-06-12T08:43:31.658Z - verbose: [/Users/kira/.atom/packages/atom-beautify/src/beautifiers/index.coffee] true \r\n2015-06-12T08:43:31.658Z - verbose: [/Users/kira/.atom/packages/atom-beautify/src/beautifiers/index.coffee] options python undefined\r\n2015-06-12T08:43:31.658Z - verbose: [/Users/kira/.atom/packages/atom-beautify/src/beautifiers/index.coffee] options python\r\n2015-06-12T08:43:31.658Z - verbose: [/Users/kira/.atom/packages/atom-beautify/src/beautifiers/index.coffee] true \r\n2015-06-12T08:43:31.658Z - verbose: [/Users/kira/.atom/packages/atom-beautify/src/beautifiers/index.coffee] options python undefined\r\n2015-06-12T08:43:31.658Z - verbose: [/Users/kira/.atom/packages/atom-beautify/src/beautifiers/index.coffee] options python\r\n2015-06-12T08:43:31.658Z - verbose: [/Users/kira/.atom/packages/atom-beautify/src/beautifiers/index.coffee] true \r\n2015-06-12T08:43:31.658Z - verbose: [/Users/kira/.atom/packages/atom-beautify/src/beautifiers/index.coffee] options python undefined\r\n2015-06-12T08:43:31.658Z - verbose: [/Users/kira/.atom/packages/atom-beautify/src/beautifiers/index.coffee] options python\r\n2015-06-12T08:43:31.658Z - verbose: [/Users/kira/.atom/packages/atom-beautify/src/beautifiers/index.coffee] true \r\n2015-06-12T08:43:31.658Z - verbose: [/Users/kira/.atom/packages/atom-beautify/src/beautifiers/index.coffee] options python undefined\r\n2015-06-12T08:43:31.658Z - verbose: [/Users/kira/.atom/packages/atom-beautify/src/beautifiers/index.coffee] options python\r\n2015-06-12T08:43:31.658Z - verbose: [/Users/kira/.atom/packages/atom-beautify/src/beautifiers/index.coffee] Python name=Python, namespace=python, grammars=[Python], extensions=[py], type=integer, default=79, description=set maximum allowed line length (Supported by autopep8), title=Python - Max line length, beautifiers=[autopep8], type=integer, default=2, minimum=0, description=Indentation size/length (Supported by autopep8), title=Python - Indent size, beautifiers=[autopep8], type=array, default=[E24], type=string, description=do not fix these errors/warnings (Supported by autopep8), title=Python - Ignore, beautifiers=[autopep8], beautifiers=[autopep8]\r\n2015-06-12T08:43:31.658Z - verbose: [/Users/kira/.atom/packages/atom-beautify/src/beautifiers/index.coffee] options indent_size=tab, indent_char=\t, indent_with_tabs=true, max_line_length=79, ignore=[E24], charset=utf-8, indent_style=tab, end_of_line=lf, insert_final_newline=true, trim_trailing_whitespace=true\r\n2015-06-12T08:43:31.659Z - verbose: [/Users/kira/.atom/packages/atom-beautify/src/beautifiers/index.coffee] beautifiers silly=function (msg) {\r\n      // build argument list (level, msg, ... [string interpolate], [{metadata}], [callback])\r\n      var args = [level].concat(Array.prototype.slice.call(arguments));\r\n      target.log.apply(target, args);\r\n    }, debug=function (msg) {\r\n      // build argument list (level, msg, ... [string interpolate], [{metadata}], [callback])\r\n      var args = [level].concat(Array.prototype.slice.call(arguments));\r\n      target.log.apply(target, args);\r\n    }, verbose=function (msg) {\r\n      // build argument list (level, msg, ... [string interpolate], [{metadata}], [callback])\r\n      var args = [level].concat(Array.prototype.slice.call(arguments));\r\n      target.log.apply(target, args);\r\n    }, info=function (msg) {\r\n      // build argument list (level, msg, ... [string interpolate], [{metadata}], [callback])\r\n      var args = [level].concat(Array.prototype.slice.call(arguments));\r\n      target.log.apply(target, args);\r\n    }, warn=function (msg) {\r\n      // build argument list (level, msg, ... [string interpolate], [{metadata}], [callback])\r\n      var args = [level].concat(Array.prototype.slice.call(arguments));\r\n      target.log.apply(target, args);\r\n    }, error=function (msg) {\r\n      // build argument list (level, msg, ... [string interpolate], [{metadata}], [callback])\r\n      var args = [level].concat(Array.prototype.slice.call(arguments));\r\n      target.log.apply(target, args);\r\n    }, onLogging=function (handler) {\r\n        var subscription;\r\n        subscription = emitter.on('logging', handler);\r\n        return subscription;\r\n      }, silly=function (msg) {\r\n      // build argument list (level, msg, ... [string interpolate], [{metadata}], [callback])\r\n      var args = [level].concat(Array.prototype.slice.call(arguments));\r\n      target.log.apply(target, args);\r\n    }, debug=function (msg) {\r\n      // build argument list (level, msg, ... [string interpolate], [{metadata}], [callback])\r\n      var args = [level].concat(Array.prototype.slice.call(arguments));\r\n      target.log.apply(target, args);\r\n    }, verbose=function (msg) {\r\n      // build argument list (level, msg, ... [string interpolate], [{metadata}], [callback])\r\n      var args = [level].concat(Array.prototype.slice.call(arguments));\r\n      target.log.apply(target, args);\r\n    }, info=function (msg) {\r\n      // build argument list (level, msg, ... [string interpolate], [{metadata}], [callback])\r\n      var args = [level].concat(Array.prototype.slice.call(arguments));\r\n      target.log.apply(target, args);\r\n    }, warn=function (msg) {\r\n      // build argument list (level, msg, ... [string interpolate], [{metadata}], [callback])\r\n      var args = [level].concat(Array.prototype.slice.call(arguments));\r\n      target.log.apply(target, args);\r\n    }, error=function (msg) {\r\n      // build argument list (level, msg, ... [string interpolate], [{metadata}], [callback])\r\n      var args = [level].concat(Array.prototype.slice.call(arguments));\r\n      target.log.apply(target, args);\r\n    }, onLogging=function (handler) {\r\n        var subscription;\r\n        subscription = emitter.on('logging', handler);\r\n        return subscription;\r\n      }, languages=[Python], \u001B(B\u001B[mLESS_TERMCAP_md=\u001B[38;5;136m, TERM=xterm-256color, SHELL=/bin/bash, HISTSIZE=32768, TMPDIR=/var/folders/d6/4pbsf4k95j19kncrr9v01tsw0000gn/T/, Apple_PubSub_Socket_Render=/private/tmp/com.apple.launchd.7W7mtToT0r/Render, LC_ALL=en_US.UTF-8, ATOM_HOME=/Users/kira/.atom, HISTFILESIZE=32768, USER=kira, LS_COLORS=no, COMMAND_MODE=unix2003, SSH_AUTH_SOCK=/private/tmp/com.apple.launchd.b8Ee0WGzlg/Listeners, __CF_USER_TEXT_ENCODING=0x1F5:0x0:0x0, GOOGLE_API_KEY=AIzaSyAQfxPJiounkhOjODEO5ZieffeBv6yft2Q, PATH=/Users/kira/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin, PWD=/, EDITOR=vim, LANG=en_US.UTF-8, NODE_PATH=/Applications/Atom.app/Contents/Resources/app.asar/exports, XPC_FLAGS=0x0, PS1=\\[\u001B[38;5;64m\\]\\w$(prompt_git \"\u001B[97m on \u001B[38;5;61m\")\\[\u001B[97m\\] $ \\[\u001B(B\u001B[m\\], NODE_ENV=production, HISTCONTROL=ignoreboth, PS2=\\[\u001B[38;5;136m\\]→ \\[\u001B(B\u001B[m\\], XPC_SERVICE_NAME=0, MANPAGER=less -X, SHLVL=1, HOME=/Users/kira, GREP_OPTIONS=--color, LOGNAME=kira, _=/usr/bin/env, _envCacheDate=Fri Jun 12 2015 11:40:29 GMT+0300 (MSK)\r\n2015-06-12T08:43:31.659Z - verbose: [/Users/kira/.atom/packages/atom-beautify/src/beautifiers/index.coffee] Python /Users/kira/dev/python/flasky/hello.py { indent_size: 'tab',\r\n  indent_char: '\\t',\r\n  indent_with_tabs: true,\r\n  max_line_length: 79,\r\n  ignore: [ 'E24' ],\r\n  charset: 'utf-8',\r\n  indent_style: 'tab',\r\n  end_of_line: 'lf',\r\n  insert_final_newline: true,\r\n  trim_trailing_whitespace: true } indent_size=4, indent_char= , indent_with_tabs=false, configPath=, configPath=, configPath=, indent_size=2, indent_char= , selector_separator_newline=false, newline_between_rules=false, preserve_newlines=false, wrap_line_length=0, indent_comments=true, force_indentation=false, convert_quotes=none, align_assignments=false, configPath=, emacs_path=, emacs_script_path=, indent_inner_html=false, indent_size=2, indent_char= , brace_style=collapse, indent_scripts=normal, wrap_line_length=250, wrap_attributes=auto, wrap_attributes_indent_size=2, preserve_newlines=true, max_preserve_newlines=10, unformatted=[a, sub, sup, b, i, u], end_with_newline=false, configPath=, indent_size=2, 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, configPath=, configPath=, perltidy_profile=, cs_fixer_path=, fixers=, level=, max_line_length=79, indent_size=2, ignore=[E24], indent_size=2, indent_char= , rustfmt_path=, indent_size=2, keywords=upper, identifiers=lower, configPath=, , charset=utf-8, indent_style=tab, end_of_line=lf, insert_final_newline=true, trim_trailing_whitespace=true, indent_size=tab, indent_char=\t, indent_with_tabs=true, , , , , \r\n2015-06-12T08:43:31.659Z - verbose: [/Users/kira/.atom/packages/atom-beautify/src/beautifiers/index.coffee] beautifier autopep8 silly=function (msg) {\r\n      // build argument list (level, msg, ... [string interpolate], [{metadata}], [callback])\r\n      var args = [level].concat(Array.prototype.slice.call(arguments));\r\n      target.log.apply(target, args);\r\n    }, debug=function (msg) {\r\n      // build argument list (level, msg, ... [string interpolate], [{metadata}], [callback])\r\n      var args = [level].concat(Array.prototype.slice.call(arguments));\r\n      target.log.apply(target, args);\r\n    }, verbose=function (msg) {\r\n      // build argument list (level, msg, ... [string interpolate], [{metadata}], [callback])\r\n      var args = [level].concat(Array.prototype.slice.call(arguments));\r\n      target.log.apply(target, args);\r\n    }, info=function (msg) {\r\n      // build argument list (level, msg, ... [string interpolate], [{metadata}], [callback])\r\n      var args = [level].concat(Array.prototype.slice.call(arguments));\r\n      target.log.apply(target, args);\r\n    }, warn=function (msg) {\r\n      // build argument list (level, msg, ... [string interpolate], [{metadata}], [callback])\r\n      var args = [level].concat(Array.prototype.slice.call(arguments));\r\n      target.log.apply(target, args);\r\n    }, error=function (msg) {\r\n      // build argument list (level, msg, ... [string interpolate], [{metadata}], [callback])\r\n      var args = [level].concat(Array.prototype.slice.call(arguments));\r\n      target.log.apply(target, args);\r\n    }, onLogging=function (handler) {\r\n        var subscription;\r\n        subscription = emitter.on('logging', handler);\r\n        return subscription;\r\n      }, silly=function (msg) {\r\n      // build argument list (level, msg, ... [string interpolate], [{metadata}], [callback])\r\n      var args = [level].concat(Array.prototype.slice.call(arguments));\r\n      target.log.apply(target, args);\r\n    }, debug=function (msg) {\r\n      // build argument list (level, msg, ... [string interpolate], [{metadata}], [callback])\r\n      var args = [level].concat(Array.prototype.slice.call(arguments));\r\n      target.log.apply(target, args);\r\n    }, verbose=function (msg) {\r\n      // build argument list (level, msg, ... [string interpolate], [{metadata}], [callback])\r\n      var args = [level].concat(Array.prototype.slice.call(arguments));\r\n      target.log.apply(target, args);\r\n    }, info=function (msg) {\r\n      // build argument list (level, msg, ... [string interpolate], [{metadata}], [callback])\r\n      var args = [level].concat(Array.prototype.slice.call(arguments));\r\n      target.log.apply(target, args);\r\n    }, warn=function (msg) {\r\n      // build argument list (level, msg, ... [string interpolate], [{metadata}], [callback])\r\n      var args = [level].concat(Array.prototype.slice.call(arguments));\r\n      target.log.apply(target, args);\r\n    }, error=function (msg) {\r\n      // build argument list (level, msg, ... [string interpolate], [{metadata}], [callback])\r\n      var args = [level].concat(Array.prototype.slice.call(arguments));\r\n      target.log.apply(target, args);\r\n    }, onLogging=function (handler) {\r\n        var subscription;\r\n        subscription = emitter.on('logging', handler);\r\n        return subscription;\r\n      }, languages=[Python], \u001B(B\u001B[mLESS_TERMCAP_md=\u001B[38;5;136m, TERM=xterm-256color, SHELL=/bin/bash, HISTSIZE=32768, TMPDIR=/var/folders/d6/4pbsf4k95j19kncrr9v01tsw0000gn/T/, Apple_PubSub_Socket_Render=/private/tmp/com.apple.launchd.7W7mtToT0r/Render, LC_ALL=en_US.UTF-8, ATOM_HOME=/Users/kira/.atom, HISTFILESIZE=32768, USER=kira, LS_COLORS=no, COMMAND_MODE=unix2003, SSH_AUTH_SOCK=/private/tmp/com.apple.launchd.b8Ee0WGzlg/Listeners, __CF_USER_TEXT_ENCODING=0x1F5:0x0:0x0, GOOGLE_API_KEY=AIzaSyAQfxPJiounkhOjODEO5ZieffeBv6yft2Q, PATH=/Users/kira/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin, PWD=/, EDITOR=vim, LANG=en_US.UTF-8, NODE_PATH=/Applications/Atom.app/Contents/Resources/app.asar/exports, XPC_FLAGS=0x0, PS1=\\[\u001B[38;5;64m\\]\\w$(prompt_git \"\u001B[97m on \u001B[38;5;61m\")\\[\u001B[97m\\] $ \\[\u001B(B\u001B[m\\], NODE_ENV=production, HISTCONTROL=ignoreboth, PS2=\\[\u001B[38;5;136m\\]→ \\[\u001B(B\u001B[m\\], XPC_SERVICE_NAME=0, MANPAGER=less -X, SHLVL=1, HOME=/Users/kira, GREP_OPTIONS=--color, LOGNAME=kira, _=/usr/bin/env, _envCacheDate=Fri Jun 12 2015 11:40:29 GMT+0300 (MSK)\r\n2015-06-12T08:43:31.661Z - debug: [/Users/kira/.atom/packages/atom-beautify/src/beautifiers/beautifier.coffee] tempFile input null path=/var/folders/d6/4pbsf4k95j19kncrr9v01tsw0000gn/T/input115512-49482-1numtpa, fd=44\r\n2015-06-12T08:43:31.663Z - debug: [/Users/kira/.atom/packages/atom-beautify/src/beautifiers/beautifier.coffee] exeName, args: autopep8 0=/var/folders/d6/4pbsf4k95j19kncrr9v01tsw0000gn/T/input115512-49482-1numtpa, 1=--max-line-length, 2=79, 3=--indent-size, 4=tab, 5=--ignore, 6=E24\r\n2015-06-12T08:43:32.076Z - debug: [/Users/kira/.atom/packages/atom-beautify/src/beautifiers/beautifier.coffee] exePath, env: /usr/local/bin/autopep8 \u001B(B\u001B[mLESS_TERMCAP_md=\u001B[38;5;136m, TERM=xterm-256color, SHELL=/bin/bash, HISTSIZE=32768, TMPDIR=/var/folders/d6/4pbsf4k95j19kncrr9v01tsw0000gn/T/, Apple_PubSub_Socket_Render=/private/tmp/com.apple.launchd.7W7mtToT0r/Render, LC_ALL=en_US.UTF-8, ATOM_HOME=/Users/kira/.atom, HISTFILESIZE=32768, USER=kira, LS_COLORS=no, COMMAND_MODE=unix2003, SSH_AUTH_SOCK=/private/tmp/com.apple.launchd.b8Ee0WGzlg/Listeners, __CF_USER_TEXT_ENCODING=0x1F5:0x0:0x0, GOOGLE_API_KEY=AIzaSyAQfxPJiounkhOjODEO5ZieffeBv6yft2Q, PATH=/Users/kira/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin, PWD=/, EDITOR=vim, LANG=en_US.UTF-8, NODE_PATH=/Applications/Atom.app/Contents/Resources/app.asar/exports, XPC_FLAGS=0x0, PS1=\\[\u001B[38;5;64m\\]\\w$(prompt_git \"\u001B[97m on \u001B[38;5;61m\")\\[\u001B[97m\\] $ \\[\u001B(B\u001B[m\\], NODE_ENV=production, HISTCONTROL=ignoreboth, PS2=\\[\u001B[38;5;136m\\]→ \\[\u001B(B\u001B[m\\], XPC_SERVICE_NAME=0, MANPAGER=less -X, SHLVL=1, HOME=/Users/kira, GREP_OPTIONS=--color, LOGNAME=kira, _=/usr/bin/env\r\n2015-06-12T08:43:32.076Z - debug: [/Users/kira/.atom/packages/atom-beautify/src/beautifiers/beautifier.coffee] spawn /usr/local/bin/autopep8 0=/var/folders/d6/4pbsf4k95j19kncrr9v01tsw0000gn/T/input115512-49482-1numtpa, 1=--max-line-length, 2=79, 3=--indent-size, 4=tab, 5=--ignore, 6=E24\r\n2015-06-12T08:43:32.452Z - debug: [/Users/kira/.atom/packages/atom-beautify/src/beautifiers/beautifier.coffee] spawn done 2 usage: autopep8 [-h] [--version] [-v] [-d] [-i] [--global-config filename]\r\n                [--ignore-local-config] [-r] [-j n] [-p n] [-a]\r\n                [--experimental] [--exclude globs] [--list-fixes]\r\n                [--ignore errors] [--select errors] [--max-line-length n]\r\n                [--range line line] [--indent-size n]\r\n                [files [files ...]]\r\nautopep8: error: argument --indent-size: invalid int value: 'tab'\r\n \r\n\r\n```\r\nP.S. autopep8 works fine in terminal!"},"comment":{"url":"https://api.github.com/repos/Glavin001/atom-beautify/issues/comments/111754300","html_url":"https://github.com/Glavin001/atom-beautify/issues/398#issuecomment-111754300","issue_url":"https://api.github.com/repos/Glavin001/atom-beautify/issues/398","id":111754300,"user":{"login":"Glavin001","id":1885333,"avatar_url":"https://avatars.githubusercontent.com/u/1885333?v=3","gravatar_id":"","url":"https://api.github.com/users/Glavin001","html_url":"https://github.com/Glavin001","followers_url":"https://api.github.com/users/Glavin001/followers","following_url":"https://api.github.com/users/Glavin001/following{/other_user}","gists_url":"https://api.github.com/users/Glavin001/gists{/gist_id}","starred_url":"https://api.github.com/users/Glavin001/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Glavin001/subscriptions","organizations_url":"https://api.github.com/users/Glavin001/orgs","repos_url":"https://api.github.com/users/Glavin001/repos","events_url":"https://api.github.com/users/Glavin001/events{/privacy}","received_events_url":"https://api.github.com/users/Glavin001/received_events","type":"User","site_admin":false},"created_at":"2015-06-13T21:39:16Z","updated_at":"2015-06-13T21:39:16Z","body":"Great!\r\n\r\nThis is actually a duplicate of https://github.com/Glavin001/atom-beautify/issues/339\r\nAlso see for details: https://github.com/sindresorhus/atom-editorconfig/issues/32\r\n\r\nTurns out that `indent_style = tab` creates `indent_size = tab`. See https://github.com/editorconfig/editorconfig-core-js/blob/9b74f2a9c71ac7fa316bddb0f6e1d967b03a2411/editorconfig.js#L54\r\n\r\nSo it's more of an editorconfig \"feature\" that shows itself as a bug in Atom Beautify.\r\nI originally closed this in #339 because it's an issue with `editorconfig` and the recommended workaround in `atom-editorconfig` was to use `indent_size = 2`, as you already have. This is the second time this has happened, so I think it may be worthwhile considering a workaround implemented directly in Atom Beautify.\r\n\r\nI am going to close this issue as a duplicate of #339 and reopen #339 as it has all of my notes on this topic and then add this to Atom Beautify's feature requests, to essentially fix weird expected behaviours of editorconfig :stuck_out_tongue_winking_eye:."}}