-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
150 lines (132 loc) · 3.7 KB
/
pyproject.toml
File metadata and controls
150 lines (132 loc) · 3.7 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
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
[build-system]
requires = ["hatchling==1.26.3"]
build-backend = "hatchling.build"
[project]
name = "integrify-core"
version = "1.1.0"
description = "Integrify API inteqrasiyalarını rahatlaşdıran bünovrə (core) kitabxanadır."
authors = [{ name = "mmzeynalli", email = "miradil.zeynalli@gmail.com" }]
requires-python = ">=3.9"
readme = "README.md"
license = "GPL-3.0-or-later"
classifiers = [
"Intended Audience :: Information Technology",
"Intended Audience :: System Administrators",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python",
"Topic :: Internet",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Software Development :: Libraries",
"Topic :: Software Development",
"Typing :: Typed",
"Environment :: Web Environment",
"Framework :: AsyncIO",
"Framework :: Pydantic",
"Intended Audience :: Developers",
"License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Internet :: WWW/HTTP :: HTTP Servers",
"Topic :: Internet :: WWW/HTTP",
]
dependencies = ["pydantic>=2.11.10,<3", "httpx>=0.27.2,<0.28"]
[project.urls]
Homepage = "https://integrify.mmzeynalli.dev/"
Repository = "https://github.com/Integrify-SDK/integrify-core-python"
Documentation = "https://integrify.mmzeynalli.dev/"
[dependency-groups]
gh = [
"pytest>=8.1.1,<9",
"pytest-mock>=3.14.0,<4",
"smokeshow>=0.4.0,<0.5",
"coverage>=7.6.3,<8",
"duty>=1.5.0",
]
dev = [
"pytest>=8.1.1,<9",
"pytest-mock>=3.14.0,<4",
"mypy>=1.9.0,<2",
"ruff>=0.3.5,<0.4",
"pre-commit>=3.8.0,<4",
"ptpython>=3.0.29,<4",
"bandit>=1.7.10,<2",
"coverage>=7.6.3,<8",
"pylint>=3.3.1,<4",
"duty>=1.5.0",
]
docs = [
"mkdocs-material[imaging]>=9.6.4,<10",
"mkdocstrings[python]>=0.28.1,<1.0.0",
"mkdocs-panzoom-plugin>=0.1.3,<0.2",
"griffe-pydantic>=1.1.0,<2",
]
[tool.uv]
default-groups = ["gh", "dev", "docs"]
[tool.hatch.build.targets.sdist]
include = ["src/integrify"]
[tool.hatch.build.targets.wheel]
include = ["src/integrify"]
[tool.hatch.build.targets.wheel.sources]
"src/integrify" = "integrify"
[tool.ruff]
target-version = "py39"
line-length = 100
src = ["src", "tests", "duties.py"]
[tool.ruff.lint]
select = [
# Pyflakes
"F",
# Pycodestyle
"E",
"W",
# isort
"I",
# Print statements
"T201",
]
ignore-init-module-imports = true
[tool.ruff.format]
quote-style = "single"
[tool.ruff.lint.flake8-quotes]
docstring-quotes = "double"
[tool.pylint.MASTER]
ignore-paths = ["tests/", ".venv/", ".venvs/", "test.py"]
disable = ["C0114", "C0115", "C0301", "R0913", "R0914", "R0917", "R0801"]
[tool.mypy]
exclude = ["tests/*", "test.py"]
plugins = ["pydantic.mypy"]
mypy_path = "src"
namespace_packages = true
explicit_package_bases = true
[tool.pytest.ini_options]
pythonpath = ["src/"]
filterwarnings = ["ignore::UserWarning"]
[tool.coverage.report]
exclude_also = [
"def __repr__",
"raise AssertionError",
"raise NotImplementedError",
"if TYPE_CHECKING:",
"class .*\\bProtocol\\):",
"@(abc\\.)?abstractmethod",
]
fail_under = 95
[tool.coverage.run]
source = ["src"]
omit = ["src/integrify/test.py"]
branch = true
relative_files = true
context = "${CONTEXT}"
[tool.coverage.paths]
source = [
"src/",
"/Users/runner/work/interify/interify/src/",
'D:\a\integrify\integrify\src',
]
[tool.bandit]
skips = ["B101"]