Skip to content

Commit

Permalink
fix: qa errors
Browse files Browse the repository at this point in the history
  • Loading branch information
jnoortheen committed Oct 16, 2021
1 parent 7063366 commit 2d53c81
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 2 deletions.
1 change: 0 additions & 1 deletion arger/typing_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@

def get_origin(tp):
"""Return the python class for the GenericAlias. Dict->dict, List->list..."""
"""Return x.__origin__ or type(x) based on the Python version."""
if hasattr(tp, "_gorg"):
return tp._gorg
if getattr(tp, "__origin__", None) is not None:
Expand Down
14 changes: 13 additions & 1 deletion poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ jupyter = "^1.0.0"
better-exceptions = "*"
git-changelog = { version = "^0.4.0", python = "^3.6" }
colorama = "^0.4.4"
types-setuptools = "^57.4.2"

[tool.black]

Expand Down

0 comments on commit 2d53c81

Please sign in to comment.