File tree 1 file changed +27
-0
lines changed
1 file changed +27
-0
lines changed Original file line number Diff line number Diff line change @@ -155,6 +155,33 @@ 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
+ " ERA" , # eradicate
170
+ " SIM" , # flake8-simplify
171
+ " TRY" , # Trycertatops
172
+ " PERF" , # Perflint
173
+ " RUF" # Ruff-specific rules
174
+ ]
175
+
176
+ [tool .ruff .isort ]
177
+ known-first-party = [
178
+ " tmuxp"
179
+ ]
180
+ combine-as-imports = true
181
+
182
+ [tool .ruff .per-file-ignores ]
183
+ "*/__init__.py" = [" F401" ]
184
+
158
185
[build-system ]
159
186
requires = [" poetry_core>=1.0.0" ]
160
187
build-backend = " poetry.core.masonry.api"
You can’t perform that action at this time.
0 commit comments