-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
106 lines (97 loc) · 2.78 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
106
[build-system]
build-backend = "hatchling.build"
requires = ["hatchling"]
[project]
authors = [
{name = "Dylan Verheul", email = "[email protected]"},
]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Environment :: Web Environment",
"Framework :: Django",
"Framework :: Django :: 4.2",
"Framework :: Django :: 5.0",
"Framework :: Django :: 5.1",
"Intended Audience :: Developers",
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"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 :: Software Development :: Libraries",
"Topic :: Utilities",
]
dependencies = [
"Django>=4.2",
"beautifulsoup4>=4.10.0",
]
description = "Django extensions by Zostera"
keywords = ["django", "utilities", "testing"]
license = {file = "LICENSE"}
name = "django-marina"
readme = "README.md"
requires-python = ">=3.9"
version = "24.3"
[project.urls]
Changelog = "https://github.com/zostera/django-marina/blob/main/CHANGELOG.md"
Documentation = "https://django-marina.readthedocs.io/"
Homepage = "https://github.com/zostera/django-marina"
Issues = "https://github.com/zostera/django-marina/issues"
Source = "https://github.com/zostera/django-marina"
[tool.ruff]
fix = false
line-length = 120
src = ["src"]
target-version = "py39"
[tool.ruff.lint]
fixable = [
"I001", # isort (sorting)
"F", # flake8
"D", # docformatter
"UP", # pyupgrade
]
ignore = [
"D1", # D1: Missing docstring error codes (because not every function and class has a docstring)
"D203", # D203: 1 blank line required before class docstring (conflicts with D211 and should be disabled, see https://github.com/PyCQA/pydocstyle/pull/91)
"D212", # D212: Multi-line docstring summary should start at the first line
"D301", # D301: Use r”“” if any backslashes in a docstring (unclear how else to handle backslashes in docstrings)
]
select = [
"D", # pydocstyle
"E", # pycodestyle
"F", # flake8
"I", # isort
"UP", # pyupgrade
]
unfixable = [
"F8", # names in flake8, such as defined but unused variables
]
[tool.ruff.lint.isort]
known-first-party = ["django_marina", "app"]
known-third-party = ["django"]
[tool.coverage.run]
branch = true
source = ["src", "tests"]
[tool.coverage.paths]
package = ["src/django_marina", "*/django_marina/src/django_marina"]
[tool.coverage.report]
show_missing = true
skip_covered = true
[dependency-groups]
dev = [
"check-manifest>=0.50",
"check-wheel-contents>=0.6.0",
"coverage[toml]>=7.6.1",
"pyroma>=4.2",
"ruff>=0.7.1",
"tox-uv>=1.13.1",
"twine>=5.1.1",
]
docs = [
"furo>=2024.8.6",
"myst-parser>=3.0.1",
"sphinx>=7.1.2",
]