-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
93 lines (82 loc) · 1.78 KB
/
pyproject.toml
File metadata and controls
93 lines (82 loc) · 1.78 KB
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>=63", "setuptools_scm[toml]>=8"]
build-backend = "setuptools.build_meta"
[project]
name = "wagtail-traverse"
dynamic = ["version"]
description = "Utilities for traversing Wagtail StreamField block definitions and values"
readme = "README.md"
license = {text = "MIT"}
authors = [
{name = "Will Barton", email = "pypi@willbarton.com" }
]
requires-python = ">=3.13"
dependencies = [
"wagtail>=6.3",
]
classifiers = [
"Framework :: Django",
"Framework :: Django :: 5.2",
"Framework :: Wagtail",
"Framework :: Wagtail :: 6",
"Framework :: Wagtail :: 7",
"License :: OSI Approved :: MIT License",
]
[project.optional-dependencies]
testing = [
"coverage[toml]",
]
[project.urls]
"Homepage" = "https://github.com/willbarton/wagtail-traverse"
"Bug Reports" = "https://github.com/willbarton/wagtail-traverse/issues"
"Source" = "https://github.com/willbarton/wagtail-traverse"
[tool.setuptools_scm]
[tool.coverage.run]
source = ["wagtailtraverse"]
[tool.ruff]
# Use PEP8 line-length
line-length = 79
# Exclude common paths
exclude = [
".git",
".tox",
"__pycache__",
"**/migrations/*.py",
]
[tool.ruff.lint]
ignore = ["E731", ]
# Select specific rulesets to use
select = [
# pycodestyle
"E",
# pyflakes
"F",
# flake8-bugbear
"B",
# pyupgrade
"UP",
# flake8-simplify
"SIM",
# isort
"I",
]
[tool.ruff.lint.isort.sections]
"django" = ["django"]
[tool.ruff.lint.isort]
lines-after-imports = 2
known-third-party = ["jinja2"]
section-order = [
"future",
"standard-library",
"django",
"third-party",
"first-party",
"local-folder",
]
[tool.zuban]
exclude = ["wagtailtraverse/tests/settings.py"]
exclude_gitignore = true
[tool.bandit]
exclude_dirs = [
"*/tests/*",
]