-
Notifications
You must be signed in to change notification settings - Fork 66
/
pyproject.toml
93 lines (81 loc) · 2.18 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
[build-system]
requires = ["setuptools>=61.0"]
build-backend = "setuptools.build_meta"
[project]
name = "django-tagulous"
description = "Fabulous Tagging for Django"
dynamic = ["version"]
authors = [
{ name="Richard Terry", email="[email protected]" },
]
readme = "README.md"
classifiers = [
"Development Status :: 5 - Production/Stable",
"Framework :: Django",
"Framework :: Django :: 3.2",
"Framework :: Django :: 4.0",
"Framework :: Django :: 4.1",
"Framework :: Django :: 4.2",
"Framework :: Django :: 5.0",
"Framework :: Django :: 5.1",
"License :: OSI Approved :: BSD License",
"Programming Language :: Python :: 3",
"Operating System :: OS Independent",
]
keywords = ["django", "tags", "tagging"]
requires-python = ">=3.8"
dependencies = [
"Django>=2.2",
]
[project.urls]
Homepage = "https://radiac.net/projects/django-tagulous/"
Documentation = "https://django-tagulous.readthedocs.io/"
Changelog = "https://django-tagulous.readthedocs.io/en/latest/changelog.html"
Repository = "https://github.com/radiac/django-tagulous"
Issues = "https://github.com/radiac/django-tagulous/issues"
[tool.setuptools.packages.find]
include = ["tagulous*"]
exclude = ["docs*", "tests*", "examples*", "dist*"]
[tool.setuptools.package-data]
tagulous = ["static/**/*", "templates/**/*"]
[tool.setuptools.dynamic]
version = {attr = "tagulous.__version__"}
[tool.pytest.ini_options]
addopts = "--cov=tagulous --cov-report=term --cov-report=html"
testpaths = [
"tests",
"tagulous",
]
django_find_project = false
DJANGO_SETTINGS_MODULE = "tests.settings"
[tool.coverage.run]
parallel = true
source = ["tagulous"]
[tool.black]
line-length = 88
target-version = ["py312"]
include = "\\.pyi?$"
[tool.isort]
multi_line_output = 3
line_length = 88
known_django = "django"
sections = ["FUTURE", "STDLIB", "DJANGO", "THIRDPARTY", "FIRSTPARTY", "LOCALFOLDER"]
include_trailing_comma = true
lines_after_imports = 2
skip = [".git"]
[tool.mypy]
follow_imports = "skip"
ignore_missing_imports = true
[tool.doc8]
max-line-length = 88
ignore-path = ["*.txt"]
[tool.ruff]
line-length = 88
lint.select = ["E", "F"]
lint.ignore = [
"E501", # line length
]
exclude = [
".git",
"dist",
]