{"action":"opened","issue":{"url":"https://api.github.com/repos/SublimeLinter/SublimeLinter-pep8/issues/17","repository_url":"https://api.github.com/repos/SublimeLinter/SublimeLinter-pep8","labels_url":"https://api.github.com/repos/SublimeLinter/SublimeLinter-pep8/issues/17/labels{/name}","comments_url":"https://api.github.com/repos/SublimeLinter/SublimeLinter-pep8/issues/17/comments","events_url":"https://api.github.com/repos/SublimeLinter/SublimeLinter-pep8/issues/17/events","html_url":"https://github.com/SublimeLinter/SublimeLinter-pep8/issues/17","id":173676143,"number":17,"title":"Project overrides from setup.cfg/tox.ini are not respected when using module","user":{"login":"rchl","id":153197,"avatar_url":"https://avatars.githubusercontent.com/u/153197?v=3","gravatar_id":"","url":"https://api.github.com/users/rchl","html_url":"https://github.com/rchl","followers_url":"https://api.github.com/users/rchl/followers","following_url":"https://api.github.com/users/rchl/following{/other_user}","gists_url":"https://api.github.com/users/rchl/gists{/gist_id}","starred_url":"https://api.github.com/users/rchl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rchl/subscriptions","organizations_url":"https://api.github.com/users/rchl/orgs","repos_url":"https://api.github.com/users/rchl/repos","events_url":"https://api.github.com/users/rchl/events{/privacy}","received_events_url":"https://api.github.com/users/rchl/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-08-29T00:12:40Z","updated_at":"2016-08-29T00:12:40Z","closed_at":null,"body":"There is such code in the linter:\r\n\r\n>             pep8_options, _ = process_options([os.curdir], True, True, parser=parser)\r\n> \r\n>             # Merge options only if the pep8 config file actually exists;\r\n>             # pep8 always returns a config filename, even when it doesn't exist!\r\n>             if os.path.isfile(pep8_options.config):\r\n\r\nFirst line passes `True` as an `config_file` argument (the third one).\r\nThen that `True` value is used in an `os.path.isfile()` which will always return `False`.\r\nThat doesn't make sense. It would maybe if pep8 linter would update `config` argument but it doesn't.\r\nThe effect is that project options are never merged with global ones so project overrides are not respected."}}
{"actor":{"display_login":"rchl"}}