Skip to content

Commit da6dbb7

Browse files
style: Update ruff configuration
1 parent 2a6598a commit da6dbb7

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

ruff.toml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,13 +35,19 @@ quote-style = "single"
3535

3636

3737
[lint]
38+
select = ["E4", "E7", "E9", "F", "B"]
39+
3840
# Avoid enforcing line-length violations (`E501`)
3941
ignore = ["E501"]
4042

4143
# Allow unused variables when underscore-prefixed.
4244
dummy-variable-rgx = "^(_+|(_+[a-zA-Z0-9_]*[a-zA-Z0-9]+?))$"
4345

4446

47+
[lint.flake8-quotes]
48+
docstring-quotes = "double"
49+
50+
4551
# Ignore `E402` (import violations) in all `__init__.py` files, and in select subdirectories.
4652
[lint.per-file-ignores]
4753
"__init__.py" = ["E402", "F401"]

0 commit comments

Comments
 (0)