style: format source code using Ruff

This commit is contained in:
jakob.scheid committed 2026-09-21 20:10:04 +02:00
1 parent d9887f34c9
commit aa4a139878
41 files changed
+6061 -5670

No files matched your search

+16 -8
View File
@@ -15,20 +15,28 @@
import pytest
from jcloud_docsgen.cli.cli import create_argument_parser
@pytest.mark.parametrize('lang', [
'javascript',
'Python',
'PYTHON',
])
@pytest.mark.parametrize(
'lang',
[
'javascript',
'Python',
'PYTHON',
],
)
def test_language_error(lang):
parser = create_argument_parser()
with pytest.raises(SystemExit):
parser.parse_args([lang])
@pytest.mark.parametrize('lang', [
'python',
])
@pytest.mark.parametrize(
'lang',
[
'python',
],
)
def test_language_success(lang):
parser = create_argument_parser()
parser.parse_args([lang])