-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
115 lines (102 loc) · 2.24 KB
/
pyproject.toml
File metadata and controls
115 lines (102 loc) · 2.24 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
[build-system]
requires = ["setuptools", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "gitmetrics"
version = "0.0.1.dev0"
description = "Scripts to extract multiple metrics from GitHub Projects."
readme = "README.md"
authors = [
{ name = "DataCebo", email = "info@datacebo.com" }
]
requires-python = ">=3.13"
license = "MIT"
license-files = ["LICENSE"]
classifiers = [
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'Natural Language :: English',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.13',
"Topic :: Scientific/Engineering",
]
dependencies = [
"pandas >= 2.2.3,<3.0",
"tqdm",
"openpyxl",
"xlsxwriter",
"requests",
"python-benedict",
"PyYAML",
"PyDrive",
]
[project.urls]
Homepage = "https://github.com/sdv-dev/gitmetrics"
[project.scripts]
gitmetrics = "gitmetrics.__main__:main"
[tool.setuptools.packages.find]
include = ['gitmetrics', 'gitmetrics.*']
[project.optional-dependencies]
dev = [
"ruff >= 0.9.8",
"invoke",
]
test = [
'pytest >= 8.1.1',
]
[tool.ruff]
preview = true
line-length = 100
indent-width = 4
src = ["gitmetrics"]
exclude = [
"docs",
".tox",
".git",
"__pycache__",
"*.ipynb",
".ipynb_checkpoints",
"tasks.py",
]
[tool.ruff.lint]
select = [
# Pyflakes
"F",
# Pycodestyle
"E",
"W",
# pydocstyle
"D",
# isort
"I001",
# print statements
"T201",
# pandas-vet
"PD",
# numpy 2.0
"NPY201"
]
ignore = [
# pydocstyle
"D107", # Missing docstring in __init__
"D417", # Missing argument descriptions in the docstring, this is a bug from pydocstyle: https://github.com/PyCQA/pydocstyle/issues/449
"PD101",
]
[tool.ruff.format]
quote-style = "single"
indent-style = "space"
preview = true
docstring-code-format = true
docstring-code-line-length = "dynamic"
[tool.ruff.lint.isort]
known-first-party = ["gitmetrics"]
lines-between-types = 0
[tool.ruff.lint.per-file-ignores]
"__init__.py" = ["F401", "E402", "F403", "F405", "E501", "I001"]
"errors.py" = ["D105"]
"tests/**.py" = ["D"]
[tool.ruff.lint.pydocstyle]
convention = "google"
[tool.ruff.lint.pycodestyle]
max-doc-length = 100
max-line-length = 100