mirror of
https://github.com/ansible-collections/community.crypto.git
synced 2026-03-26 21:33:25 +00:00
Use ruff check --fix instead of isort.
This commit is contained in:
@@ -8,3 +8,5 @@
|
||||
aec1826c34051b9e7f8af7950489915b661e320b
|
||||
# Reformat with black another time, this time without Python 2 compatibility
|
||||
797bd8a6e2a6f4a37a89ecb15ca34ec88b33258d
|
||||
# Reformat with ruff check --fix instead of isort
|
||||
d1f3518d51bc3efd6dc1d2166b7b410702bd58d5
|
||||
|
||||
@@ -1,7 +0,0 @@
|
||||
# Copyright (c) Ansible Project
|
||||
# GNU General Public License v3.0+ (see LICENSES/GPL-3.0-or-later.txt or https://www.gnu.org/licenses/gpl-3.0.txt)
|
||||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
[isort]
|
||||
profile=black
|
||||
lines_after_imports = 2
|
||||
@@ -13,9 +13,14 @@ stable_branches = [ "stable-*" ]
|
||||
[sessions]
|
||||
|
||||
[sessions.lint]
|
||||
run_isort = true
|
||||
isort_config = ".isort.cfg"
|
||||
run_isort = false
|
||||
run_black = true
|
||||
run_ruff_autofix = true
|
||||
ruff_autofix_config = "ruff.toml"
|
||||
ruff_autofix_select = [
|
||||
"I",
|
||||
"RUF022",
|
||||
]
|
||||
run_ruff_check = true
|
||||
ruff_check_config = "ruff.toml"
|
||||
run_flake8 = true
|
||||
|
||||
Reference in New Issue
Block a user