forked from gruebel/pycep
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpyproject.toml
119 lines (108 loc) · 2.08 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
114
115
116
117
118
119
[project]
name = "pycep-parser"
version = "0.6.1a0"
description = "A Python based Bicep parser"
authors = [
{ name = "Anton Grübel", email = "[email protected]" }
]
license = "Apache-2.0"
keywords = ["bicep", "parser", "lark"]
classifiers = [
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Typing :: Typed"
]
readme = "README.md"
requires-python = ">=3.9"
dependencies = [
"lark>=1.1.2",
"regex>=2022.1.18",
"typing-extensions>=3.10.0",
]
[project.urls]
homepage = "https://github.com/gruebel/pycep"
repository = "https://github.com/gruebel/pycep"
changelog = "https://github.com/gruebel/pycep/blob/master/CHANGELOG.md"
releases = "https://github.com/gruebel/pycep/releases"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.poetry]
packages = [
{ include = "pycep" }
]
[tool.poetry.group.dev.dependencies]
assertpy = "^1.1"
pre-commit = "^4.0.1"
pytest = "^8.3.4"
[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 = "py39"
[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",
"PYI",
"RET",
"RSE",
"RUF",
"S",
"SIM",
"T10",
"T20",
"TC",
"UP",
"W",
"YTT",
]
ignore = [
"E501", # the formatter will handle any too long line
"RET505",
"SIM108",
"TC008", # re-enable when depreacting Python 3.9
]
fixable = ["I001"]