mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-02-04 07:51:50 +00:00
CI: Let the Python formatters and linters apply to all files in the collection (#11385)
Let the Python formatters and linters apply to all files in the collection.
This commit is contained in:
parent
00d2785794
commit
d1352702f9
2 changed files with 1 additions and 3 deletions
|
|
@ -20,6 +20,7 @@ stable_branches = [ "stable-*" ]
|
|||
[sessions]
|
||||
|
||||
[sessions.lint]
|
||||
code_files = ["."] # consider all Python files in the collection
|
||||
run_isort = false
|
||||
run_black = false
|
||||
run_ruff_check = true
|
||||
|
|
|
|||
|
|
@ -4,9 +4,6 @@
|
|||
|
||||
line-length = 120
|
||||
|
||||
# Include only the files:
|
||||
include = ["plugins/**/*.py", "tests/unit/**/*.py", "noxfile.py"]
|
||||
|
||||
[lint]
|
||||
# https://docs.astral.sh/ruff/rules/
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue