forked from PFCCLab/PaddleAPITest
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
43 lines (37 loc) · 838 Bytes
/
pyproject.toml
File metadata and controls
43 lines (37 loc) · 838 Bytes
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
[project]
name = "paddleapitest"
version = "0.1.0"
description = "PaddleAPITest"
readme = "README.md"
requires-python = ">=3.10"
dependencies = []
[tool.ruff]
line-length = 100
src = ["src", "packages", "tests"]
target-version = "py313"
[tool.ruff.lint]
select = [
# "F",
# "SIM",
"UP",
"FA", # flake8-annotations
"I", # isort
# "B", # flake8-bugbear
"C4", # flake8-comprehensions
"PGH", # pygrep-hooks
# "RUF",
"W", # pycodestyle
"YTT", # flake8-2020
]
[tool.ruff.lint.pydocstyle]
convention = "google"
[tool.ruff.lint.isort]
known-first-party = ["boning"]
required-imports = ["from __future__ import annotations"]
[tool.ruff.lint.per-file-ignores]
"__init__.py" = ["F401", "I002"]
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
skip-magic-trailing-comma = false
line-ending = "auto"