-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpyproject.toml
More file actions
113 lines (88 loc) · 2.41 KB
/
pyproject.toml
File metadata and controls
113 lines (88 loc) · 2.41 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
[tool.poetry]
name = "bigquery-frame"
version = "0.5.0"
description = "A DataFrame API for Google BigQuery"
authors = ["FurcyPin"]
license = "Apache-2.0"
keywords = ["BigQuery", "DataFrame"]
readme = "README.md"
homepage = "https://github.com/FurcyPin/bigquery-frame"
repository = "https://github.com/FurcyPin/bigquery-frame"
include = ["bigquery_frame/py.typed"]
[tool.poetry.scripts]
bq-diff = 'bigquery_frame.cli.diff:main'
[tool.poetry.dependencies]
python = ">=3.9,<3.13"
data-diff-viewer = "0.3.2"
google-cloud-bigquery = "^3.14.1"
google-cloud-bigquery-storage = "^2.24.0"
tabulate = "^0.9.0"
tqdm = "^4.64.0"
[tool.poetry.dev-dependencies]
types-tqdm = "^4.64.6"
types-tabulate = "^0.8.11"
types-setuptools = "^65.6.0.3"
black = "^24.3.0"
ruff = "^0.1.6"
mypy = "^0.971"
safety = "^2.1.1"
pytest = "^7.4.4"
pytest-cov = "^4.1.0"
pytest-xdist="^3.5.0"
pipdeptree = "2.2.1"
bump-my-version = "^0.20.3"
# Dependencies used by DataFrame.toPandas()
pandas = "~2.2.2"
pyarrow = "^16.0.0"
db-dtypes = "^1.0.3"
[build-system]
requires = ["poetry-core==1.1.14"]
build-backend = "poetry.core.masonry.api"
[tool.black]
line-length = 120
[tool.isort]
line_length = 120
profile = "black"
known_first_party = "bigquery_frame"
[tool.coverage.run]
branch = true
omit = ["tests/*"]
[tool.coverage.html]
directory = "htmlcov"
[tool.coverage.xml]
output = "test_working_dir/coverage.xml"
[tool.coverage.report]
exclude_also = [
"if TYPE_CHECKING:"
]
[tool.pytest.ini_options]
addopts = [
"-ra",
"--doctest-modules",
"--junitxml=test_working_dir/test-results.xml"
]
testpaths = [
"bigquery_frame",
"tests"
]
[tool.bumpversion]
current_version = "0.5.0"
commit = true
message = "Bump version: {current_version} → {new_version}"
tag = true
tag_name = "v{new_version}"
tag_message = "Bump version: {current_version} → {new_version}"
parse = "(?P<major>\\d+)\\.(?P<minor>\\d+)\\.(?P<patch>\\d+)(\\.(?P<release>[a-z]+)(?P<dev>\\d+))?"
serialize = ["{major}.{minor}.{patch}"]
[[tool.bumpversion.files]]
filename = "pyproject.toml"
search = "version = \"{current_version}\""
replace = "version = \"{new_version}\""
[[tool.bumpversion.files]]
filename = "bigquery_frame/__init__.py"
search = "__version__ = \"{current_version}\""
replace = "__version__ = \"{new_version}\""
[[tool.bumpversion.files]]
filename = "sonar-project.properties"
search = "sonar.projectVersion={current_version}"
replace = "sonar.projectVersion={new_version}"