-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
55 lines (42 loc) · 1014 Bytes
/
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
[tool.poetry]
name = "python_project"
version = "0.1.0"
description = ""
authors = ["ai-validation-team <[email protected]>"]
readme = "README.md"
[tool.poetry.dependencies]
python = "^3.11"
[tool.poetry.group.test.dependencies]
pytest = "^8.3.4"
coverage = "^7.6.8"
[tool.poetry.group.dev.dependencies]
ruff = "^0.8.1"
pre-commit = "^4.0.1"
pyright = "^1.1.389"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
# Ruff settings: https://docs.astral.sh/ruff/configuration/
[tool.ruff]
line-length = 120
target-version = "py311"
[tool.ruff.lint]
select = ["I", "SIM", "B", "UP", "F", "E"]
fixable = ["ALL"]
[tool.pyright]
pythonVersion = "3.11"
typeCheckingMode = "strict"
reportMissingImports = true
reportMissingTypeStubs = true
[tool.coverage.run]
branch = true
command_line = "-m pytest ./tests"
[tool.coverage.report]
fail_under = 95
[tool.coverage.html]
directory = "htmlcov"
title = "python_project"
[tool.pytest.ini_options]
testpaths = [
"tests"
]