-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
68 lines (59 loc) · 1.72 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
66
67
68
[build-system]
requires = ["setuptools>=61.2"]
build-backend = "setuptools.build_meta"
[project]
name = "format-ipy-cells"
version = "0.1.11"
description = "Format cells in interactive Python notebooks."
authors = [{ name = "Janosh Riebesell", email = "[email protected]" }]
license = { file = "license" }
readme = 'readme.md'
keywords = [
"code formatting",
"interactive",
"ipython",
"jupyter",
"pre-commit hook",
"python",
]
classifiers = [
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
]
requires-python = ">=3.10"
[project.urls]
Homepage = "https://github.com/janosh/format-ipy-cells"
Package = "https://pypi.org/project/format-ipy-cells"
[project.optional-dependencies]
test = ["pytest", "pytest-cov"]
[project.scripts]
format-ipy-cells = "format_ipy_cells.main:main"
[tool.setuptools.packages.find]
include = ["format_ipy_cells"]
[tool.pytest.ini_options]
testpaths = ["tests"]
[tool.mypy]
check_untyped_defs = true
disallow_untyped_defs = true
disallow_any_generics = true
disallow_incomplete_defs = true
warn_redundant_casts = true
warn_unused_ignores = true
no_implicit_optional = false
[tool.ruff]
target-version = "py310"
select = ["ALL"]
ignore = [
"COM812", # trailing comma missing
"D100", # Missing docstring in public module
"D104", # Missing docstring in public package
"D205", # 1 blank line required between summary line and description
"INP001", # implicit-namespace-packages
"PTH", # prefer pathlib over os.path
"T201", # print
]
pydocstyle.convention = "google"
[tool.ruff.per-file-ignores]
"tests/*" = ["D103", "S101"]