-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpyproject.toml
59 lines (52 loc) · 1.4 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
[project]
name = "read-protobuf"
version = "0.2.0"
authors = [{name = "Marc Shapiro"}]
description = "Small library to read serialized protobuf(s) directly into Pandas DataFrame"
keywords = ["pandas", "protobuf"]
requires-python = ">=3.7"
license = {text = "MIT"}
readme = {file = "README.md", content-type = "text/markdown"}
dependencies = [
"pandas>=2.0.1",
"protobuf>=4.21.1"
]
[project.urls]
Issues = "https://github.com/mlshapiro/read-protobuf/issues"
Repository = "https://github.com/mlshapiro/read-protobuf.git"
# Development dependencies
[project.optional-dependencies]
dev = [
"black>=22",
"black[jupyter]",
"build",
"ipdb>=0.13",
"isort>=5.4",
"jupyterlab>=4.0",
"pytest>=6.1",
"pytest-cov>=2.11",
"ruff>=0.0.259",
"twine"
]
# pytest
# https://docs.pytest.org/en/7.1.x/reference/customize.html
[tool.pytest.ini_options]
addopts = "-v --color=yes"
# Python linter
# https://beta.ruff.rs/docs/
[tool.ruff]
line-length = 100
ignore = ["E402"]
exclude = ["tests/demo_pb2.py"]
# black code formatting
# https://black.readthedocs.io/en/stable/usage_and_configuration/the_basics.html#configuration-via-a-file
[tool.black]
line-length = 100
preview = true
force-exclude = ".*demo_pb2.py"
# isort import formatting
# https://black.readthedocs.io/en/stable/guides/using_black_with_other_tools.html#isort
[tool.isort]
profile = "black"
line_length = 100
skip = ["tests/demo_pb2.py"]