-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
117 lines (105 loc) · 2.62 KB
/
Copy pathpyproject.toml
File metadata and controls
117 lines (105 loc) · 2.62 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
116
117
[build-system]
requires = ["setuptools>=61.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "python-learning-repo"
version = "1.0.0"
description = "A comprehensive guide to master Python programming"
readme = "README.md"
license = {text = "MIT"}
authors = [
{name = "Python Learning Community", email = "python-learning@example.com"}
]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Intended Audience :: Education",
"Topic :: Software Development :: Libraries",
"Topic :: Education",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
]
keywords = ["python", "learning", "tutorial", "education", "programming"]
requires-python = ">=3.9"
dependencies = []
[project.optional-dependencies]
dev = [
"flake8>=6.0.0",
"black>=23.0.0",
"mypy>=1.0.0",
"pytest>=7.0.0",
"pytest-cov>=4.0.0",
]
projects = [
"requests>=2.31.0",
"beautifulsoup4>=4.12.0",
"pandas>=2.0.0",
"numpy>=1.24.0",
]
all = [
"flake8>=6.0.0",
"black>=23.0.0",
"mypy>=1.0.0",
"pytest>=7.0.0",
"pytest-cov>=4.0.0",
"requests>=2.31.0",
"beautifulsoup4>=4.12.0",
"pandas>=2.0.0",
"numpy>=1.24.0",
]
[project.urls]
Homepage = "https://github.com/yourusername/python-learning-repo"
Documentation = "https://github.com/yourusername/python-learning-repo#readme"
Repository = "https://github.com/yourusername/python-learning-repo"
Issues = "https://github.com/yourusername/python-learning-repo/issues"
[project.scripts]
python-learn = "quick_start:main"
[tool.setuptools.packages.find]
exclude = ["tests*", "examples*"]
[tool.setuptools.package-data]
"*" = ["*.md", "*.txt", "*.py"]
[tool.black]
line-length = 88
target-version = ['py39', 'py310', 'py311', 'py312']
include = '\.pyi?$'
exclude = '''
/(
\.git
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| _build
| buck-out
| build
| dist
)/
'''
[tool.mypy]
python_version = "3.9"
warn_return_any = true
warn_unused_configs = true
ignore_missing_imports = true
[tool.pytest.ini_options]
testpaths = ["tests"]
python_files = ["test_*.py"]
addopts = "-v --cov=. --cov-report=term-missing"
[tool.coverage.run]
source = ["."]
omit = [
"*/tests/*",
"*/__pycache__/*",
"*/site-packages/*",
]
[tool.isort]
profile = "black"
line_length = 88
multi_line_output = 3
include_trailing_comma = true
force_grid_wrap = 0
use_parentheses = true
ensure_newline_before_comments = true