Skip to content

Commit 94a6394

Browse files
committed
chore: configure yapf
1 parent eb1bb15 commit 94a6394

File tree

2 files changed

+12
-1
lines changed

2 files changed

+12
-1
lines changed

Diff for: pyproject.toml

+9
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,12 @@ pythonpath = [
1212

1313
[tool.coverage.report]
1414
skip_empty = true
15+
[tool.yapf]
16+
based_on_style = "google"
17+
indent_width = 4
18+
[tool.yapfignore]
19+
ignore_patterns = [
20+
"venv",
21+
"build",
22+
"dist",
23+
]

Diff for: requirements.txt

+3-1
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,6 @@ pylint>=2.16.1
66
pytest-cov>=3.0.0
77
mypy>=1.0.0
88
sphinx>=6.1.3
9-
sphinxcontrib-napoleon>=0.7
9+
sphinxcontrib-napoleon>=0.7
10+
yapf>=0.32.0
11+
toml>=0.10.2

0 commit comments

Comments
 (0)