-
Notifications
You must be signed in to change notification settings - Fork 1
/
pyproject.toml
92 lines (77 loc) · 2.2 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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
[build-system]
requires = ["hatchling==1.18.0"]
build-backend = "hatchling.build"
[project]
name = "gbq"
version = "1.0.5"
description = "Python wrapper for interacting Google BigQuery."
readme = "README.md"
license = {text = "MIT"}
requires-python = ">=3.8"
authors = [
{ name = "Jash Parekh", email = "jparekh1@wayfair.com" },
]
classifiers = [
"Development Status :: 4 - Beta",
"License :: OSI Approved :: MIT License",
"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",
]
dependencies = [
"google-cloud-bigquery",
"pydantic>=2.4.0,<3"
]
[project.urls]
Homepage = "https://github.com/wayfair-incubator/gbq"
changelog = "https://github.com/wayfair-incubator/gbq/blob/main/CHANGELOG.md"
issues = "https://github.com/wayfair-incubator/gbq/issues"
documentation = "https://wayfair-incubator.github.io/gbq"
[tool.hatch.build.targets.sdist]
include = [
"/gbq",
]
# type checking
[tool.mypy]
ignore_missing_imports = true
# testing
[tool.pytest.ini_options]
addopts = "--verbose --cov=gbq --cov-report xml:/tmp/coverage.xml --cov-report term-missing"
testpaths = ["tests"]
[tool.coverage.run]
branch = true
data_file = "/tmp/gbq_coverage"
[tool.coverage.report]
fail_under = 90
exclude_lines = [
# Have to re-enable the standard pragma
"pragma: no cover"
]
# code formatting
[tool.black]
line-length = 88
target-version = ["py38", "py39", "py310", "py311", "py312"]
[tool.isort]
profile = "black"
# version bumping
[tool.hyper-bump-it.git.actions]
commit = "create-and-push"
branch = "create-and-push"
[[tool.hyper-bump-it.files]]
file_glob = "pyproject.toml"
keystone = true
search_format_pattern = "version = \"{version}\""
[[tool.hyper-bump-it.files]]
file_glob = "gbq/__init__.py"
[[tool.hyper-bump-it.files]]
file_glob = "docs/index.md"
search_format_pattern = "GBQ - {version}"
[[tool.hyper-bump-it.files]]
file_glob = "CHANGELOG.md"
search_format_pattern = "## [Unreleased]"
replace_format_pattern = """## [Unreleased]
## [{version}] - {today}"""