ruff.toml: sort and reformat file
This commit is contained in:
parent
c1baf22373
commit
14807a6ce6
1 changed files with 8 additions and 16 deletions
24
ruff.toml
24
ruff.toml
|
|
@ -1,21 +1,14 @@
|
|||
# Copyright (C) 2023 Maxwell G <maxwell@gtmx.me>
|
||||
# SPDX-License-Identifier: GPL-1.0-or-later
|
||||
select = [
|
||||
# flake8-builtins
|
||||
"A",
|
||||
# flake8-bugbear
|
||||
"B",
|
||||
# pycodestyle
|
||||
"E",
|
||||
"W",
|
||||
# pyflakes
|
||||
"F",
|
||||
# unused-arguments
|
||||
"ARG",
|
||||
# flake8-simplify
|
||||
"SIM",
|
||||
# pylint
|
||||
"PL",
|
||||
"A", # flake8-builtins
|
||||
"ARG", # unused-arguments
|
||||
"B", # flake8-bugbear
|
||||
"E", # pycodestyle errors
|
||||
"F", # pyflakes
|
||||
"PL", # pylint
|
||||
"SIM", # flake8-simplify
|
||||
"W", # pycodestyle warnings
|
||||
]
|
||||
ignore = [
|
||||
# function-call-in-default-argument
|
||||
|
|
@ -36,4 +29,3 @@ ignore = [
|
|||
|
||||
[extend-per-file-ignores]
|
||||
"tests/*" = ["ARG"]
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue