Skip to content

Commit

Permalink
Consolidate yapf config into pyproject.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
wookayin committed Dec 28, 2023
1 parent 3e9ccec commit ee4b158
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
3 changes: 0 additions & 3 deletions .style.yapf

This file was deleted.

9 changes: 9 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,15 @@ profile = "google"
known_third_party = []
extra_standard_library = ['typing_extensions']

[tool.yapf]
# see https://github.com/google/yapf#knobs
based_on_style = "yapf"
indent_width = 2
spaces_before_comment = 2

[tool.yapfignore]
ignore_patterns = []

[tool.pytest.ini_options]
markers = [
"slow: marks tests as slow (runnable with --run-slow)",
Expand Down

0 comments on commit ee4b158

Please sign in to comment.