Skip to content

Commit 995cf9c

Browse files
committed
fix pyproject.toml
1 parent 714bade commit 995cf9c

File tree

1 file changed

+25
-58
lines changed

1 file changed

+25
-58
lines changed

pyproject.toml

Lines changed: 25 additions & 58 deletions
Original file line numberDiff line numberDiff line change
@@ -1,80 +1,47 @@
1-
[tool.poetry]
1+
[project]
22
name = "t3api"
3-
version = "1.0.0"
4-
description = "T3 API"
5-
authors = ["OpenAPI Generator Community <[email protected]>"]
6-
license = "NoLicense"
3+
version = "0.1.0"
4+
description = "Python client for the T3 API"
5+
authors = [{ name = "Matt Frisbie", email = "[email protected]" }]
76
readme = "README.md"
8-
repository = "https://github.com/GIT_USER_ID/GIT_REPO_ID"
9-
keywords = ["OpenAPI", "OpenAPI-Generator", "T3 API"]
10-
include = ["t3api/py.typed"]
11-
12-
[tool.poetry.dependencies]
13-
python = "^3.9"
14-
15-
urllib3 = ">= 2.1.0, < 3.0.0"
16-
python-dateutil = ">= 2.8.2"
17-
pydantic = ">= 2"
18-
typing-extensions = ">= 4.7.1"
19-
20-
[tool.poetry.dev-dependencies]
21-
pytest = ">= 7.2.1"
22-
pytest-cov = ">= 2.8.1"
23-
tox = ">= 3.9.0"
24-
flake8 = ">= 4.0.0"
25-
types-python-dateutil = ">= 2.8.19.14"
26-
mypy = ">= 1.5"
7+
license = { text = "GPL-3.0-only" }
8+
requires-python = ">=3.8"
9+
dependencies = [
10+
"urllib3 >=2.1.0,<3.0.0",
11+
"python-dateutil >=2.8.2",
12+
"pydantic >=2",
13+
"typing-extensions >=4.7.1"
14+
]
15+
keywords = ["t3", "metrc", "api", "cannabis", "track and trace"]
16+
classifiers = [
17+
"Development Status :: 3 - Alpha",
18+
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
19+
"Programming Language :: Python :: 3",
20+
"Programming Language :: Python :: 3.8",
21+
"Operating System :: OS Independent",
22+
]
2723

24+
[project.urls]
25+
Homepage = "https://github.com/classvsoftware/t3api-python"
2826

2927
[build-system]
30-
requires = ["setuptools"]
28+
requires = ["setuptools", "wheel"]
3129
build-backend = "setuptools.build_meta"
3230

33-
[tool.pylint.'MESSAGES CONTROL']
34-
extension-pkg-whitelist = "pydantic"
35-
3631
[tool.mypy]
37-
files = [
38-
"t3api",
39-
#"test", # auto-generated tests
40-
"tests", # hand-written tests
41-
]
42-
# TODO: enable "strict" once all these individual checks are passing
43-
# strict = true
44-
45-
# List from: https://mypy.readthedocs.io/en/stable/existing_code.html#introduce-stricter-options
32+
files = ["t3api", "tests"]
4633
warn_unused_configs = true
4734
warn_redundant_casts = true
4835
warn_unused_ignores = true
49-
50-
## Getting these passing should be easy
5136
strict_equality = true
5237
extra_checks = true
53-
54-
## Strongly recommend enabling this one as soon as you can
5538
check_untyped_defs = true
56-
57-
## These shouldn't be too much additional work, but may be tricky to
58-
## get passing if you use a lot of untyped libraries
5939
disallow_subclassing_any = true
6040
disallow_untyped_decorators = true
6141
disallow_any_generics = true
6242

63-
### These next few are various gradations of forcing use of type annotations
64-
#disallow_untyped_calls = true
65-
#disallow_incomplete_defs = true
66-
#disallow_untyped_defs = true
67-
#
68-
### This one isn't too hard to get passing, but return on investment is lower
69-
#no_implicit_reexport = true
70-
#
71-
### This one can be tricky to get passing if you use a lot of untyped libraries
72-
#warn_return_any = true
73-
7443
[[tool.mypy.overrides]]
75-
module = [
76-
"t3api.configuration",
77-
]
44+
module = ["t3api.configuration"]
7845
warn_unused_ignores = true
7946
strict_equality = true
8047
extra_checks = true

0 commit comments

Comments
 (0)