-
Notifications
You must be signed in to change notification settings - Fork 2
/
pyproject.toml
70 lines (61 loc) · 1.65 KB
/
pyproject.toml
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
[tool.poetry]
authors = ["yassun4dev <[email protected]>"]
description = "Twitter API Client by Typed Python."
name = "twitter-api-py"
packages = [{ include = "twitter_api" }]
readme = "README.md"
version = "0.8.0"
license = "BSD-3-Clause"
repository = "https://github.com/yassun4dev/twitter-api-py"
classifiers = [
"Development Status :: 4 - Beta",
"Topic :: Software Development :: Libraries",
"Intended Audience :: Developers",
"License :: OSI Approved :: BSD License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3 :: Only",
]
[tool.taskipy.tasks]
test = "pytest"
format = "black --target-version py310 ."
lint = "pyright twitter_api/** tests/** examples/**"
[tool.poetry.dependencies]
python = ">=3.9,<4.0"
pydantic = ">=1.10.7,<2.0.0"
authlib = "^1.2.0"
httpx = "^0.24.0"
typing-extensions = "^4.5.0"
[tool.poetry.group.dev.dependencies]
flake8 = "^6.0.0"
black = "^23.1.0"
isort = "^5.12.0"
pytest = "^7.2.2"
pyright = "1.1.300"
taskipy = "^1.10.4"
pytest-asyncio = "^0.21.0"
ipython = "^8.14.0"
[build-system]
build-backend = "poetry.core.masonry.api"
requires = ["poetry-core"]
[tool.black]
line-length = 88
[tool.isort]
# make it compatible with black
line_length = 88
multi_line_output = 3
profile = "black"
[tool.flake8]
max-line-length = 200
ignore = ["E203"]
extend-ignore = ["W503"]
[tool.pyright]
exclude = ["**/__pycache__"]
reportPrivateImportUsage = "none"
reportUnusedImport = true
[tool.mypy]
[[tool.mypy.overrides]]
ignore_missing_imports = true
module = ["colorama", "authlib"]