-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
39 lines (35 loc) · 786 Bytes
/
pyproject.toml
File metadata and controls
39 lines (35 loc) · 786 Bytes
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
[build-system]
requires = ["setuptools"]
build-backend = "setuptools.build_meta"
[project]
name = "unlearning-sql"
description = "Components and examples for the Unlearning SQL book."
readme = "README.rst"
requires-python = ">=3.12"
version = "2024.08"
# LaTeX book is 6x9 size.
# line-length = 60 # for LaTeX font size \\small
# line-length = 74 # for LaTeX font size \\scriptsize
# \\tiny might be too small.
[tool.ruff]
line-length = 72
indent-width = 4
target-version = "py312"
[tool.tox]
legacy_tox_ini = """
[tox]
skipsdist = true
base_python = python3.12
[testenv]
deps =
-r requirements-test.txt
commands_pre =
pip-sync requirements.txt requirements-test.txt
setenv =
PYTHONPATH=src
commands =
ruff format src
pytest -vv
pyright src
behave
"""