-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
82 lines (71 loc) · 1.89 KB
/
Copy pathpyproject.toml
File metadata and controls
82 lines (71 loc) · 1.89 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
[project]
name = "Crumbles"
description = "A simple library for class based view breadcrumbs for any python web framework"
requires-python = ">=3.10"
license = {text = "MIT"}
readme = "README.md"
authors = [{name = "Martijn Jacobs", email = "maerteijn@gmail.com"}]
classifiers = [
"Development Status :: 3 - Alpha",
"Environment :: Console",
"Intended Audience :: Developers",
"Intended Audience :: System Administrators",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Environment :: Web Environment"
]
dynamic = ["version"]
[project.urls]
"Repository" = "https://github.com/maerteijn/crumbles"
[tool.setuptools_scm]
[tool.setuptools.packages.find]
where = ["src"]
[project.optional-dependencies]
dev = [
"pip-tools~=7.3",
"ruff~=0.9",
"pytest~=7.4",
"pytest-cov~=4.0",
"mypy~=1.5",
"twine~=4.0",
]
dist = [
"build~=1.0"
]
[build-system]
requires = ["setuptools", "setuptools-scm"]
build-backend = "setuptools.build_meta"
[tool.ruff]
line-length = 88
lint.ignore = ["C408", "E501", "F405", "T201", "UP031"]
lint.select = [
"E", # pycodestyle errors
"F", # pyflakes
"I", # isort
"T20", # flake8-print
"BLE", # flake8-blind-except
"C4", # flake8-comprehensions
"UP", # pyupgrade
"Q"
]
[tool.pytest.ini_options]
testpaths = "tests/"
[tool.coverage.run]
omit = ["**/tests/**"]
[tool.coverage.report]
show_missing = true
[tool.mypy]
exclude = ["tests/*"]
# see https://careers.wolt.com/en/blog/tech/professional-grade-mypy-configuration
disallow_untyped_defs = true
disallow_any_unimported = true
no_implicit_optional = true
check_untyped_defs = true
warn_return_any = true
warn_unused_ignores = true
show_error_codes = true
[tool.pylsp-mypy]
exclude = ["tests/*"]