-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
57 lines (51 loc) · 1.14 KB
/
pyproject.toml
File metadata and controls
57 lines (51 loc) · 1.14 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
[tool.poetry]
name = "jrender"
version = "1.1"
description = ""
authors = ["Tomas Bayer <mail@tomas.berlin>"]
readme = "README.md"
license = "MIT"
[tool.poetry.scripts]
jrender = 'jrender.cli:app'
[tool.poetry.dependencies]
python = "^3.9"
pyyaml = "^6.0.1"
jinja2 = "^3.1.2"
typer = {extras = ["all"], version = "^0.9.0"}
[tool.poetry.dev-dependencies]
pytest = "^7"
[tool.ruff]
line-length = 120
select = [
"F", # flake8
"B", # bugbear
"E", # pycodestyle
"I", # isort
"N", # pep8-naming
"UP", # pyupgrade
"YTT", # sys.version check
"S", # bandit
"A001", "A002", # shadowing of builtins
"FBT", # boolean trap
"SIM", # simplify
"COM", # commas
"C4", # comprehensions
"DTZ", # TZ aware datetime
"T20", # print statements
"RET501", "RET502", "RET503", "RET504", # return statements
"PTH", # use pathlib
"ERA", # eradicate
"UP", # pyupgrade
"RUF", # ruff rules
"PYI", # pyi
]
ignore = [
"SIM102", # nested ifs
]
[tool.ruff.per-file-ignores]
"tests/**/*.py" = [
"S101", # asserts
]
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"