Skip to content

Commit 3a56110

Browse files
authored
chore: sort Ruff listings (#514)
Signed-off-by: Henry Schreiner <[email protected]>
1 parent b7cc161 commit 3a56110

File tree

2 files changed

+15
-15
lines changed

2 files changed

+15
-15
lines changed

docs/pages/guides/style.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -215,34 +215,34 @@ inspect and undo changes in git.
215215
```toml
216216
[tool.ruff.lint]
217217
extend-select = [
218-
"B", # flake8-bugbear
219-
"I", # isort
220218
"ARG", # flake8-unused-arguments
219+
"B", # flake8-bugbear
221220
"C4", # flake8-comprehensions
222221
"EM", # flake8-errmsg
223-
"ICN", # flake8-import-conventions
222+
"EXE", # flake8-executable
223+
"FURB", # refurb
224224
"G", # flake8-logging-format
225+
"I", # isort
226+
"ICN", # flake8-import-conventions
227+
"NPY", # NumPy specific rules
228+
"PD", # pandas-vet
225229
"PGH", # pygrep-hooks
226230
"PIE", # flake8-pie
227231
"PL", # pylint
228232
"PT", # flake8-pytest-style
229233
"PTH", # flake8-use-pathlib
234+
"PYI", # flake8-pyi
230235
"RET", # flake8-return
231236
"RUF", # Ruff-specific
232237
"SIM", # flake8-simplify
233238
"T20", # flake8-print
234239
"UP", # pyupgrade
235240
"YTT", # flake8-2020
236-
"EXE", # flake8-executable
237-
"NPY", # NumPy specific rules
238-
"PD", # pandas-vet
239-
"FURB", # refurb
240-
"PYI", # flake8-pyi
241241
]
242242
ignore = [
243+
"ISC001", # Conflicts with formatter
243244
"PLR09", # Too many <...>
244245
"PLR2004", # Magic value used in comparison
245-
"ISC001", # Conflicts with formatter
246246
]
247247
typing-modules = ["mypackage._compat.typing"]
248248
isort.required-imports = ["from __future__ import annotations"]

{{cookiecutter.project_name}}/pyproject.toml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -331,13 +331,16 @@ target-version = "py39"
331331

332332
[tool.ruff.lint]
333333
extend-select = [
334-
"B", # flake8-bugbear
335-
"I", # isort
336334
"ARG", # flake8-unused-arguments
335+
"B", # flake8-bugbear
337336
"C4", # flake8-comprehensions
338337
"EM", # flake8-errmsg
339-
"ICN", # flake8-import-conventions
338+
"EXE", # flake8-executable
340339
"G", # flake8-logging-format
340+
"I", # isort
341+
"ICN", # flake8-import-conventions
342+
"NPY", # NumPy specific rules
343+
"PD", # pandas-vet
341344
"PGH", # pygrep-hooks
342345
"PIE", # flake8-pie
343346
"PL", # pylint
@@ -349,9 +352,6 @@ extend-select = [
349352
"T20", # flake8-print
350353
"UP", # pyupgrade
351354
"YTT", # flake8-2020
352-
"EXE", # flake8-executable
353-
"NPY", # NumPy specific rules
354-
"PD", # pandas-vet
355355
]
356356
ignore = [
357357
"PLR09", # Too many <...>

0 commit comments

Comments
 (0)