forked from zostera/django-bootstrap4
-
Notifications
You must be signed in to change notification settings - Fork 1
/
pyproject.toml
89 lines (81 loc) · 2.52 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
[build-system]
build-backend = "setuptools.build_meta"
requires = ["setuptools>=64"]
[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",
"Intended Audience :: Developers",
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"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",
"Topic :: Software Development :: Libraries",
"Topic :: Utilities",
]
dependencies = [
"Django>=4.2",
"beautifulsoup4>=4.10.0",
]
description = "Bootstrap 4 for Django"
keywords = ["django", "bootstrap", "bootstrap4"]
license = {file = "LICENSE"}
name = "django-bootstrap4"
readme = "README.md"
requires-python = ">=3.8"
version = "24.3"
[project.urls]
Changelog = "https://github.com/zostera/django-bootstrap4/blob/main/CHANGELOG.md"
Documentation = "https://django-bootstrap4.readthedocs.io/"
Homepage = "https://github.com/zostera/django-bootstrap4"
Issues = "https://github.com/zostera/django-bootstrap4/issues"
Source = "https://github.com/zostera/django-bootstrap4"
[tool.ruff]
fix = false
line-length = 120
src = ["src"]
target-version = "py38"
[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 = ["bootstrap3", "app"]
known-third-party = ["django"]
[tool.coverage.run]
branch = true
source = ["src", "tests"]
[tool.coverage.paths]
package = ["src/bootstrap4", "*/django_bootstrap4/src/bootstrap4"]
[tool.coverage.report]
show_missing = true
skip_covered = true