-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
68 lines (57 loc) · 1.11 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
[tool.poetry]
name = "sleepy"
version = "0.0.1"
description = "LISP-like Simple Language with VM"
authors = ["Victor Smirnov <vityaman.dev@yandex.ru>"]
license = "Apache-2.0"
readme = "README.md"
repository = "https://github.com/vityaman-edu/sleepy"
[tool.poetry.dependencies]
python = "^3.12"
lark = "*"
[tool.poetry.scripts]
example = "sleepy.main:main"
[tool.poetry.group.dev.dependencies]
pytest = "*"
pytest-golden = "*"
hypothesis = "*"
coverage = "*"
mypy = "*"
ruff = "*"
[build-system]
requires = ["poetry"]
build-backend = "poetry.masonry.api"
[tool.ruff]
line-length = 80
indent-width = 4
target-version = "py312"
[tool.ruff.lint]
select = ["ALL"]
ignore = [
"D104",
"D100",
"D101",
"D102",
"D103",
"D105",
"D106",
"D107",
"D211",
"D212",
"ANN101",
"ANN102",
]
fixable = ["ALL"]
unfixable = []
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
[tool.ruff.lint.mccabe]
max-complexity = 6
[tool.ruff.lint.extend-per-file-ignores]
"test/**/*.py" = ["S101"]
"sleepy/**/__init__.py" = ["F401"]
[tool.pytest.ini_options]
testpaths = ["test"]
[tool.coverage.report]
fail_under = 90