-
Notifications
You must be signed in to change notification settings - Fork 5
/
pyproject.toml
66 lines (55 loc) · 1.57 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
[build-system]
requires = ["setuptools"]
build-backend = "setuptools.build_meta"
[project]
name = "mizdb-tomselect"
version = "0.10.0"
authors = [
{ name="Philip Becker", email="yummytea1@gmail.com" },
]
description = "Django autocomplete widgets and views using TomSelect"
readme = "README.md"
requires-python = ">=3.8"
dependencies = [
"Django"
]
classifiers = [
"Framework :: Django",
"Programming Language :: Python :: 3",
]
[project.urls]
Source = "https://github.com/Actionb/mizdb-tomselect"
[tool.setuptools]
package-dir = {"" = "src"}
[tool.setuptools.packages.find]
where = ["src"]
[tool.setuptools.package-data]
"*" = ["*.js", "*.css", "*.css.map", "*.html"]
[tool.coverage.run]
branch = true
source = ["mizdb_tomselect"]
[tool.coverage.paths]
source = ["src", ".tox/*/site-packages"]
[tool.black]
line-length = 120
target_version = ["py39", "py310", "py311"]
[tool.ruff]
src = ["src"]
target-version = "py311"
line-length = 120
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.pydocstyle]
convention = "google"
[tool.ruff.pycodestyle]
max-doc-length = 88