File tree Expand file tree Collapse file tree 2 files changed +9
-4
lines changed Expand file tree Collapse file tree 2 files changed +9
-4
lines changed Original file line number Diff line number Diff line change 1818 - id : check-yaml
1919 - id : check-toml
2020 - id : debug-statements
21- - id : double-quote-string-fixer
2221 - id : end-of-file-fixer
2322 - id : trailing-whitespace
2423- repo : https://github.com/astral-sh/ruff-pre-commit
Original file line number Diff line number Diff line change @@ -85,23 +85,29 @@ lint.select = [
8585 ' E' , # pycodestyle
8686 ' F' , # pyflakes
8787 ' I' , # isort
88+ ' Q' , # flake8-quotes
8889 ' W' , # pycodestyle
8990 ' RUF100' , # ruff
9091]
9192exclude = [
9293 ' docs/conf.py' ,
9394]
9495
96+ [tool .ruff .format ]
97+ quote-style = ' single'
98+
99+ [tool .ruff .lint .flake8-quotes ]
100+ avoid-escape = false
101+ inline-quotes = ' single'
102+ multiline-quotes = ' single'
103+
95104[tool .ruff .lint .isort ]
96105lines-between-types = 1
97106lines-after-imports = 2
98107known-first-party = [
99108 ' mesonpy' ,
100109]
101110
102- [tool .ruff .format ]
103- quote-style = ' single'
104-
105111
106112[tool .coverage .run ]
107113disable_warnings = [
You can’t perform that action at this time.
0 commit comments