-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
104 lines (91 loc) · 2.59 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
[build-system]
requires = ["flit_core>=3.2", "flit_scm", "wheel"]
build-backend = "flit_scm:buildapi"
[project]
name = "django-citext"
authors = [
{ name = "Johannes Maron", email = "[email protected]" },
{ name = "Jörg Benesch", email = "[email protected]" },
{ name = "Rust Saiargaliev", email = "[email protected]" }
]
readme = "README.md"
license = { file = "LICENSE" }
keywords = ["PostgreSQL", "Django", "CITEXT", "Case Insensitive", "postgres"]
dynamic = ["version", "description"]
classifiers = [
"Development Status :: 1 - Planning",
"Programming Language :: Python",
"Environment :: Web Environment",
"License :: OSI Approved :: BSD License",
"Intended Audience :: Developers",
"Operating System :: OS Independent",
"Topic :: Software Development",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Database",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Framework :: Django",
"Framework :: Django :: 4.2",
"Framework :: Django :: 5.0",
]
requires-python = ">=3.9"
dependencies = [
"django",
"psycopg>=3.1.8; extra != 'psycopg2'",
]
[project.optional-dependencies]
test = [
"pytest",
"pytest-cov",
"pytest-django",
]
lint = [
"black==24.8.0",
"pre-commit==3.8.0",
"ruff==0.6.3",
]
psycopg2 = ["psycopg2-binary"]
bakery = ["model-bakery"]
[project.urls]
Project-URL = "https://github.com/voiio/django-citext"
Changelog = "https://github.com/voiio/django-citext/releases"
[tool.flit.module]
name = "citext"
[tool.setuptools_scm]
write_to = "citext/_version.py"
[tool.pytest.ini_options]
minversion = "6.0"
addopts = "--cov --tb=short -rxs"
testpaths = ["tests"]
DJANGO_SETTINGS_MODULE = "tests.testapp.settings"
[tool.coverage.run]
source = ["citext"]
[tool.coverage.report]
show_missing = true
[tool.ruff]
src = ["emark", "tests"]
[tool.ruff.lint]
select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # pyflakes
"I", # isort
"S", # flake8-bandit
"D", # pydocstyle
"UP", # pyupgrade
"B", # flake8-bugbear
"C", # flake8-comprehensions
]
ignore = ["B904", "D1", "D212", "E501", "S101", "UP031"]
[tool.ruff.lint.isort]
combine-as-imports = true
split-on-trailing-comma = true
known-first-party = ["citext", "tests"]
section-order = ["future", "standard-library", "third-party", "first-party", "local-folder"]
force-wrap-aliases = true
[tool.ruff.lint.pydocstyle]
convention = "pep257"