forked from PyGreSQL/PyGreSQL
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
105 lines (95 loc) · 2.61 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
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
[project]
name = "PyGreSQL"
version = "6.0.1"
requires-python = ">=3.7"
authors = [
{name = "D'Arcy J. M. Cain", email = "[email protected]"},
{name = "Christoph Zwerschke", email = "[email protected]"},
]
description = "Python PostgreSQL interfaces"
readme = "README.rst"
keywords = ["pygresql", "postgresql", "database", "api", "dbapi"]
classifiers = [
"Development Status :: 6 - Mature",
"Intended Audience :: Developers",
"License :: OSI Approved :: PostgreSQL License",
"Operating System :: OS Independent",
"Programming Language :: C",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: SQL",
"Topic :: Database",
"Topic :: Database :: Front-Ends",
"Topic :: Software Development :: Libraries :: Python Modules",
]
[project.license]
file = "LICENSE.txt"
[project.urls]
Homepage = "https://pygresql.github.io/"
Documentation = "https://pygresql.github.io/contents/"
"Source Code" = "https://github.com/PyGreSQL/PyGreSQL"
"Issue Tracker" = "https://github.com/PyGreSQL/PyGreSQL/issues/"
Changelog = "https://pygresql.github.io/contents/changelog.html"
Download = "https://pygresql.github.io/download/"
"Mailing List" = "https://mail.vex.net/mailman/listinfo/pygresql"
[tool.ruff]
target-version = "py37"
line-length = 79
exclude = [
"__pycache__",
"__pypackages__",
".git",
".tox",
".venv",
".devcontainer",
".vscode",
"docs",
"build",
"dist",
"local",
"venv",
]
[tool.ruff.lint]
select = [
"E", # pycodestyle
"F", # pyflakes
"I", # isort
"N", # pep8-naming
"UP", # pyupgrade
"D", # pydocstyle
"B", # bugbear
"S", # bandit
"SIM", # simplify
"RUF", # ruff
]
ignore = ["D203", "D213"]
[tool.ruff.lint.per-file-ignores]
"tests/*.py" = ["D100", "D101", "D102", "D103", "D105", "D107", "S"]
[tool.mypy]
python_version = "3.12"
check_untyped_defs = true
no_implicit_optional = true
strict_optional = true
warn_redundant_casts = true
warn_unused_ignores = true
disallow_untyped_defs = true
[[tool.mypy.overrides]]
module = [
"tests.*"
]
disallow_untyped_defs = false
[tool.setuptools]
packages = ["pg", "pgdb"]
license-files = ["LICENSE.txt"]
[tool.setuptools.package-data]
pg = ["pg.typed"]
pgdb = ["pg.typed"]
[build-system]
requires = ["setuptools>=68", "wheel>=0.42"]
build-backend = "setuptools.build_meta"