{"action":"created","issue":{"url":"https://api.github.com/repos/AtomLinter/linter-flake8/issues/47","labels_url":"https://api.github.com/repos/AtomLinter/linter-flake8/issues/47/labels{/name}","comments_url":"https://api.github.com/repos/AtomLinter/linter-flake8/issues/47/comments","events_url":"https://api.github.com/repos/AtomLinter/linter-flake8/issues/47/events","html_url":"https://github.com/AtomLinter/linter-flake8/issues/47","id":91943320,"number":47,"title":"Max Line Length and E501","user":{"login":"dkirkby","id":185007,"avatar_url":"https://avatars.githubusercontent.com/u/185007?v=3","gravatar_id":"","url":"https://api.github.com/users/dkirkby","html_url":"https://github.com/dkirkby","followers_url":"https://api.github.com/users/dkirkby/followers","following_url":"https://api.github.com/users/dkirkby/following{/other_user}","gists_url":"https://api.github.com/users/dkirkby/gists{/gist_id}","starred_url":"https://api.github.com/users/dkirkby/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dkirkby/subscriptions","organizations_url":"https://api.github.com/users/dkirkby/orgs","repos_url":"https://api.github.com/users/dkirkby/repos","events_url":"https://api.github.com/users/dkirkby/events{/privacy}","received_events_url":"https://api.github.com/users/dkirkby/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-06-30T00:38:45Z","updated_at":"2015-07-01T08:43:50Z","closed_at":null,"body":"Is the \"Max Line Length\" config parameter supposed to be passed as `--max-line-length` to `flake8`?  If so, it isn't working for me with atom 1.0.0, linter 1.1.0 and linter-flake8 1.4.2.  Here are the relevant lines from my `config.cson`:\r\n```\r\n  linter: {}\r\n  \"linter-flake8\":\r\n    maxLineLength: 95\r\n```\r\nbut I am getting E501 errors based on a max-line-length of 79, as shown in this screen capture:\r\n![e501](https://cloud.githubusercontent.com/assets/185007/8421559/7628e1d6-1e85-11e5-92d4-72b6a647773c.png)\r\n"},"comment":{"url":"https://api.github.com/repos/AtomLinter/linter-flake8/issues/comments/117542300","html_url":"https://github.com/AtomLinter/linter-flake8/issues/47#issuecomment-117542300","issue_url":"https://api.github.com/repos/AtomLinter/linter-flake8/issues/47","id":117542300,"user":{"login":"badray","id":895344,"avatar_url":"https://avatars.githubusercontent.com/u/895344?v=3","gravatar_id":"","url":"https://api.github.com/users/badray","html_url":"https://github.com/badray","followers_url":"https://api.github.com/users/badray/followers","following_url":"https://api.github.com/users/badray/following{/other_user}","gists_url":"https://api.github.com/users/badray/gists{/gist_id}","starred_url":"https://api.github.com/users/badray/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/badray/subscriptions","organizations_url":"https://api.github.com/users/badray/orgs","repos_url":"https://api.github.com/users/badray/repos","events_url":"https://api.github.com/users/badray/events{/privacy}","received_events_url":"https://api.github.com/users/badray/received_events","type":"User","site_admin":false},"created_at":"2015-07-01T08:43:50Z","updated_at":"2015-07-01T08:43:50Z","body":"Sorry I forgot that `config.cson` is atom default package settings file :). But you should use a graphical plugin settings editor which is in `Atom->Preferences->Packages->linter-flake8->Settings`.\r\n\r\n`tox.ini` file is read by flake8 directly, not by the linter, so in your case it should look like this:\r\n```\r\n[flake8]\r\nmax-line-length = 95\r\n```\r\n\r\nSee http://flake8.readthedocs.org/en/latest/config.html for reference.\r\n\r\nHope it helps!"}}