forked from gruebel/pycep
-
Notifications
You must be signed in to change notification settings - Fork 1
/
pyproject.toml
113 lines (100 loc) · 1.9 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
112
113
[tool.poetry]
name = "pycep-parser"
version = "0.5.1a6"
description = "A Python based Bicep parser"
authors = ["Anton Grübel <[email protected]>"]
license = "Apache-2.0"
readme = "README.md"
packages = [
{ include = "pycep" }
]
homepage = "https://github.com/gruebel/pycep"
repository = "https://github.com/gruebel/pycep"
keywords = ["bicep", "parser", "lark"]
classifiers = [
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Typing :: Typed"
]
[tool.poetry.dependencies]
python = "^3.8"
lark = ">=1.1.2"
regex = ">=2022.1.18"
typing-extensions = ">=3.10.0"
importlib-resources = {version = ">=2.0.0", python = "<3.9"}
[tool.poetry.dev-dependencies]
assertpy = "^1.1"
mypy = "^1.11.0"
pre-commit = "^3.5.0"
pytest = "^8.3.2"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.mypy]
files = "pycep"
strict = true
implicit_reexport = true
[[tool.mypy.overrides]]
module = [
"assertpy"
]
ignore_missing_imports = true
[tool.ruff]
exclude = [
".git",
"__pycache__",
]
line-length = 120
target-version = "py38"
[tool.ruff.lint]
preview = true
select = [
"ANN",
"A",
"ARG",
"B",
"BLE001",
"C4",
"DTZ",
"E",
"EM103",
"F",
"FA",
"FBT003",
"FLY",
"FURB",
"G004",
"I",
"ISC",
"LOG",
"N",
"PERF",
"PIE",
"PGH",
"PLC",
"PLW",
"PLE",
"PT",
"PTH",
"RET",
"RSE",
"RUF",
"S",
"SIM",
"T10",
"T20",
"UP",
"W",
"YTT",
]
ignore = [
"E501", # the formatter will handle any too long line
"RET505",
"SIM108",
]
fixable = ["I001"]