-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
77 lines (67 loc) · 1.95 KB
/
Copy pathpyproject.toml
File metadata and controls
77 lines (67 loc) · 1.95 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
[project]
name = "pytest-notebook-policy"
version = "1.0.2"
description = "Pytest plugin for notebook policy and quality checks"
readme = "README.md"
license = "MIT"
license-files = ["LICENSE"]
authors = [
{ name = "Michael Booth", email = "[email protected]" }
]
keywords = ["pytest", "marimo", "jupyter", "notebooks", "lint", "quality", "policy"]
classifiers = [
"Development Status :: 3 - Alpha",
"Framework :: Pytest",
"Intended Audience :: Developers",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Software Development :: Quality Assurance",
]
requires-python = ">=3.12"
dependencies = [
"jinja2>=3.1",
"pytest>=8.0",
]
[project.urls]
Homepage = "https://github.com/DataBooth/pytest-notebook-policy"
Repository = "https://github.com/DataBooth/pytest-notebook-policy"
Issues = "https://github.com/DataBooth/pytest-notebook-policy/issues"
Documentation = "https://databooth.github.io/pytest-notebook-policy/"
[project.scripts]
pytest-notebook-quality = "pytest_notebook_policy.quality:main"
[project.entry-points.pytest11]
notebook_policy = "pytest_notebook_policy.plugin"
[project.optional-dependencies]
sync = [
"jupytext>=1.16",
]
[build-system]
requires = ["uv_build>=0.11.7,<0.12.0"]
build-backend = "uv_build"
[dependency-groups]
dev = [
"great-docs>=0.14.0",
"jupytext>=1.16",
"prek>=0.4.5",
"pytest>=8.0",
"ruff>=0.14.0",
]
[tool.ruff]
target-version = "py312"
line-length = 100
extend-exclude = ["tests/fixtures/real/*.ipynb"]
[tool.ruff.lint]
extend-select = ["S"]
[tool.ruff.lint.per-file-ignores]
"experiments/**/*.ipynb" = ["S311"]
"experiments/**/*.py" = ["B018", "S311"]
"src/pytest_notebook_policy/quality.py" = ["S603"]
"tests/**/*.py" = ["S101"]
"tests/fixtures/**/*.ipynb" = ["S311"]
"tests/fixtures/**/*.py" = ["B018", "S311"]
[tool.uv.workspace]
members = [
"tmp/manual_checks/experiments",
".",
]