Skip to content

Commit

Permalink
💄 update coding style
Browse files Browse the repository at this point in the history
  • Loading branch information
chfw committed Oct 17, 2020
1 parent 22cc430 commit 5fa6e8b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion gease/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ def main():
fatal(str(e))
except exceptions.NoGeaseConfigFound as e:
fatal(str(e))
except exceptions.ReleaseExistException as e:
except exceptions.ReleaseExistException:
fatal("Release %s exists" % tag)
except KeyError as e:
fatal("Key %s is not found" % str(e))
Expand Down
4 changes: 2 additions & 2 deletions gease/uritemplate.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
template github uri with variables
:copyright: (c) 2017 by Onni Software Ltd.
:copyright: (c) 2017-2020 by Onni Software Ltd.
:license: MIT License, see LICENSE for more details
"""
Expand Down Expand Up @@ -80,7 +80,7 @@ def __get_dict(self):


def extract_variables(url_template_string):
results = re.findall("\{/([^}]+)\}", url_template_string)
results = re.findall(r"\{/([^}]+)\}", url_template_string)
return results


Expand Down
2 changes: 1 addition & 1 deletion tests/test_contributors.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ def test_no_names(self, fake_api, get_token):

@patch("gease.contributors.get_token")
@patch("gease.contributors.Api.get_api")
def test_no_names(self, fake_api, _):
def test_private_api(self, fake_api, _):
sample_reply = [
{"login": "howdy", "url": "https://api.github.com/users/howdy"}
]
Expand Down

0 comments on commit 5fa6e8b

Please sign in to comment.