{"action":"opened","issue":{"url":"https://api.github.com/repos/tox-dev/tox/issues/846","repository_url":"https://api.github.com/repos/tox-dev/tox","labels_url":"https://api.github.com/repos/tox-dev/tox/issues/846/labels{/name}","comments_url":"https://api.github.com/repos/tox-dev/tox/issues/846/comments","events_url":"https://api.github.com/repos/tox-dev/tox/issues/846/events","html_url":"https://github.com/tox-dev/tox/issues/846","id":331882600,"node_id":"MDU6SXNzdWUzMzE4ODI2MDA=","number":846,"title":"Tox Report exclude_lines","user":{"login":"Ademord","id":4501464,"node_id":"MDQ6VXNlcjQ1MDE0NjQ=","avatar_url":"https://avatars1.githubusercontent.com/u/4501464?v=4","gravatar_id":"","url":"https://api.github.com/users/Ademord","html_url":"https://github.com/Ademord","followers_url":"https://api.github.com/users/Ademord/followers","following_url":"https://api.github.com/users/Ademord/following{/other_user}","gists_url":"https://api.github.com/users/Ademord/gists{/gist_id}","starred_url":"https://api.github.com/users/Ademord/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ademord/subscriptions","organizations_url":"https://api.github.com/users/Ademord/orgs","repos_url":"https://api.github.com/users/Ademord/repos","events_url":"https://api.github.com/users/Ademord/events{/privacy}","received_events_url":"https://api.github.com/users/Ademord/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-06-13T07:57:29Z","updated_at":"2018-06-13T07:57:29Z","closed_at":null,"author_association":"NONE","body":"Hello!\r\nI am trying to exclude code in the tox report, from what I gathered online I am trying to use the following in my **tox.ini** file:\r\n```\r\n[report]\r\nexclude_lines=\r\n    pragma: no cover\r\n    pragma: ${MYSQL_TESTS} cover\r\n\r\n```\r\nBut it doesn't seem to work, especially for the **environment variable** (spawning a docker container where I run all tests), for example **MYSQL_TESTS=NO**.\r\n\r\nCould someone help me out please? Am i setting this wrong? On my code i have it something like\r\n\r\n- for env. variable pragma:\r\n```\r\ndef foo(params):  # NO cover\r\n    ...\r\n```\r\n- for normal pragma:\r\n```\r\ndef foo(params):  # no cover\r\n    ...\r\n```"}}
{"actor":{"display_login":"Ademord"}}