-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
72 lines (62 loc) · 1.44 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
69
70
71
72
[tool.black]
line-length = 88
[tool.isort]
line_length = 88
profile = "black"
skip_glob = "venv"
known_first_party = ["raytracer", "tests"]
[tool.mypy]
exclude = ".venv/"
check_untyped_defs = true
disallow_incomplete_defs = true
warn_unused_configs = true
warn_unused_ignores = true
disallow_subclassing_any = true
disallow_untyped_defs = true
no_implicit_optional = true
warn_redundant_casts = true
warn_return_any = true
[tool.coverage.run]
omit = [
"raytracer/core/config.py",
"raytracer/cli.py",
"raytracer/**/cli/__init__.py",
]
[tool.coverage.report]
show_missing = true
fail_under = 100
[tool.poetry]
name = "raytracer"
version = "0.1.0"
description = ""
authors = ["Gary Prescott <[email protected]>"]
readme = "README.md"
packages = [{ include = "raytracer" }]
include = [{ path = "raytracer/**/*.so", format = "wheel" }]
[tool.poetry.build]
generate-setup-file = false
script = "build.py"
[tool.poetry.dependencies]
python = "^3.11"
click = "^8.1.3"
pillow = "^10.0.0"
cython = "^0.29.35"
[tool.poetry.group.dev.dependencies]
pytest = "^7.4.0"
black = "^23.3.0"
flake8 = "^6.0.0"
flake8-isort = "^6.0.0"
isort = "^5.12.0"
mypy = "^1.3.0"
pytest-cov = "^4.1.0"
ipython = "^8.14.0"
ipdb = "^0.13.13"
pytest-mock = "^3.10.0"
types-pillow = "^9.5.0.5"
snakeviz = "^2.2.0"
cythonbuilder = "^0.1.20"
[tool.poetry.scripts]
raytracer = "raytracer.cli:cli"
[build-system]
requires = ["poetry-core", "cython"]
build-backend = "poetry.core.masonry.api"