-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
90 lines (80 loc) · 2.62 KB
/
pyproject.toml
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
[tool.poetry]
name = "python-wrap"
version = "0.1.0"
description = "A comprehensive collection of Python decorators and utility functions for enhanced development workflows"
authors = ["Mahmoud Ahmed <[email protected]>"]
maintainers = ["Mahmoud Ahmed <[email protected]>"]
license = "MIT"
readme = "README.md"
homepage = "https://github.com/Pythondeveloper6/PythonWrap"
repository = "https://github.com/Pythondeveloper6/PythonWrap"
documentation = "https://python-wrap.readthedocs.io"
keywords = ["decorators", "utilities", "python", "development", "tools","python"]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Software Development :: Libraries :: Application Frameworks",
"Typing :: Typed"
]
packages = [{include = "python_wrap"}]
[tool.poetry.dependencies]
python = "^3.8"
wrapt = "^1.15.0"
typing-extensions = "^4.7.1" # For better type hints support
[tool.poetry.group.dev.dependencies]
pytest = "^7.4.0"
pytest-cov = "^4.1.0"
black = "^23.7.0" # Code formatting
isort = "^5.12.0" # Import sorting
mypy = "^1.4.1" # Type checking
pylint = "^2.17.5" # Code linting
pre-commit = "^3.3.3" # Git hooks
sphinx = "^7.1.1" # Documentation
sphinx-rtd-theme = "^1.2.2" # Documentation theme
[tool.poetry.urls]
"Bug Tracker" = "https://github.com/Pythondeveloper6/PythonWrap/issues"
"Changelog" = "https://github.com/Pythondeveloper6/PythonWrap/blob/main/CHANGELOG.md"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.black]
line-length = 88
target-version = ["py38"]
include = '\.pyi?$'
[tool.isort]
profile = "black"
multi_line_output = 3
line_length = 88
[tool.mypy]
python_version = "3.8"
warn_return_any = true
warn_unused_configs = true
disallow_untyped_defs = true
check_untyped_defs = true
[tool.pytest.ini_options]
minversion = "7.0"
addopts = "-ra -q --cov=python_wrap --cov-report=term-missing"
testpaths = ["tests"]
[tool.coverage.run]
source = ["python_wrap"]
branch = true
[tool.coverage.report]
exclude_lines = [
"pragma: no cover",
"def __repr__",
"if self.debug:",
"raise NotImplementedError",
"if __name__ == .__main__.:",
"pass",
"raise ImportError"
]
ignore_errors = true
omit = ["tests/*", "setup.py"]