Skip to content
This repository was archived by the owner on Apr 23, 2024. It is now read-only.

Commit 3b15a2f

Browse files
committed
refactor: Update .gitignore and setup.py according to review
1 parent d649c91 commit 3b15a2f

File tree

3 files changed

+4
-6
lines changed

3 files changed

+4
-6
lines changed

.gitignore

-2
Original file line numberDiff line numberDiff line change
@@ -100,5 +100,3 @@ pygrocy.egg-info/
100100

101101
.tox/
102102
.coverage
103-
.python-version
104-
dist/

pygrocy/data_models/product.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
from datetime import datetime
2-
from typing import List, Union
2+
from typing import List, Optional
33

44
from pygrocy.base import DataModel
55
from pygrocy.grocy_api_client import (
@@ -26,7 +26,7 @@ def barcode(self) -> str:
2626
return self._barcode
2727

2828
@property
29-
def amount(self) -> Union[float, None]:
29+
def amount(self) -> Optional[float]:
3030
return self._amount
3131

3232

setup.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@
55

66
setuptools.setup(
77
name="pygrocy",
8-
version="2.0.2",
8+
version="2.0.0",
99
author="Sebastian Rutofski",
1010
author_email="kontakt@sebastian-rutofski.de",
1111
description="",
1212
long_description=long_description,
1313
long_description_content_type="text/markdown",
14-
url="https://github.com/looching/pygrocy",
14+
url="https://github.com/sebrut/pygrocy",
1515
license="MIT",
1616
packages=setuptools.find_packages(),
1717
install_requires=[

0 commit comments

Comments
 (0)