Skip to content

Commit

Permalink
Remove python docstrings from ruff default rules (#483)
Browse files Browse the repository at this point in the history
Ruff's primary offering is more than just docstrings, and this can be
really noisy on init. Let's remove it and users can always add it back
in. This will effect users on init and `trunk check enable ruff` and the
default config we dump. See trunk-io/configs#30
  • Loading branch information
TylerJang27 authored Sep 25, 2023
1 parent 36850a6 commit de0dae0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion linters/ruff/ruff.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Generic, formatter-friendly config.
select = ["B", "D3", "D4", "E", "F"]
select = ["B", "D3", "E", "F"]

# Never enforce `E501` (line length violations). This should be handled by formatters.
ignore = ["E501"]

0 comments on commit de0dae0

Please sign in to comment.