File tree Expand file tree Collapse file tree 1 file changed +27
-0
lines changed Expand file tree Collapse file tree 1 file changed +27
-0
lines changed Original file line number Diff line number Diff line change @@ -129,6 +129,33 @@ exclude_lines = [
129129 " @overload( |$)" ,
130130]
131131
132+ [tool .ruff ]
133+ target-version = " py37"
134+ select = [
135+ " E" , # pycodestyle
136+ " F" , # pyflakes
137+ " I" , # isort
138+ " UP" , # pyupgrade
139+ " B" , # flake8-bugbear
140+ " C4" , # flake8-comprehensions
141+ " Q" , # flake8-quotes
142+ " PTH" , # flake8-use-pathlib
143+ " ERA" , # eradicate
144+ " SIM" , # flake8-simplify
145+ " TRY" , # Trycertatops
146+ " PERF" , # Perflint
147+ " RUF" # Ruff-specific rules
148+ ]
149+
150+ [tool .ruff .isort ]
151+ known-first-party = [
152+ " libtmux"
153+ ]
154+ combine-as-imports = true
155+
156+ [tool .ruff .per-file-ignores ]
157+ "*/__init__.py" = [" F401" ]
158+
132159[build-system ]
133160requires = [" poetry_core>=1.0.0" , " setuptools>50" ]
134161build-backend = " poetry.core.masonry.api"
You can’t perform that action at this time.
0 commit comments