-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
77 lines (63 loc) · 1.91 KB
/
pyproject.toml
File metadata and controls
77 lines (63 loc) · 1.91 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
[build-system]
requires = ["setuptools>=80.3.1"]
build-backend = "setuptools.build_meta"
[project]
name = "taskflow"
dynamic = ["version", "optional-dependencies"]
urls = {"homepage" = "https://git@github.com/Vectorworks/taskflow.git"}
description = "A simple workflow library."
readme = "README.md"
requires-python = ">=3.9"
[tool.setuptools.dynamic]
version = {attr = "taskflow.__version__"}
optional-dependencies = { dev = { file = ["requirements-dev.txt"] } }
[tool.setuptools.packages.find]
where = ["."]
[tool.setuptools.package-data]
taskflow = ["**/*"]
[tool.pytest.ini_options]
testpaths = ["taskflow/tests"]
[tool.flake8]
exclude = [".cache", ".git", ".tox", ".vscode"]
max-line-length = 120
[tool.isort]
skip = [".cache", ".git", ".tox", ".vscode"]
indent = 4
line_length = 120
multi_line_output = 2
combine_as_imports = true
include_trailing_comma = true
default_section = "THIRDPARTY"
known_libraries = []
known_first_party = ["taskflow"]
sections = ["FUTURE", "STDLIB", "THIRDPARTY", "LIBRARIES", "FIRSTPARTY", "LOCALFOLDER"]
[tool.tox]
envlist = ["py310-django32", "py310-django42", "py311-django42", "lint", "isort"]
skip_missing_interpreters = true
[tool.tox.env.default]
recreate = false
alwayscopy = true
usedevelop = false
setenv = {PYTHONPATH = "{toxinidir}"}
changedir = "{toxinidir}"
[tool.tox.env.py310-django32]
extras = ["dev"]
deps = ["django>=3.2,<4.0"]
basepython = ["python3.10"]
commands = [["python", "-m", "pytest"]]
[tool.tox.env.py310-django42]
extras = ["dev"]
deps = ["django>=4.2,<4.3"]
basepython = ["python3.10"]
commands = [["python", "-m", "pytest"]]
[tool.tox.env.py311-django42]
extras = ["dev"]
deps = ["django>=4.2,<4.3"]
basepython = ["python3.11"]
commands = [["python", "-m", "pytest"]]
[tool.tox.env.lint]
extras = ["dev"]
commands = [["python", "-m", "flake8", "taskflow"]]
[tool.tox.env.isort]
extras = ["dev"]
commands = [["python", "-m", "isort", "--check-only", "--diff", "taskflow"]]