Skip to content

Commit

Permalink
chore: add yapf config to pyproject.toml (#230)
Browse files Browse the repository at this point in the history
* style(yapf): add yapf config to `pyproject.toml`

* style(yapf): drop `.style.yapf`
  • Loading branch information
SauravMaheshkar committed Jan 6, 2023
1 parent 058ce10 commit a6feea4
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 8 deletions.
8 changes: 0 additions & 8 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 @@ -131,3 +131,12 @@ precision = 2
show_missing = true
skip_empty = true
sort = "Miss"

[tool.yapf]
based_on_style = "yapf"
column_limit = 80
indent_width = 2
split_before_named_assigns = true
spaces_around_power_operator = true
dedent_closing_brackets = true
coalesce_brackets = true

0 comments on commit a6feea4

Please sign in to comment.