{"action":"created","comment":{"url":"https://api.github.com/repos/rtfd/readthedocs.org/pulls/comments/209747464","pull_request_review_id":145821948,"id":209747464,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIwOTc0NzQ2NA==","diff_hunk":"@@ -966,17 +966,11 @@ def load(path, env_config):\n     the version of the configuration a build object would be load and validated,\n     ``BuildConfigV1`` is the default.\n     \"\"\"\n-    filename = find_one(path, CONFIG_FILENAMES)\n+    filename = find_one(path, CONFIG_FILENAME_REGEX)\n \n     if not filename:\n-        files = '{}'.format(', '.join(map(repr, CONFIG_FILENAMES[:-1])))\n-        if files:\n-            files += ' or '\n-        files += '{!r}'.format(CONFIG_FILENAMES[-1])\n-        raise ConfigError(\n-            'No files {} found'.format(files),\n-            code=CONFIG_REQUIRED,\n-        )\n+        raise ConfigError('No configuration file found',\n+                          code=CONFIG_REQUIRED)","path":"readthedocs/config/config.py","position":35,"original_position":35,"commit_id":"e3f54d34f59f75d1bcf2637aee6dfa73f5cf90da","original_commit_id":"e3f54d34f59f75d1bcf2637aee6dfa73f5cf90da","user":{"login":"stsewd","id":4975310,"node_id":"MDQ6VXNlcjQ5NzUzMTA=","avatar_url":"https://avatars2.githubusercontent.com/u/4975310?v=4","gravatar_id":"","url":"https://api.github.com/users/stsewd","html_url":"https://github.com/stsewd","followers_url":"https://api.github.com/users/stsewd/followers","following_url":"https://api.github.com/users/stsewd/following{/other_user}","gists_url":"https://api.github.com/users/stsewd/gists{/gist_id}","starred_url":"https://api.github.com/users/stsewd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stsewd/subscriptions","organizations_url":"https://api.github.com/users/stsewd/orgs","repos_url":"https://api.github.com/users/stsewd/repos","events_url":"https://api.github.com/users/stsewd/events{/privacy}","received_events_url":"https://api.github.com/users/stsewd/received_events","type":"User","site_admin":false},"body":"Our style guide is something like\r\n\r\n```python3\r\nraise ConfigError(\r\n    'Text',\r\n    code=CONFIG_REQUIRED\r\n)\r\n```","created_at":"2018-08-13T20:28:03Z","updated_at":"2018-08-13T20:33:05Z","html_url":"https://github.com/rtfd/readthedocs.org/pull/4512#discussion_r209747464","pull_request_url":"https://api.github.com/repos/rtfd/readthedocs.org/pulls/4512","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/rtfd/readthedocs.org/pulls/comments/209747464"},"html":{"href":"https://github.com/rtfd/readthedocs.org/pull/4512#discussion_r209747464"},"pull_request":{"href":"https://api.github.com/repos/rtfd/readthedocs.org/pulls/4512"}}},"pull_request":{"url":"https://api.github.com/repos/rtfd/readthedocs.org/pulls/4512","id":208068676,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA4MDY4Njc2","html_url":"https://github.com/rtfd/readthedocs.org/pull/4512","diff_url":"https://github.com/rtfd/readthedocs.org/pull/4512.diff","patch_url":"https://github.com/rtfd/readthedocs.org/pull/4512.patch","issue_url":"https://api.github.com/repos/rtfd/readthedocs.org/issues/4512","number":4512,"state":"open","locked":false,"title":"Allow for period as a prefix and yaml extension for config file","user":{"login":"StefanoChiodino","id":1428893,"node_id":"MDQ6VXNlcjE0Mjg4OTM=","avatar_url":"https://avatars1.githubusercontent.com/u/1428893?v=4","gravatar_id":"","url":"https://api.github.com/users/StefanoChiodino","html_url":"https://github.com/StefanoChiodino","followers_url":"https://api.github.com/users/StefanoChiodino/followers","following_url":"https://api.github.com/users/StefanoChiodino/following{/other_user}","gists_url":"https://api.github.com/users/StefanoChiodino/gists{/gist_id}","starred_url":"https://api.github.com/users/StefanoChiodino/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/StefanoChiodino/subscriptions","organizations_url":"https://api.github.com/users/StefanoChiodino/orgs","repos_url":"https://api.github.com/users/StefanoChiodino/repos","events_url":"https://api.github.com/users/StefanoChiodino/events{/privacy}","received_events_url":"https://api.github.com/users/StefanoChiodino/received_events","type":"User","site_admin":false},"body":"Fixes #4102 bringing it over from the build repo.\r\n\r\nRef. https://github.com/rtfd/readthedocs-build/pull/48","created_at":"2018-08-13T18:48:22Z","updated_at":"2018-08-13T20:33:05Z","closed_at":null,"merged_at":null,"merge_commit_sha":"4ea2e3aff7a57718da0a0776dc3f0aa1aa4e4b3e","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/rtfd/readthedocs.org/pulls/4512/commits","review_comments_url":"https://api.github.com/repos/rtfd/readthedocs.org/pulls/4512/comments","review_comment_url":"https://api.github.com/repos/rtfd/readthedocs.org/pulls/comments{/number}","comments_url":"https://api.github.com/repos/rtfd/readthedocs.org/issues/4512/comments","statuses_url":"https://api.github.com/repos/rtfd/readthedocs.org/statuses/e3f54d34f59f75d1bcf2637aee6dfa73f5cf90da","head":{"label":"StefanoChiodino:master","ref":"master","sha":"e3f54d34f59f75d1bcf2637aee6dfa73f5cf90da","user":{"login":"StefanoChiodino","id":1428893,"node_id":"MDQ6VXNlcjE0Mjg4OTM=","avatar_url":"https://avatars1.githubusercontent.com/u/1428893?v=4","gravatar_id":"","url":"https://api.github.com/users/StefanoChiodino","html_url":"https://github.com/StefanoChiodino","followers_url":"https://api.github.com/users/StefanoChiodino/followers","following_url":"https://api.github.com/users/StefanoChiodino/following{/other_user}","gists_url":"https://api.github.com/users/StefanoChiodino/gists{/gist_id}","starred_url":"https://api.github.com/users/StefanoChiodino/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/StefanoChiodino/subscriptions","organizations_url":"https://api.github.com/users/StefanoChiodino/orgs","repos_url":"https://api.github.com/users/StefanoChiodino/repos","events_url":"https://api.github.com/users/StefanoChiodino/events{/privacy}","received_events_url":"https://api.github.com/users/StefanoChiodino/received_events","type":"User","site_admin":false},"repo":{"id":134468898,"node_id":"MDEwOlJlcG9zaXRvcnkxMzQ0Njg4OTg=","name":"readthedocs.org","full_name":"StefanoChiodino/readthedocs.org","owner":{"login":"StefanoChiodino","id":1428893,"node_id":"MDQ6VXNlcjE0Mjg4OTM=","avatar_url":"https://avatars1.githubusercontent.com/u/1428893?v=4","gravatar_id":"","url":"https://api.github.com/users/StefanoChiodino","html_url":"https://github.com/StefanoChiodino","followers_url":"https://api.github.com/users/StefanoChiodino/followers","following_url":"https://api.github.com/users/StefanoChiodino/following{/other_user}","gists_url":"https://api.github.com/users/StefanoChiodino/gists{/gist_id}","starred_url":"https://api.github.com/users/StefanoChiodino/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/StefanoChiodino/subscriptions","organizations_url":"https://api.github.com/users/StefanoChiodino/orgs","repos_url":"https://api.github.com/users/StefanoChiodino/repos","events_url":"https://api.github.com/users/StefanoChiodino/events{/privacy}","received_events_url":"https://api.github.com/users/StefanoChiodino/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/StefanoChiodino/readthedocs.org","description":"The source code that powers readthedocs.org","fork":true,"url":"https://api.github.com/repos/StefanoChiodino/readthedocs.org","forks_url":"https://api.github.com/repos/StefanoChiodino/readthedocs.org/forks","keys_url":"https://api.github.com/repos/StefanoChiodino/readthedocs.org/keys{/key_id}","collaborators_url":"https://api.github.com/repos/StefanoChiodino/readthedocs.org/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/StefanoChiodino/readthedocs.org/teams","hooks_url":"https://api.github.com/repos/StefanoChiodino/readthedocs.org/hooks","issue_events_url":"https://api.github.com/repos/StefanoChiodino/readthedocs.org/issues/events{/number}","events_url":"https://api.github.com/repos/StefanoChiodino/readthedocs.org/events","assignees_url":"https://api.github.com/repos/StefanoChiodino/readthedocs.org/assignees{/user}","branches_url":"https://api.github.com/repos/StefanoChiodino/readthedocs.org/branches{/branch}","tags_url":"https://api.github.com/repos/StefanoChiodino/readthedocs.org/tags","blobs_url":"https://api.github.com/repos/StefanoChiodino/readthedocs.org/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/StefanoChiodino/readthedocs.org/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/StefanoChiodino/readthedocs.org/git/refs{/sha}","trees_url":"https://api.github.com/repos/StefanoChiodino/readthedocs.org/git/trees{/sha}","statuses_url":"https://api.github.com/repos/StefanoChiodino/readthedocs.org/statuses/{sha}","languages_url":"https://api.github.com/repos/StefanoChiodino/readthedocs.org/languages","stargazers_url":"https://api.github.com/repos/StefanoChiodino/readthedocs.org/stargazers","contributors_url":"https://api.github.com/repos/StefanoChiodino/readthedocs.org/contributors","subscribers_url":"https://api.github.com/repos/StefanoChiodino/readthedocs.org/subscribers","subscription_url":"https://api.github.com/repos/StefanoChiodino/readthedocs.org/subscription","commits_url":"https://api.github.com/repos/StefanoChiodino/readthedocs.org/commits{/sha}","git_commits_url":"https://api.github.com/repos/StefanoChiodino/readthedocs.org/git/commits{/sha}","comments_url":"https://api.github.com/repos/StefanoChiodino/readthedocs.org/comments{/number}","issue_comment_url":"https://api.github.com/repos/StefanoChiodino/readthedocs.org/issues/comments{/number}","contents_url":"https://api.github.com/repos/StefanoChiodino/readthedocs.org/contents/{+path}","compare_url":"https://api.github.com/repos/StefanoChiodino/readthedocs.org/compare/{base}...{head}","merges_url":"https://api.github.com/repos/StefanoChiodino/readthedocs.org/merges","archive_url":"https://api.github.com/repos/StefanoChiodino/readthedocs.org/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/StefanoChiodino/readthedocs.org/downloads","issues_url":"https://api.github.com/repos/StefanoChiodino/readthedocs.org/issues{/number}","pulls_url":"https://api.github.com/repos/StefanoChiodino/readthedocs.org/pulls{/number}","milestones_url":"https://api.github.com/repos/StefanoChiodino/readthedocs.org/milestones{/number}","notifications_url":"https://api.github.com/repos/StefanoChiodino/readthedocs.org/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/StefanoChiodino/readthedocs.org/labels{/name}","releases_url":"https://api.github.com/repos/StefanoChiodino/readthedocs.org/releases{/id}","deployments_url":"https://api.github.com/repos/StefanoChiodino/readthedocs.org/deployments","created_at":"2018-05-22T19:57:47Z","updated_at":"2018-08-13T18:44:03Z","pushed_at":"2018-08-13T18:43:41Z","git_url":"git://github.com/StefanoChiodino/readthedocs.org.git","ssh_url":"git@github.com:StefanoChiodino/readthedocs.org.git","clone_url":"https://github.com/StefanoChiodino/readthedocs.org.git","svn_url":"https://github.com/StefanoChiodino/readthedocs.org","homepage":"https://readthedocs.org/","size":51237,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"rtfd:master","ref":"master","sha":"ea7d37ee85b7659497bf130c72eaa085107f2cad","user":{"login":"rtfd","id":366329,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM2NjMyOQ==","avatar_url":"https://avatars2.githubusercontent.com/u/366329?v=4","gravatar_id":"","url":"https://api.github.com/users/rtfd","html_url":"https://github.com/rtfd","followers_url":"https://api.github.com/users/rtfd/followers","following_url":"https://api.github.com/users/rtfd/following{/other_user}","gists_url":"https://api.github.com/users/rtfd/gists{/gist_id}","starred_url":"https://api.github.com/users/rtfd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rtfd/subscriptions","organizations_url":"https://api.github.com/users/rtfd/orgs","repos_url":"https://api.github.com/users/rtfd/repos","events_url":"https://api.github.com/users/rtfd/events{/privacy}","received_events_url":"https://api.github.com/users/rtfd/received_events","type":"Organization","site_admin":false},"repo":{"id":841835,"node_id":"MDEwOlJlcG9zaXRvcnk4NDE4MzU=","name":"readthedocs.org","full_name":"rtfd/readthedocs.org","owner":{"login":"rtfd","id":366329,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM2NjMyOQ==","avatar_url":"https://avatars2.githubusercontent.com/u/366329?v=4","gravatar_id":"","url":"https://api.github.com/users/rtfd","html_url":"https://github.com/rtfd","followers_url":"https://api.github.com/users/rtfd/followers","following_url":"https://api.github.com/users/rtfd/following{/other_user}","gists_url":"https://api.github.com/users/rtfd/gists{/gist_id}","starred_url":"https://api.github.com/users/rtfd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rtfd/subscriptions","organizations_url":"https://api.github.com/users/rtfd/orgs","repos_url":"https://api.github.com/users/rtfd/repos","events_url":"https://api.github.com/users/rtfd/events{/privacy}","received_events_url":"https://api.github.com/users/rtfd/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/rtfd/readthedocs.org","description":"The source code that powers readthedocs.org","fork":false,"url":"https://api.github.com/repos/rtfd/readthedocs.org","forks_url":"https://api.github.com/repos/rtfd/readthedocs.org/forks","keys_url":"https://api.github.com/repos/rtfd/readthedocs.org/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rtfd/readthedocs.org/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rtfd/readthedocs.org/teams","hooks_url":"https://api.github.com/repos/rtfd/readthedocs.org/hooks","issue_events_url":"https://api.github.com/repos/rtfd/readthedocs.org/issues/events{/number}","events_url":"https://api.github.com/repos/rtfd/readthedocs.org/events","assignees_url":"https://api.github.com/repos/rtfd/readthedocs.org/assignees{/user}","branches_url":"https://api.github.com/repos/rtfd/readthedocs.org/branches{/branch}","tags_url":"https://api.github.com/repos/rtfd/readthedocs.org/tags","blobs_url":"https://api.github.com/repos/rtfd/readthedocs.org/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rtfd/readthedocs.org/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rtfd/readthedocs.org/git/refs{/sha}","trees_url":"https://api.github.com/repos/rtfd/readthedocs.org/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rtfd/readthedocs.org/statuses/{sha}","languages_url":"https://api.github.com/repos/rtfd/readthedocs.org/languages","stargazers_url":"https://api.github.com/repos/rtfd/readthedocs.org/stargazers","contributors_url":"https://api.github.com/repos/rtfd/readthedocs.org/contributors","subscribers_url":"https://api.github.com/repos/rtfd/readthedocs.org/subscribers","subscription_url":"https://api.github.com/repos/rtfd/readthedocs.org/subscription","commits_url":"https://api.github.com/repos/rtfd/readthedocs.org/commits{/sha}","git_commits_url":"https://api.github.com/repos/rtfd/readthedocs.org/git/commits{/sha}","comments_url":"https://api.github.com/repos/rtfd/readthedocs.org/comments{/number}","issue_comment_url":"https://api.github.com/repos/rtfd/readthedocs.org/issues/comments{/number}","contents_url":"https://api.github.com/repos/rtfd/readthedocs.org/contents/{+path}","compare_url":"https://api.github.com/repos/rtfd/readthedocs.org/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rtfd/readthedocs.org/merges","archive_url":"https://api.github.com/repos/rtfd/readthedocs.org/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rtfd/readthedocs.org/downloads","issues_url":"https://api.github.com/repos/rtfd/readthedocs.org/issues{/number}","pulls_url":"https://api.github.com/repos/rtfd/readthedocs.org/pulls{/number}","milestones_url":"https://api.github.com/repos/rtfd/readthedocs.org/milestones{/number}","notifications_url":"https://api.github.com/repos/rtfd/readthedocs.org/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rtfd/readthedocs.org/labels{/name}","releases_url":"https://api.github.com/repos/rtfd/readthedocs.org/releases{/id}","deployments_url":"https://api.github.com/repos/rtfd/readthedocs.org/deployments","created_at":"2010-08-16T19:18:06Z","updated_at":"2018-08-13T17:28:41Z","pushed_at":"2018-08-13T20:32:16Z","git_url":"git://github.com/rtfd/readthedocs.org.git","ssh_url":"git@github.com:rtfd/readthedocs.org.git","clone_url":"https://github.com/rtfd/readthedocs.org.git","svn_url":"https://github.com/rtfd/readthedocs.org","homepage":"https://readthedocs.org/","size":51496,"stargazers_count":4548,"watchers_count":4548,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":2455,"mirror_url":null,"archived":false,"open_issues_count":518,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":2455,"open_issues":518,"watchers":4548,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/rtfd/readthedocs.org/pulls/4512"},"html":{"href":"https://github.com/rtfd/readthedocs.org/pull/4512"},"issue":{"href":"https://api.github.com/repos/rtfd/readthedocs.org/issues/4512"},"comments":{"href":"https://api.github.com/repos/rtfd/readthedocs.org/issues/4512/comments"},"review_comments":{"href":"https://api.github.com/repos/rtfd/readthedocs.org/pulls/4512/comments"},"review_comment":{"href":"https://api.github.com/repos/rtfd/readthedocs.org/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/rtfd/readthedocs.org/pulls/4512/commits"},"statuses":{"href":"https://api.github.com/repos/rtfd/readthedocs.org/statuses/e3f54d34f59f75d1bcf2637aee6dfa73f5cf90da"}},"author_association":"NONE"}}
{"actor":{"display_login":"stsewd"}}