Skip to content

Commit 5f6055c

Browse files
committed
style: fix lint error
fix `E261 at least two spaces before inline comment`
1 parent 5f26031 commit 5f6055c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

test_time_to_first_response.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ def test_measure_time_to_first_response_with_pull_request_comments(self):
7575

7676
# Set up the mock GitHub pull request comments
7777
mock_pr_comment1 = MagicMock()
78-
mock_pr_comment1.submitted_at = datetime.fromisoformat("2023-01-02T00:00:00Z") # first response
78+
mock_pr_comment1.submitted_at = datetime.fromisoformat("2023-01-02T00:00:00Z") # first response
7979
mock_pr_comment2 = MagicMock()
8080
mock_pr_comment2.submitted_at = datetime.fromisoformat("2023-01-02T12:00:00Z")
8181
mock_issue1.issue.pull_request().reviews.return_value = [mock_pr_comment1, mock_pr_comment2]
@@ -98,7 +98,7 @@ def test_measure_time_to_first_response_issue_comment_faster(self):
9898

9999
# Set up the mock GitHub issue comment
100100
mock_comment1 = MagicMock()
101-
mock_comment1.created_at = datetime.fromisoformat("2023-01-02T00:00:00Z") # first response
101+
mock_comment1.created_at = datetime.fromisoformat("2023-01-02T00:00:00Z") # first response
102102
mock_issue1.issue.comments.return_value = [mock_comment1]
103103

104104
# Set up the mock GitHub pull request comment
@@ -129,7 +129,7 @@ def test_measure_time_to_first_response_pull_request_comment_faster(self):
129129

130130
# Set up the mock GitHub pull request comment
131131
mock_pr_comment1 = MagicMock()
132-
mock_pr_comment1.submitted_at = datetime.fromisoformat("2023-01-02T00:00:00Z") # first response
132+
mock_pr_comment1.submitted_at = datetime.fromisoformat("2023-01-02T00:00:00Z") # first response
133133
mock_issue1.issue.pull_request().reviews.return_value = [mock_pr_comment1]
134134

135135
# Call the function
@@ -161,7 +161,7 @@ def test_measure_time_to_first_response_ignore_users(self):
161161
mock_pr_comment1.submitted_at = datetime.fromisoformat("2023-01-03T00:00:00Z")
162162
mock_pr_comment2 = MagicMock()
163163
mock_pr_comment2.user.login = "not_ignored_user"
164-
mock_pr_comment2.submitted_at = datetime.fromisoformat("2023-01-04T00:00:00Z") # first response
164+
mock_pr_comment2.submitted_at = datetime.fromisoformat("2023-01-04T00:00:00Z") # first response
165165
mock_issue1.issue.pull_request().reviews.return_value = [mock_pr_comment1, mock_pr_comment2]
166166

167167
# Call the function

0 commit comments

Comments
 (0)