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 @@ -129,6 +129,33 @@ exclude_lines = [
129
129
" @overload( |$)" ,
130
130
]
131
131
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
+
132
159
[build-system ]
133
160
requires = [" poetry_core>=1.0.0" , " setuptools>50" ]
134
161
build-backend = " poetry.core.masonry.api"
You can’t perform that action at this time.
0 commit comments