Skip to content

Commit ee4b158

Browse files
committed
Consolidate yapf config into pyproject.toml
1 parent 3e9ccec commit ee4b158

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed

.style.yapf

-3
This file was deleted.

pyproject.toml

+9
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,15 @@ profile = "google"
1414
known_third_party = []
1515
extra_standard_library = ['typing_extensions']
1616

17+
[tool.yapf]
18+
# see https://github.com/google/yapf#knobs
19+
based_on_style = "yapf"
20+
indent_width = 2
21+
spaces_before_comment = 2
22+
23+
[tool.yapfignore]
24+
ignore_patterns = []
25+
1726
[tool.pytest.ini_options]
1827
markers = [
1928
"slow: marks tests as slow (runnable with --run-slow)",

0 commit comments

Comments
 (0)