{"action":"closed","issue":{"url":"https://api.github.com/repos/wemake-services/wemake-python-styleguide/issues/423","repository_url":"https://api.github.com/repos/wemake-services/wemake-python-styleguide","labels_url":"https://api.github.com/repos/wemake-services/wemake-python-styleguide/issues/423/labels{/name}","comments_url":"https://api.github.com/repos/wemake-services/wemake-python-styleguide/issues/423/comments","events_url":"https://api.github.com/repos/wemake-services/wemake-python-styleguide/issues/423/events","html_url":"https://github.com/wemake-services/wemake-python-styleguide/issues/423","id":396171541,"node_id":"MDU6SXNzdWUzOTYxNzE1NDE=","number":423,"title":"TypeError: 'NoneType' object is not iterable","user":{"login":"b0g3r","id":19777948,"node_id":"MDQ6VXNlcjE5Nzc3OTQ4","avatar_url":"https://avatars3.githubusercontent.com/u/19777948?v=4","gravatar_id":"","url":"https://api.github.com/users/b0g3r","html_url":"https://github.com/b0g3r","followers_url":"https://api.github.com/users/b0g3r/followers","following_url":"https://api.github.com/users/b0g3r/following{/other_user}","gists_url":"https://api.github.com/users/b0g3r/gists{/gist_id}","starred_url":"https://api.github.com/users/b0g3r/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/b0g3r/subscriptions","organizations_url":"https://api.github.com/users/b0g3r/orgs","repos_url":"https://api.github.com/users/b0g3r/repos","events_url":"https://api.github.com/users/b0g3r/events{/privacy}","received_events_url":"https://api.github.com/users/b0g3r/received_events","type":"User","site_admin":false},"labels":[{"id":862014849,"node_id":"MDU6TGFiZWw4NjIwMTQ4NDk=","url":"https://api.github.com/repos/wemake-services/wemake-python-styleguide/labels/bug","name":"bug","color":"d73a4a","default":true},{"id":1116998331,"node_id":"MDU6TGFiZWwxMTE2OTk4MzMx","url":"https://api.github.com/repos/wemake-services/wemake-python-styleguide/labels/pr-available","name":"pr-available","color":"363396","default":false}],"state":"closed","locked":false,"assignee":{"login":"sobolevn","id":4660275,"node_id":"MDQ6VXNlcjQ2NjAyNzU=","avatar_url":"https://avatars1.githubusercontent.com/u/4660275?v=4","gravatar_id":"","url":"https://api.github.com/users/sobolevn","html_url":"https://github.com/sobolevn","followers_url":"https://api.github.com/users/sobolevn/followers","following_url":"https://api.github.com/users/sobolevn/following{/other_user}","gists_url":"https://api.github.com/users/sobolevn/gists{/gist_id}","starred_url":"https://api.github.com/users/sobolevn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sobolevn/subscriptions","organizations_url":"https://api.github.com/users/sobolevn/orgs","repos_url":"https://api.github.com/users/sobolevn/repos","events_url":"https://api.github.com/users/sobolevn/events{/privacy}","received_events_url":"https://api.github.com/users/sobolevn/received_events","type":"User","site_admin":false},"assignees":[{"login":"sobolevn","id":4660275,"node_id":"MDQ6VXNlcjQ2NjAyNzU=","avatar_url":"https://avatars1.githubusercontent.com/u/4660275?v=4","gravatar_id":"","url":"https://api.github.com/users/sobolevn","html_url":"https://github.com/sobolevn","followers_url":"https://api.github.com/users/sobolevn/followers","following_url":"https://api.github.com/users/sobolevn/following{/other_user}","gists_url":"https://api.github.com/users/sobolevn/gists{/gist_id}","starred_url":"https://api.github.com/users/sobolevn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sobolevn/subscriptions","organizations_url":"https://api.github.com/users/sobolevn/orgs","repos_url":"https://api.github.com/users/sobolevn/repos","events_url":"https://api.github.com/users/sobolevn/events{/privacy}","received_events_url":"https://api.github.com/users/sobolevn/received_events","type":"User","site_admin":false}],"milestone":null,"comments":4,"created_at":"2019-01-05T14:52:23Z","updated_at":"2019-01-05T15:53:55Z","closed_at":"2019-01-05T15:53:55Z","author_association":"NONE","body":"# Bug report\r\nWhen I run `flake8` with `wemake-python-styleguide 0.6.1`, I see exception traceback.\r\n(move from #112)\r\n## System information\r\n### flake8 information\r\n```\r\n{\r\n  \"dependencies\": [\r\n    {\r\n      \"dependency\": \"setuptools\",\r\n      \"version\": \"39.1.0\"\r\n    }\r\n  ],\r\n  \"platform\": {\r\n    \"python_implementation\": \"CPython\",\r\n    \"python_version\": \"3.6.5\",\r\n    \"system\": \"Darwin\"\r\n  },\r\n  \"plugins\": [\r\n    {\r\n      \"is_local\": false,\r\n      \"plugin\": \"flake8-bandit\",\r\n      \"version\": \"v1.0.2\"\r\n    },\r\n    {\r\n      \"is_local\": false,\r\n      \"plugin\": \"flake8-broken-line\",\r\n      \"version\": \"0.1.0\"\r\n    },\r\n    {\r\n      \"is_local\": false,\r\n      \"plugin\": \"flake8-bugbear\",\r\n      \"version\": \"18.8.0\"\r\n    },\r\n    {\r\n      \"is_local\": false,\r\n      \"plugin\": \"flake8-comprehensions\",\r\n      \"version\": \"1.4.1\"\r\n    },\r\n    {\r\n      \"is_local\": false,\r\n      \"plugin\": \"flake8-debugger\",\r\n      \"version\": \"3.1.0\"\r\n    },\r\n    {\r\n      \"is_local\": false,\r\n      \"plugin\": \"flake8-django\",\r\n      \"version\": \"0.0.3\"\r\n    },\r\n    {\r\n      \"is_local\": false,\r\n      \"plugin\": \"flake8-docstrings\",\r\n      \"version\": \"1.3.0, pydocstyle: 3.0.0\"\r\n    },\r\n    {\r\n      \"is_local\": false,\r\n      \"plugin\": \"flake8-eradicate\",\r\n      \"version\": \"0.1.1\"\r\n    },\r\n    {\r\n      \"is_local\": false,\r\n      \"plugin\": \"flake8-print\",\r\n      \"version\": \"3.1.0\"\r\n    },\r\n    {\r\n      \"is_local\": false,\r\n      \"plugin\": \"flake8-string-format\",\r\n      \"version\": \"0.2.3\"\r\n    },\r\n    {\r\n      \"is_local\": false,\r\n      \"plugin\": \"flake8-type-annotations\",\r\n      \"version\": \"0.1.0\"\r\n    },\r\n    {\r\n      \"is_local\": false,\r\n      \"plugin\": \"flake8_builtins\",\r\n      \"version\": \"1.4.1\"\r\n    },\r\n    {\r\n      \"is_local\": false,\r\n      \"plugin\": \"flake8_coding\",\r\n      \"version\": \"1.3.1\"\r\n    },\r\n    {\r\n      \"is_local\": false,\r\n      \"plugin\": \"flake8_commas\",\r\n      \"version\": \"2.0.0\"\r\n    },\r\n    {\r\n      \"is_local\": false,\r\n      \"plugin\": \"flake8_isort\",\r\n      \"version\": \"2.3\"\r\n    },\r\n    {\r\n      \"is_local\": false,\r\n      \"plugin\": \"flake8_pep3101\",\r\n      \"version\": \"1.2.1\"\r\n    },\r\n    {\r\n      \"is_local\": false,\r\n      \"plugin\": \"flake8_quotes\",\r\n      \"version\": \"1.0.0\"\r\n    },\r\n    {\r\n      \"is_local\": false,\r\n      \"plugin\": \"logging-format\",\r\n      \"version\": \"0.5.0\"\r\n    },\r\n    {\r\n      \"is_local\": false,\r\n      \"plugin\": \"mccabe\",\r\n      \"version\": \"0.6.1\"\r\n    },\r\n    {\r\n      \"is_local\": false,\r\n      \"plugin\": \"naming\",\r\n      \"version\": \"0.7.0\"\r\n    },\r\n    {\r\n      \"is_local\": false,\r\n      \"plugin\": \"per-file-ignores\",\r\n      \"version\": \"0.6\"\r\n    },\r\n    {\r\n      \"is_local\": false,\r\n      \"plugin\": \"pycodestyle\",\r\n      \"version\": \"2.4.0\"\r\n    },\r\n    {\r\n      \"is_local\": false,\r\n      \"plugin\": \"pyflakes\",\r\n      \"version\": \"2.0.0\"\r\n    },\r\n    {\r\n      \"is_local\": false,\r\n      \"plugin\": \"wemake-python-styleguide\",\r\n      \"version\": \"0.6.1\"\r\n    }\r\n  ],\r\n  \"version\": \"3.6.0\"\r\n}\r\n```\r\n### traceback\r\n```\r\nmultiprocessing.pool.RemoteTraceback: \r\n\"\"\"\r\nTraceback (most recent call last):\r\n  File \"/usr/local/Cellar/python/3.6.5_1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/multiprocessing/pool.py\", line 119, in worker\r\n    result = (True, func(*args, **kwds))\r\n  File \"/Users/boger/virtualvenvs/myproject-backend-v3/lib/python3.6/site-packages/flake8/checker.py\", line 682, in _run_checks\r\n    return checker.run_checks()\r\n  File \"/Users/boger/virtualvenvs/myproject-backend-v3/lib/python3.6/site-packages/flake8/checker.py\", line 612, in run_checks\r\n    self.run_ast_checks()\r\n  File \"/Users/boger/virtualvenvs/myproject-backend-v3/lib/python3.6/site-packages/flake8/checker.py\", line 520, in run_ast_checks\r\n    for (line_number, offset, text, check) in runner:\r\n  File \"/Users/boger/virtualvenvs/myproject-backend-v3/lib/python3.6/site-packages/wemake_python_styleguide/checker.py\", line 178, in run\r\n    yield from self._run_checks(self.visitors)\r\n  File \"/Users/boger/virtualvenvs/myproject-backend-v3/lib/python3.6/site-packages/wemake_python_styleguide/checker.py\", line 166, in _run_checks\r\n    visitor.run()\r\n  File \"/Users/boger/virtualvenvs/myproject-backend-v3/lib/python3.6/site-packages/wemake_python_styleguide/visitors/base.py\", line 140, in run\r\n    self.visit(self.tree)\r\n  File \"/usr/local/Cellar/python/3.6.5_1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/ast.py\", line 253, in visit\r\n    return visitor(node)\r\n  File \"/usr/local/Cellar/python/3.6.5_1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/ast.py\", line 261, in generic_visit\r\n    self.visit(item)\r\n  File \"/usr/local/Cellar/python/3.6.5_1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/ast.py\", line 253, in visit\r\n    return visitor(node)\r\n  File \"/Users/boger/virtualvenvs/myproject-backend-v3/lib/python3.6/site-packages/wemake_python_styleguide/visitors/ast/naming.py\", line 154, in visit_ClassDef\r\n    self._validator.check_attribute_name(node)\r\n  File \"/Users/boger/virtualvenvs/myproject-backend-v3/lib/python3.6/site-packages/wemake_python_styleguide/visitors/ast/naming.py\", line 117, in check_attribute_name\r\n    if logical.is_upper_case_name(name):\r\n  File \"/Users/boger/virtualvenvs/myproject-backend-v3/lib/python3.6/site-packages/wemake_python_styleguide/logics/naming/logical.py\", line 70, in is_upper_case_name\r\n    return any(character.isupper() for character in name)\r\nTypeError: 'NoneType' object is not iterable\r\n\"\"\"\r\n\r\nThe above exception was the direct cause of the following exception:\r\n\r\nTraceback (most recent call last):\r\n  File \"/usr/local/Cellar/python/3.6.5_1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/runpy.py\", line 193, in _run_module_as_main\r\n    \"__main__\", mod_spec)\r\n  File \"/usr/local/Cellar/python/3.6.5_1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/runpy.py\", line 85, in _run_code\r\n    exec(code, run_globals)\r\n  File \"/Users/boger/virtualvenvs/myproject-backend-v3/lib/python3.6/site-packages/flake8/__main__.py\", line 4, in <module>\r\n    cli.main()\r\n  File \"/Users/boger/virtualvenvs/myproject-backend-v3/lib/python3.6/site-packages/flake8/main/cli.py\", line 16, in main\r\n    app.run(argv)\r\n  File \"/Users/boger/virtualvenvs/myproject-backend-v3/lib/python3.6/site-packages/flake8/main/application.py\", line 412, in run\r\n    self._run(argv)\r\n  File \"/Users/boger/virtualvenvs/myproject-backend-v3/lib/python3.6/site-packages/flake8/main/application.py\", line 400, in _run\r\n    self.run_checks()\r\n  File \"/Users/boger/virtualvenvs/myproject-backend-v3/lib/python3.6/site-packages/flake8/main/application.py\", line 318, in run_checks\r\n    self.file_checker_manager.run()\r\n  File \"/Users/boger/virtualvenvs/myproject-backend-v3/lib/python3.6/site-packages/flake8_per_file_ignores.py\", line 33, in run\r\n    orig_run(self)\r\n  File \"/Users/boger/virtualvenvs/myproject-backend-v3/lib/python3.6/site-packages/flake8/checker.py\", line 338, in run\r\n    self.run_parallel()\r\n  File \"/Users/boger/virtualvenvs/myproject-backend-v3/lib/python3.6/site-packages/flake8/checker.py\", line 302, in run_parallel\r\n    for ret in pool_map:\r\n  File \"/usr/local/Cellar/python/3.6.5_1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/multiprocessing/pool.py\", line 735, in next\r\n    raise value\r\nTypeError: 'NoneType' object is not iterable\r\n```"}}
{"actor":{"display_login":"sobolevn"}}