-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy pathpyproject.toml
More file actions
103 lines (84 loc) · 2.34 KB
/
pyproject.toml
File metadata and controls
103 lines (84 loc) · 2.34 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
[tool.poetry]
name = "python_anvil"
version = "5.1.2"
description = "Anvil API"
license = "MIT"
authors = ["Anvil Foundry Inc. <developers@useanvil.com>"]
readme = "README.md"
homepage = "https://www.useanvil.com/"
documentation = "https://github.com/anvilco/python-anvil"
repository = "https://github.com/anvilco/python-anvil"
keywords = [
"anvil",
"api",
"pdf",
"signing",
]
classifiers = [
# Full list here: https://pypi.org/pypi?%3Aaction=list_classifiers
"License :: OSI Approved :: MIT License",
"Development Status :: 3 - Alpha",
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Software Development :: Libraries :: Python Modules",
]
[tool.poetry.dependencies]
python = ">=3.8.0,<3.14"
click = "^8.0"
requests = "^2.28.2"
ratelimit = "^2.2.1"
tabulate = "^0.9.0"
pydantic = "^2.8"
gql = { version = "3.6.0b2", extras = ["requests"] }
[tool.poetry.group.dev.dependencies]
# Formatters
black = "^24.8.0"
isort = "^5.11.4"
# Linters
pydocstyle = "^6.3.0"
pylint = "^3.0"
# FIXME: Upgrading mypy will require updates to aliased fields. e.g.
#
# class EtchSigner(BaseModel):
# redirect_url: Optional[str] = Field(None, alias="redirectURL")
#
# Not sure what the solution is.
mypy = "1.0.1"
# Testing
pytest = "^7.2.1"
pytest-cov = "^4.0.0"
pytest-describe = "^2.0"
pytest-random = "^0.2"
freezegun = "*"
# Reports
coveragespace = "*"
# Documentation
mkdocs = "^1.4.2"
pygments = "^2.14.0"
# Tooling
pyinstaller = "^6.15.0"
sniffer = "*"
pync = { version = "*", platform = "darwin" }
pyinotify = {version = "^0.9.6", optional = true}
tox = "^3.21.2"
pre-commit = "^2.21.0"
types-dataclasses = "^0.6.5"
types-requests = "^2.28.11.7"
types-tabulate = "^0.9.0.0"
types-setuptools = "^65.6.0.3"
[tool.poetry.scripts]
anvil = "python_anvil.cli:cli"
[tool.black]
target-version = ["py38", "py39", "py310", "py311", "py312"]
skip-string-normalization = true
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"