-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
137 lines (124 loc) · 3.33 KB
/
pyproject.toml
File metadata and controls
137 lines (124 loc) · 3.33 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
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
[project]
name = "googleapiutils2"
version = "0.20.0"
description = "Wrapper for Google's Python API"
authors = [
{ name = "Mike Babb", email = "mike7400@gmail.com" }
]
readme = "README.md"
license = { text = "MIT" }
keywords = [
"google",
"googleapi",
"google-api",
"google api",
"googleapiutils2",
"google-sheets-api",
"google-drive-api",
]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Operating System :: OS Independent",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Internet :: WWW/HTTP",
]
requires-python = ">=3.12"
dependencies = [
"google-api-python-client>=2.168.0",
"google-api-python-client-stubs>=1.30.0",
"google-auth-oauthlib>=1.2.1",
"google-auth-httplib2>=0.2.0",
"google-auth>=2.39.0",
"requests>=2.32.3",
"cachetools>=5.5.2",
"openpyxl>=3.1.5",
"pandas>=2.2.3",
"loguru>=0.7.3",
"pydantic>=2.11.2",
]
[project.urls]
Repository = "https://github.com/mkbabb/googleapiutils2"
"Bug Tracker" = "https://github.com/mkbabb/googleapiutils2/issues"
[project.optional-dependencies]
dev = [
"anthropic>=0.60.0",
"ipinfo>=5.2.0",
"jinja2>=3.1.6",
"litellm>=1.74.15.post1",
"markdown2>=2.5.4",
"mypy>=1.17.1",
"openai>=1.98.0",
"pandas-stubs>=2.3.0.250703",
"pillow>=11.3.0",
"pyarrow>=21.0.0",
"pymupdf>=1.26.3",
"pypdf>=5.9.0",
"pytest>=8.4.1",
"ruff>=0.12.7",
"types-cachetools>=6.1.0.20250717",
"types-requests>=2.32.4.20250611",
]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build]
include = [
"googleapiutils2/**/*.py",
"googleapiutils2/py.typed",
]
[tool.ruff]
target-version = "py312"
line-length = 120
fix = true
[tool.ruff.lint]
select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # pyflakes
"I", # isort
"B", # flake8-bugbear
"C4", # flake8-comprehensions
"UP", # pyupgrade
"ARG", # flake8-unused-arguments
"COM", # flake8-commas
"PIE", # flake8-pie
"SIM", # flake8-simplify
"RUF", # Ruff-specific rules
]
ignore = [
"E501", # line too long (handled by formatter)
"E731", # lambda assignment
"B008", # do not perform function calls in argument defaults
"COM812", # missing trailing comma (conflicts with formatter)
"ISC001", # single line implicit string concatenation (conflicts with formatter)
]
[tool.ruff.lint.per-file-ignores]
"__init__.py" = ["F401", "F403"]
"tests/*" = ["ARG", "S101"]
[tool.ruff.lint.isort]
known-first-party = ["googleapiutils2"]
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
skip-magic-trailing-comma = false
line-ending = "auto"
[tool.mypy]
python_version = "3.12"
warn_return_any = false
warn_unused_configs = false
disallow_untyped_defs = false
check_untyped_defs = true
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = "google.*,google_auth_oauthlib.*"
ignore_missing_imports = true
[tool.pytest.ini_options]
testpaths = ["tests"]
python_files = "test_*.py"
python_classes = "Test*"
python_functions = "test_*"