{"action":"created","issue":{"url":"https://api.github.com/repos/pypa/setuptools/issues/772","repository_url":"https://api.github.com/repos/pypa/setuptools","labels_url":"https://api.github.com/repos/pypa/setuptools/issues/772/labels{/name}","comments_url":"https://api.github.com/repos/pypa/setuptools/issues/772/comments","events_url":"https://api.github.com/repos/pypa/setuptools/issues/772/events","html_url":"https://github.com/pypa/setuptools/pull/772","id":174959151,"number":772,"title":"pytest: ignore all .* directories","user":{"login":"leorochael","id":239125,"avatar_url":"https://avatars.githubusercontent.com/u/239125?v=3","gravatar_id":"","url":"https://api.github.com/users/leorochael","html_url":"https://github.com/leorochael","followers_url":"https://api.github.com/users/leorochael/followers","following_url":"https://api.github.com/users/leorochael/following{/other_user}","gists_url":"https://api.github.com/users/leorochael/gists{/gist_id}","starred_url":"https://api.github.com/users/leorochael/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leorochael/subscriptions","organizations_url":"https://api.github.com/users/leorochael/orgs","repos_url":"https://api.github.com/users/leorochael/repos","events_url":"https://api.github.com/users/leorochael/events{/privacy}","received_events_url":"https://api.github.com/users/leorochael/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-09-04T17:14:47Z","updated_at":"2016-09-11T02:35:35Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/pypa/setuptools/pulls/772","html_url":"https://github.com/pypa/setuptools/pull/772","diff_url":"https://github.com/pypa/setuptools/pull/772.diff","patch_url":"https://github.com/pypa/setuptools/pull/772.patch"},"body":"In Cloud9 a .c9 directory is created. Other IDEs like to add .directories as well.\r\n\r\nThis PR has pytest ignoring all `.*` instead of just `.tox`"},"comment":{"url":"https://api.github.com/repos/pypa/setuptools/issues/comments/246157969","html_url":"https://github.com/pypa/setuptools/pull/772#issuecomment-246157969","issue_url":"https://api.github.com/repos/pypa/setuptools/issues/772","id":246157969,"user":{"login":"leorochael","id":239125,"avatar_url":"https://avatars.githubusercontent.com/u/239125?v=3","gravatar_id":"","url":"https://api.github.com/users/leorochael","html_url":"https://github.com/leorochael","followers_url":"https://api.github.com/users/leorochael/followers","following_url":"https://api.github.com/users/leorochael/following{/other_user}","gists_url":"https://api.github.com/users/leorochael/gists{/gist_id}","starred_url":"https://api.github.com/users/leorochael/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leorochael/subscriptions","organizations_url":"https://api.github.com/users/leorochael/orgs","repos_url":"https://api.github.com/users/leorochael/repos","events_url":"https://api.github.com/users/leorochael/events{/privacy}","received_events_url":"https://api.github.com/users/leorochael/received_events","type":"User","site_admin":false},"created_at":"2016-09-11T02:35:35Z","updated_at":"2016-09-11T02:35:35Z","body":"@jaraco, yes, like @timheap said. Easily reproduceable: add a `.c9` directory and a `test_fail.py` inside it with these contents:\r\n\r\n```\r\ndef test_fail():\r\n    assert False, \"failed\"\r\n```\r\n\r\nThen run `python setup.py test`.\r\n\r\nI can easily ignore things locally in git by adding them to `$HOME/.config/git/ignore` or `.git/info/exclude`, but it's hard to tell `pytest` to ignore things without changing something else that can't easily be ignored by `git` since `pytest` doesn't overlay configuration files. It only uses the first configuration file it finds.\r\n\r\nThe only workaround I found was to do run either:\r\n\r\n * `python setup.py test --addopt=--ignore=.c9`\r\n\r\nOr\r\n\r\n  * `PYTEST_ADDOPTS=--ignore=.c9 python setup.py test`\r\n\r\nBut those are cumbersome and hard to remember. And in the heat of running all tests it takes a good five minutes to understand why `pytest` is collecting more than it should. It happened me to both this project and to `pep8/pycodestyle`."}}
{"actor":{"display_login":"leorochael"}}