Skip to content

Commit

Permalink
reformatted with black and isort
Browse files Browse the repository at this point in the history
  • Loading branch information
reece committed Sep 17, 2023
1 parent df7fb70 commit 4efed79
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 5 deletions.
16 changes: 12 additions & 4 deletions src/hgvs/generated/hgvs_grammar.py
Original file line number Diff line number Diff line change
Expand Up @@ -3192,7 +3192,9 @@ def _G_optional_875():
def _G_many1_876():
def _G_or_877():
self._trace("", (12493, 12506), self.input.position)
_G_apply_878, lastError = self._apply(self.rule_letterOrDigit, "letterOrDigit", [])
_G_apply_878, lastError = self._apply(
self.rule_letterOrDigit, "letterOrDigit", []
)
self.considerError(lastError, None)
return (_G_apply_878, self.currentError)

Expand All @@ -3214,7 +3216,9 @@ def _G_or_882():

def _G_lookahead_885():
self._trace("", (12521, 12534), self.input.position)
_G_apply_886, lastError = self._apply(self.rule_letterOrDigit, "letterOrDigit", [])
_G_apply_886, lastError = self._apply(
self.rule_letterOrDigit, "letterOrDigit", []
)
self.considerError(lastError, None)
return (_G_apply_886, self.currentError)

Expand Down Expand Up @@ -3313,7 +3317,9 @@ def _G_consumedby_912():
def _G_many1_914():
def _G_or_915():
self._trace("", (12678, 12691), self.input.position)
_G_apply_916, lastError = self._apply(self.rule_letterOrDigit, "letterOrDigit", [])
_G_apply_916, lastError = self._apply(
self.rule_letterOrDigit, "letterOrDigit", []
)
self.considerError(lastError, None)
return (_G_apply_916, self.currentError)

Expand All @@ -3335,7 +3341,9 @@ def _G_or_920():

def _G_lookahead_923():
self._trace("", (12706, 12719), self.input.position)
_G_apply_924, lastError = self._apply(self.rule_letterOrDigit, "letterOrDigit", [])
_G_apply_924, lastError = self._apply(
self.rule_letterOrDigit, "letterOrDigit", []
)
self.considerError(lastError, None)
return (_G_apply_924, self.currentError)

Expand Down
2 changes: 1 addition & 1 deletion tests/test_hgvs_parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ def test_parser_variants_with_gene_names(parser):


def test_parser_variants_with_no_transcript_gene_names(parser):
""" Test it also works with no transcript provided """
"""Test it also works with no transcript provided"""

assert parser.parse("BOGUS:c.22+1A>T")

Expand Down

0 comments on commit 4efed79

Please sign in to comment.