-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
84 lines (73 loc) · 2.09 KB
/
Copy pathpyproject.toml
File metadata and controls
84 lines (73 loc) · 2.09 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
[project]
name = "zero-spinner"
version = "0.1.1"
description = "A zero dependency spinner"
readme = "README.md"
requires-python = ">=3.11, <4"
license-files = ["LICENSE"]
classifiers = [
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
]
dependencies = []
[dependency-groups]
dev = [
"debugpy>=1.8.17",
]
lint = [
"ruff>=0.14.3",
"ty>=0.0.1a25",
]
test = [
"click>=8.3.1",
"pytest>=8.4.2",
"pytest-cov>=7.0.0",
]
[build-system]
requires = ["setuptools"]
build-backend = "setuptools.build_meta"
[tool.setuptools.packages.find]
where = ["src"]
include = ["yeeti*"]
exclude = ["yeeti.examples*"]
[project.urls]
Homepage = "https://github.com/matteozambon89/python-zero-spinner"
Changelog = "https://github.com/matteozambon89/python-zero-spinner/releases"
Issues = "https://github.com/matteozambon89/python-zero-spinner/issues"
CI = "https://github.com/matteozambon89/python-zero-spinner/actions"
[tool.ruff]
line-length = 120
indent-width = 4
include = ["src/**/*.py"]
exclude = [".git", ".venv"]
[tool.ruff.format]
preview = true
quote-style = "single"
indent-style = "space"
docstring-code-format = true
[tool.ruff.lint]
preview = true
select = ["N", "D", "DOC", "E", "W", "F", "I", "B", "C4", "ARG", "COM", "SIM", "CPY"]
extend-select = ["D417", "D416", "D400", "W291", "W292", "W293"]
ignore = ["D202", "COM818", "D104"]
pydocstyle.convention = "google"
[tool.ruff.lint.isort]
lines-after-imports = -1
section-order = ["future", "standard-library", "test", "third-party", "first-party", "yeeti", "local-folder"]
[tool.ruff.lint.isort.sections]
test = ["pytest"]
yeeti = ["yeeti"]
[tool.ruff.lint.flake8-copyright]
author = "Yeeti"
[tool.pytest.ini_options]
console_output_style = "progress"
python_files = ["*_test.py"]
python_functions = "test_*"
pythonpath = "src"
addopts = "--cov=yeeti --cov-report html"