Skip to content

Commit

Permalink
Bump version, add internal mirror of argparse
Browse files Browse the repository at this point in the history
This should fix problems with Python 3.11.9
  • Loading branch information
brentyi committed Apr 9, 2024
1 parent 2fcdcd9 commit ec77792
Show file tree
Hide file tree
Showing 12 changed files with 2,777 additions and 40 deletions.
12 changes: 10 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ name = "tyro"
authors = [
{name = "brentyi", email = "[email protected]"},
]
version = "0.8.2" # TODO: currently needs to be synchronized manually with __init__.py.
version = "0.8.3" # TODO: currently needs to be synchronized manually with __init__.py.
description = "Strongly typed, zero-effort CLI interfaces"
readme = "README.md"
license = { text="MIT" }
Expand Down Expand Up @@ -67,7 +67,10 @@ profile = "black"
python_version = "3.12"
ignore_missing_imports = true
warn_unused_configs = true
exclude = "^tests/test_py311_generated/.*"
exclude = ["^tests/test_py311_generated/.*", "_argparse\\.py"]

[tool.coverage.run]
omit = ["**/_argparse.py"]

[tool.coverage.report]
exclude_lines = [
Expand Down Expand Up @@ -127,3 +130,8 @@ lint.ignore = [
"PLW0603", # Global statement updates are discouraged.
"PLW2901" # For loop variable overwritten.
]
extend-exclude = ["**/_argparse.py"]

[tool.pyright]
pythonVersion = "3.12"
ignore = ["**/_argparse.py"]
2 changes: 1 addition & 1 deletion src/tyro/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@


# TODO: this should be synchronized automatically with the pyproject.toml.
__version__ = "0.8.2"
__version__ = "0.8.3"
Loading

0 comments on commit ec77792

Please sign in to comment.