Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
94 lines (77 loc) · 1.55 KB
/
Copy pathpyproject.toml
File metadata and controls
94 lines (77 loc) · 1.55 KB
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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
# pyproject.toml
[tool.poetry]
name = "treexx"
version = "0.1.0"
description = "Fast and extensible filesystem traversal toolkit"
authors = ["AlgorithmAlchemy"]
license = "MIT"
readme = "README.md"
packages = [{ include = "treexx", from = "src" }]
[tool.poetry.dependencies]
python = ">=3.13"
pathspec = "^0.12.1"
[tool.poetry.group.dev.dependencies]
pytest = "*"
pytest-asyncio = "*"
pytest-cov = "*"
black = "*"
ruff = "*"
mypy = "*"
pre-commit = "*"
bandit = "*"
safety = "*"
pylint = "*"
flake8 = "*"
ty = "*"
gitlint = "*"
[tool.poetry.scripts]
treex = "treexx.cli.main:main"
trex = "treexx.cli.main:main"
[build-system]
requires = ["poetry-core>=2.0.0,<3.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.pytest.ini_options]
asyncio_default_fixture_loop_scope = "function"
testpaths = ["tests"]
python_files = ["test_*.py"]
python_functions = ["test_*"]
addopts = "-ra --strict-markers"
[tool.ruff]
target-version = "py313"
line-length = 79
src = ["src", "tests"]
[tool.ruff.lint]
select = [
"E",
"F",
"W",
"I",
"UP",
"B",
"SIM",
]
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
[tool.black]
line-length = 79
target-version = ["py313"]
[tool.mypy]
python_version = "3.13"
strict = true
mypy_path = "src"
[tool.pylint.main]
py-version = "3.13"
source-roots = ["src"]
[tool.pylint.format]
max-line-length = 79
[tool.bandit]
exclude_dirs = ["tests", ".venv", ".git"]
[tool.coverage.run]
branch = true
source = ["treexx"]
omit = ["tests/*"]
[tool.coverage.report]
show_missing = true
skip_covered = false
fail_under = 0