Skip to content

Commit

Permalink
Remove yapf
Browse files Browse the repository at this point in the history
All formatting & linting will be handled by ruff
  • Loading branch information
ulgens committed Jul 28, 2024
1 parent f4d24f6 commit f314580
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 15 deletions.
5 changes: 0 additions & 5 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,6 @@ repos:
- id: mixed-line-ending
- id: trailing-whitespace

- repo: https://github.com/google/yapf
rev: v0.40.1
hooks:
- id: yapf

- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.0.284
hooks:
Expand Down
10 changes: 0 additions & 10 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -106,16 +106,6 @@ force_sort_within_sections = true
force_to_top = ["typing", "pytest"]
line_length = 120

[tool.yapf]
based_on_style = "pep8"
column_limit = 120
blank_line_before_module_docstring = true
coalesce_brackets = false
dedent_closing_brackets = true
split_arguments_when_comma_terminated = true
split_before_dict_set_generator = true
allow_split_before_dict_value = false

[tool.pytest.ini_options]
testpaths = ["tests"]

Expand Down

0 comments on commit f314580

Please sign in to comment.