-
Notifications
You must be signed in to change notification settings - Fork 24
Expand file tree
/
Copy pathpyproject.toml
More file actions
98 lines (86 loc) · 2.13 KB
/
pyproject.toml
File metadata and controls
98 lines (86 loc) · 2.13 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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "git-pandas"
version = "2.5.0"
description = "A utility for interacting with data from git repositories as Pandas dataframes"
readme = "README.md"
requires-python = ">=3.8"
license = {text = "BSD"}
authors = [
{name = "Will McGinnis", email = "[email protected]"},
]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"Programming Language :: Python :: 3",
]
keywords = ["git", "pandas", "data", "analysis"]
dependencies = [
"gitpython>=1.0.0",
"numpy>=1.9.0",
"pandas>=2.0.0",
"requests",
"redis",
"coverage>=5.0.0",
"importlib-metadata>=1.0; python_version<'3.8'",
]
[project.urls]
Documentation = "https://gitpandas.mcginniscommawill.com"
Source = "https://github.com/wdm0006/git-pandas"
Issues = "https://github.com/wdm0006/git-pandas/issues"
[project.optional-dependencies]
examples = [
"matplotlib",
"lifelines",
]
dev = [
"pytest>=7.0.0",
"pytest-cov>=4.0.0",
"sphinx>=7.0.0",
"ruff>=0.1.0",
"matplotlib",
"joblib",
"pytest-mock"
]
all = [
"matplotlib",
"lifelines",
"pytest>=7.0.0",
"pytest-cov>=4.0.0",
"sphinx>=7.0.0",
"ruff>=0.1.0",
]
[tool.hatch.build.targets.wheel]
packages = ["gitpandas"]
[tool.pytest.ini_options]
testpaths = ["tests"]
python_files = ["test_*.py"]
python_functions = ["test_*"]
python_classes = ["Test*"]
addopts = "--verbose --strict-markers"
markers = [
"slow: marks tests as slow (run with pytest -m slow)",
"remote: marks tests that require remote access",
"redis: marks tests that require Redis",
]
[tool.coverage.run]
source = ["gitpandas"]
[tool.ruff]
target-version = "py311"
line-length = 120
exclude=["docs/**"]
[tool.ruff.lint]
select = ["E", "F", "B", "I", "N", "UP", "C4", "SIM", "ERA"]
ignore = ["UP017"]
[tool.ruff.lint.isort]
known-first-party = ["gitpandas"]
[tool.ruff.lint.flake8-annotations]
allow-star-arg-any = true
suppress-none-returning = true
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
skip-magic-trailing-comma = false
line-ending = "auto"