-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpyproject.toml
More file actions
71 lines (61 loc) · 1.25 KB
/
Copy pathpyproject.toml
File metadata and controls
71 lines (61 loc) · 1.25 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
[project]
name = "flowshow"
version = "0.2.2"
description = "A tool for visualizing nested task execution flows"
authors = [
{name = "Vincent Warmerdam", email = ""},
]
dependencies = [
"pytz",
"stamina",
"orjson",
"jinja2",
"pydantic",
]
requires-python = ">=3.10"
readme = "README.md"
license = {text = "MIT"}
license-files = ["LICEN[CS]E*"]
[project.optional-dependencies]
dev = [
"ruff>=0.1.9",
"build>=1.0.3",
"twine>=4.0.2",
"pytest>=7.0.0",
]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.metadata]
allow-direct-references = true
[tool.hatch.build.targets.wheel]
packages = ["flowshow"]
include = [
"flowshow/templates/**/*.html",
]
[tool.ruff]
# Same as Black.
line-length = 130
indent-width = 4
target-version = "py37"
[tool.ruff.lint]
select = [
"E", # pycodestyle errors
"F", # pyflakes
"I", # isort
"UP", # pyupgrade
"N", # pep8-naming
"S", # bandit
"C", # flake8-comprehensions
"T", # flake8-print
]
ignore = []
[tool.ruff.lint.per-file-ignores]
"__init__.py" = ["F401"]
"examples/*" = ["T201"]
[tool.ruff.lint.isort]
known-first-party = ["flowshow"]
combine-as-imports = true
[tool.black]
line-length = 130
include = '\.pyi?$'