-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
97 lines (83 loc) · 2.6 KB
/
pyproject.toml
File metadata and controls
97 lines (83 loc) · 2.6 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
# pyproject.toml
[build-system]
requires = ["setuptools>=61.0"]
build-backend = "setuptools.build_meta"
# --- Project Metadata ---
[project]
name = "codecat"
version = "1.1.0"
description = "A powerful, feature-rich command-line tool to aggregate source code into a single Markdown file."
readme = "README.md"
requires-python = ">=3.10"
license = { file = "LICENSE" }
authors = [{ name = "Exonymos (Joy Barot)", email = "exonymos@gmail.com" }]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)",
"Operating System :: OS Independent",
"Topic :: Software Development :: Documentation",
"Topic :: Text Processing",
"Environment :: Console",
"Typing :: Typed",
]
dependencies = ["typer>=0.14,<0.22", "rich>=13,<15", "shellingham>=1.5,<2"]
[project.optional-dependencies]
dev = [
"black>=24,<27",
"flake8>=7,<8",
"pyright>=1.1,<2",
"pytest>=8,<10",
"pytest-cov>=6,<8",
"pytest-mock>=3,<4",
"pyinstaller>=6,<7",
]
[project.scripts]
codecat = "codecat.__main__:main"
[project.urls]
Homepage = "https://github.com/Exonymos/codecat"
Repository = "https://github.com/Exonymos/codecat"
Issues = "https://github.com/Exonymos/codecat/issues"
[tool.setuptools.packages.find]
where = ["src"]
# --- Tool Configurations ---
[tool.black]
line-length = 88
target-version = ['py310']
[tool.pytest.ini_options]
minversion = "7.0"
addopts = "-ra -q --color=yes --cov-report=term-missing"
testpaths = ["tests"]
python_files = "test_*.py"
python_classes = "Test*"
python_functions = "test_*"
pythonpath = ["src", "."]
filterwarnings = ["ignore::DeprecationWarning"]
[tool.pyright]
include = ["src", "tests"]
exclude = ["**/__pycache__", ".venv", ".venv312", "dist", "build"]
typeCheckingMode = "basic"
pythonVersion = "3.10"
pythonPlatform = "All"
reportMissingImports = "warning"
reportMissingTypeStubs = "none"
reportUnusedVariable = "warning"
reportGeneralTypeIssues = "warning"
reportOptionalSubscript = "warning"
reportOptionalMemberAccess = "warning"
reportOptionalCall = "warning"
reportOptionalOperand = "warning"
reportTypedDictNotRequiredAccess = "warning"
[tool.coverage.run]
source = ["src/codecat"]
branch = true
omit = ["*/__main__.py", "*/__init__.py", "*/constants.py", "tests/*", "generate_version_file.py"]
[tool.coverage.report]
fail_under = 85
show_missing = true
[tool.coverage.html]
directory = "coverage_html_report"
title = "Codecat Test Coverage Report"