Skip to content

Commit

Permalink
A few fixes (#205)
Browse files Browse the repository at this point in the history
* A few fixes

* Update pypi classifiers
  • Loading branch information
tmke8 authored Mar 16, 2023
1 parent 69b17ec commit 384bf5c
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@ pip install ranzen

or install directly from GitHub:
```
pip install git+https://github.com/predictive-analytics-lab/ranzen.git@main
pip install git+https://github.com/wearepal/ranzen.git@main
```
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ classifiers=[
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
"Typing :: Typed",
Expand Down
4 changes: 2 additions & 2 deletions ranzen/misc.py
Original file line number Diff line number Diff line change
Expand Up @@ -159,8 +159,8 @@ def __new__(cls: Type[_S], *values: str) -> _S:
raise TypeError("errors must be a string, not %r" % (values[2]))
value = str(*values)
member = str.__new__(cls, value)
member._value_ = value # pyright: ignore
return member # pyright: ignore
member._value_ = value
return member

def __str__(self) -> str:
return str.__str__(self)
Expand Down

0 comments on commit 384bf5c

Please sign in to comment.