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 @@ -161,6 +161,32 @@ exclude_lines = [
161161 " @overload( |$)" ,
162162]
163163
164+ [tool .ruff ]
165+ target-version = " py39"
166+ select = [
167+ " E" , # pycodestyle
168+ " F" , # pyflakes
169+ " I" , # isort
170+ " UP" , # pyupgrade
171+ " B" , # flake8-bugbear
172+ " C4" , # flake8-comprehensions
173+ " Q" , # flake8-quotes
174+ " PTH" , # flake8-use-pathlib
175+ " SIM" , # flake8-simplify
176+ " TRY" , # Trycertatops
177+ " PERF" , # Perflint
178+ " RUF" # Ruff-specific rules
179+ ]
180+
181+ [tool .ruff .isort ]
182+ known-first-party = [
183+ " vcspull"
184+ ]
185+ combine-as-imports = true
186+
187+ [tool .ruff .per-file-ignores ]
188+ "*/__init__.py" = [" F401" ]
189+
164190[build-system ]
165191requires = [" poetry_core>=1.0.0" , " setuptools>50" ]
166192build-backend = " poetry.core.masonry.api"
You can’t perform that action at this time.
0 commit comments