-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
111 lines (96 loc) · 1.76 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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
[tool.poetry]
name = "pyls"
version = "1.0.2"
description = "'ls' like utility built on Python."
authors = ["Pratheesh Prakash <[email protected]>"]
license = "GPL-3.0-or-later"
readme = "README.md"
packages = [
{ include = "src" }
]
[tool.poetry.scripts]
pyls = "src.cli:execute_parser"
[tool.poetry.dependencies]
python = "^3.12"
[tool.poetry.group.dev.dependencies]
bandit = "^1.7.9"
pytest = "^8.3.2"
pytest-cov = "^5.0.0"
ruff = "^0.6.3"
refurb = "^2.0.0"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.ruff]
exclude = [
".bzr",
".direnv",
".eggs",
".git",
".git-rewrite",
".hg",
".mypy_cache",
".nox",
".pants.d",
".pytype",
".ruff_cache",
".svn",
".tox",
".venv",
"main.yml",
"__pypackages__",
"_build",
"buck-out",
"build",
"dist",
"node_modules",
"venv",
".vscode",
".pytest_cache",
"*/schema/",
"*/tests/*",
"test_*.py",
]
target-version = "py312"
fix = true
[tool.ruff.lint]
select = ["ALL"]
ignore = [
"D203",
"D213",
"E402",
"SIM115",
"ANN101",
"C416",
"C419",
"DTZ011",
"FA102",
"CPY001",
"T201",
"ISC001",
]
fixable = ["ALL"]
unfixable = []
dummy-variable-rgx = "^(_+|(_+[a-zA-Z0-9_]*[a-zA-Z0-9]+?))$"
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
skip-magic-trailing-comma = false
line-ending = "auto"
exclude = ["*.pyi"]
[tool.ruff.lint.isort]
case-sensitive = true
[tool.ruff.lint.pylint]
max-args = 10
[tool.bandit]
exclude_dirs = ["*/tests/*", "test_*",]
[tool.mypy]
exclude = [
"tests/",
]
[tool.refurb]
enable_all = true
python_version = "3.12"
[tool.pytest.ini_options]
minversion="8.0"
console_output_style = "progress"