-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
62 lines (52 loc) · 1.47 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
[build-system]
requires = ["setuptools"]
build-backend = "setuptools.build_meta"
[project]
name = "mizdb-inlines"
version = "0.3.1"
authors = [
{ name="Philip Becker", email="yummytea1@gmail.com" },
]
description = "Django inline formsets with bootstrap"
readme = "README.md"
requires-python = ">=3.8"
dependencies = [
"Django",
"django_bootstrap5"
]
classifiers = [
"Framework :: Django",
"Programming Language :: Python :: 3",
]
[project.urls]
Source = "https://github.com/Actionb/mizdb-inlines"
[tool.setuptools]
package-dir = {"" = "src"}
[tool.setuptools.packages.find]
where = ["src"]
[tool.setuptools.package-data]
"*" = ["*.js", "*.css", "*.html"]
[tool.black]
line-length = 120
target_version = ["py39", "py310", "py311"]
[tool.ruff]
src = ["src"]
target-version = "py311"
line-length = 120
[tool.ruff.lint]
select = [
"D", # pydocstyle
"E", "W", # pycodestyle
"F", # flake8
"I", # isort
]
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)
"D205", # D205: 1 blank line required between summary line and description
"D212", # D212: Multi-line docstring summary should start at the first line
]
[tool.ruff.lint.pydocstyle]
convention = "google"
[tool.ruff.lint.pycodestyle]
max-doc-length = 88