File tree Expand file tree Collapse file tree 1 file changed +26
-0
lines changed Expand file tree Collapse file tree 1 file changed +26
-0
lines changed Original file line number Diff line number Diff line change @@ -155,6 +155,32 @@ module = [
155
155
]
156
156
ignore_missing_imports = true
157
157
158
+ [tool .ruff ]
159
+ target-version = " py37"
160
+ select = [
161
+ " E" , # pycodestyle
162
+ " F" , # pyflakes
163
+ " I" , # isort
164
+ " UP" , # pyupgrade
165
+ " B" , # flake8-bugbear
166
+ " C4" , # flake8-comprehensions
167
+ " Q" , # flake8-quotes
168
+ " PTH" , # flake8-use-pathlib
169
+ " SIM" , # flake8-simplify
170
+ " TRY" , # Trycertatops
171
+ " PERF" , # Perflint
172
+ " RUF" # Ruff-specific rules
173
+ ]
174
+
175
+ [tool .ruff .isort ]
176
+ known-first-party = [
177
+ " tmuxp"
178
+ ]
179
+ combine-as-imports = true
180
+
181
+ [tool .ruff .per-file-ignores ]
182
+ "*/__init__.py" = [" F401" ]
183
+
158
184
[build-system ]
159
185
requires = [" poetry_core>=1.0.0" ]
160
186
build-backend = " poetry.core.masonry.api"
You can’t perform that action at this time.
0 commit comments