-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpyproject.toml
74 lines (60 loc) · 1.4 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
[build-system]
requires = ["setuptools"]
[project]
name = "zeekscript"
dynamic = ["version"]
description = "A Zeek script formatter and analyzer"
readme = "README.md"
classifiers=[
"Programming Language :: Python :: 3.7",
"License :: OSI Approved :: BSD License",
"Topic :: Utilities",
]
keywords = [
"zeek",
"scripts",
"language",
"formatter",
"formatting",
"indenter",
"indenting",
"parsing",
]
requires-python = ">= 3.10"
dependencies = [
"argcomplete>=3.6.1",
"tree-sitter==0.24.0",
"tree-sitter-zeek==0.2.9",
]
[project.optional-dependencies]
dev = [
"pytest==8.3.5",
"pytest-cov>=6.0.0",
"syrupy==4.9.1",
]
[[project.maintainers]]
name = "The Zeek Project"
email="[email protected]"
[project.urls]
Repository = "https://github.com/zeek/zeekscript"
[project.scripts]
zeek-format = "zeekscript.cli:zeek_format"
zeek-script = "zeekscript.cli:zeek_script"
[tool.setuptools]
packages = ["zeekscript"]
[tool.ruff.lint]
select = ["PL", "UP", "RUF", "N", "I"]
ignore = ["PLR0912", "PLR0915", "PLR2004"]
[tool.ruff.lint.pep8-naming]
extend-ignore-names = [
"assertEqualContent",
"assertNotEqualContent",
"assertFormatting",
"assertTreeBinary",
"assertTreeText",
]
[tool.pytest.ini_options]
addopts = "--cov --cov-report html --cov-report term"
[[tool.mypy.overrides]]
module = ["tree_sitter", "tree_sitter_zeek"]
ignore_missing_imports = true