|
1 | | -[tool.poetry] |
| 1 | +[project] |
2 | 2 | name = "t3api" |
3 | | -version = "1.0.0" |
4 | | -description = "T3 API" |
5 | | -authors = ["OpenAPI Generator Community <team@openapitools.org>"] |
6 | | -license = "NoLicense" |
| 3 | +version = "0.1.0" |
| 4 | +description = "Python client for the T3 API" |
| 5 | +authors = [{ name = "Matt Frisbie", email = "matt@classvsoftware.com" }] |
7 | 6 | 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 | +] |
27 | 23 |
|
| 24 | +[project.urls] |
| 25 | +Homepage = "https://github.com/classvsoftware/t3api-python" |
28 | 26 |
|
29 | 27 | [build-system] |
30 | | -requires = ["setuptools"] |
| 28 | +requires = ["setuptools", "wheel"] |
31 | 29 | build-backend = "setuptools.build_meta" |
32 | 30 |
|
33 | | -[tool.pylint.'MESSAGES CONTROL'] |
34 | | -extension-pkg-whitelist = "pydantic" |
35 | | - |
36 | 31 | [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"] |
46 | 33 | warn_unused_configs = true |
47 | 34 | warn_redundant_casts = true |
48 | 35 | warn_unused_ignores = true |
49 | | - |
50 | | -## Getting these passing should be easy |
51 | 36 | strict_equality = true |
52 | 37 | extra_checks = true |
53 | | - |
54 | | -## Strongly recommend enabling this one as soon as you can |
55 | 38 | 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 |
59 | 39 | disallow_subclassing_any = true |
60 | 40 | disallow_untyped_decorators = true |
61 | 41 | disallow_any_generics = true |
62 | 42 |
|
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 | | - |
74 | 43 | [[tool.mypy.overrides]] |
75 | | -module = [ |
76 | | - "t3api.configuration", |
77 | | -] |
| 44 | +module = ["t3api.configuration"] |
78 | 45 | warn_unused_ignores = true |
79 | 46 | strict_equality = true |
80 | 47 | extra_checks = true |
|
0 commit comments