-
Notifications
You must be signed in to change notification settings - Fork 2
/
pyproject.toml
65 lines (54 loc) · 1.41 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
[build-system]
requires = [
"setuptools>=64",
"setuptools_scm[toml]>=8",
]
build-backend = "setuptools.build_meta"
[project]
name = "bokeh_fastapi"
description = "Compatibility layer between Bokeh and FastAPI"
readme = "README.md"
authors = [
{ name = "Philipp Rudiger", email = "[email protected]" },
{ name = "Philip Meier", email = "[email protected]" },
]
license = {file = "LICENSE"}
requires-python = ">=3.10"
dependencies = [
"bokeh>=2.3.3",
"fastapi>=0.68.0",
"starlette",
"websockets>=10.4",
]
dynamic = ["version"]
[project.urls]
Repository = "https://github.com/bokeh/bokeh-fastapi"
[tool.setuptools_scm]
write_to = "src/bokeh_fastapi/_version.py"
version_scheme = "release-branch-semver"
local_scheme = "node-and-date"
[tool.ruff.lint]
select = [
"E",
"F",
# import sorting
"I001"
]
# Ignore line too long, because due to ruff, the error can only occur for strings
ignore = ["E501"]
[tool.ruff.lint.per-file-ignores]
# ignore unused imports and imports not at the top of the file in __init__.py files
"__init__.py" = ["F401", "E402"]
[tool.mypy]
files = "src/bokeh_fastapi"
show_error_codes = true
pretty = true
disallow_untyped_calls = true
disallow_untyped_defs = true
disallow_incomplete_defs = true
allow_redefinition = true
no_implicit_optional = true
warn_redundant_casts = true
warn_unused_ignores = true
warn_return_any = true
warn_unused_configs = true