Skip to content

Commit

Permalink
Run black and flake8
Browse files Browse the repository at this point in the history
  • Loading branch information
AlenkaF committed Jul 13, 2024
1 parent bde4316 commit 50e45be
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 7 deletions.
4 changes: 2 additions & 2 deletions github_data/data.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
# copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:

# The above copyright notice and this permission notice shall be included in all
# copies or substantial portions of the Software.
# The above copyright notice and this permission notice shall be included in
# all copies or substantial portions of the Software.

# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
Expand Down
12 changes: 7 additions & 5 deletions github_data/methods.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
# copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:

# The above copyright notice and this permission notice shall be included in all
# copies or substantial portions of the Software.
# The above copyright notice and this permission notice shall be included in
# all copies or substantial portions of the Software.

# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
Expand Down Expand Up @@ -108,10 +108,12 @@ def get_open(df):
Pandas data frame with only issues or prs still opened.
"""
df["url_title"] = (
'<a target="_blank" href="' + df["html_url"] + '">' + df["title"] + "</a>"
'<a target="_blank" href="' + df["html_url"] + '">' +
df["title"] + "</a>"
)
return df[df.state == "open"][["created_at", "url_title",
"html_url", "author_association"]]
return df[df.state == "open"][
["created_at", "url_title", "html_url", "author_association"]
]


def get_summary(df):
Expand Down

0 comments on commit 50e45be

Please sign in to comment.