-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
64 lines (54 loc) · 1.45 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
[tool.poetry]
name = "manim-dataflow-analysis"
version = "0.1.0"
description = ""
authors = ["Berg Lucas <[email protected]>"]
license = "MIT"
readme = "README.md"
[tool.poetry.dependencies]
python = ">=3.9,<3.13"
manim = "^0.18.1"
networkx = ">=2.6"
types-networkx = ">=2.6"
frozendict = "^2.4.6"
[tool.poetry.group.dev.dependencies]
black = "^23.3.0"
mypy = "^1.4.1"
coverage = "^7.2.7"
ruff = "^0.6.4"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.poe.tasks]
test = "python -m unittest -v"
coverage = "coverage run -m unittest -v"
coverage-report = ["coverage", { cmd = "coverage report" }]
coverage-html = ["coverage", { cmd = "coverage html" }]
mypy = "mypy src"
black = "black src"
ruff = "ruff check src"
ruff-fix = "ruff check --fix src"
ruff-ufix = "ruff check --fix --unsafe-fixes src"
lint = ["black", "ruff", "mypy"]
[tool.coverage.run]
relative_files = true
branch = true
source = ["src/manim_dataflow_analysis", "tests"]
[tool.ruff.lint]
select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # pyflakes
"N", # pep8-naming
"I", # isort
"C", # flake8-comprehensions
"B", # flake8-bugbear
"TCH", # flake8-type-checking
"Q", # flake8-quotes
"PL", # pylint
]
ignore = ["E203", "N818", "C901", "PLR0912", "PLR0913", "PLR0915"]
[tool.ruff.lint.pydocstyle]
convention = "google"
[tool.mypy]
ignore_missing_imports = true