We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f794f31 commit c88510aCopy full SHA for c88510a
pyproject.toml
@@ -155,6 +155,32 @@ module = [
155
]
156
ignore_missing_imports = true
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
184
[build-system]
185
requires = ["poetry_core>=1.0.0"]
186
build-backend = "poetry.core.masonry.api"
0 commit comments