-
Notifications
You must be signed in to change notification settings - Fork 7
/
pyproject.toml
44 lines (38 loc) · 1.24 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
[tool.poetry]
name = "KWDLC"
version = "1.1.1"
description = ""
authors = ["nobu-g <[email protected]>"]
readme = "README.md"
[tool.poetry.dependencies]
python = "^3.10"
rhoknp = "^1.6"
tabulate = "^0.9.0"
[tool.poetry.group.dev.dependencies]
pytest = "^7.4"
[tool.black]
line-length = 120
target-version = ["py310", "py311", "py312"]
[tool.mypy]
python_version = "3.10"
[tool.ruff]
line-length = 120
indent-width = 4
src = ["scripts"]
target-version = "py310"
ignore = [
"PLR0911", # Too many return statements
"PLR0912", # Too many branches
"PLR0913", # Too many arguments in function definition
"PLR0915", # Too many statements
"E501", # Line too long
"RUF001", # String contains ambiguous `ノ` (KATAKANA LETTER NO). Did you mean `/` (SOLIDUS)?
"RUF002", # Docstring contains ambiguous `,` (FULLWIDTH COMMA). Did you mean `,` (COMMA)?
"RUF003", # Comment contains ambiguous `(` (FULLWIDTH LEFT PARENTHESIS). Did you mean `(` (LEFT PARENTHESIS)?
"COM812", # Trailing comma missing
"PLR2004", # Magic value used in comparison
]
select = ["F", "E", "W", "I", "B", "PL", "PD", "NPY", "RUF", "UP", "TID", "COM", "PT"]
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"