openapi-generator-cli 7.24.0__tar.gz → 7.26.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.4
1
+ Metadata-Version: 2.5
2
2
  Name: openapi-generator-cli
3
- Version: 7.24.0
3
+ Version: 7.26.0
4
4
  Summary: CLI for openapi generator
5
5
  Project-URL: Documentation, https://github.com/OpenAPITools/openapi-generator#3---usage
6
6
  Project-URL: Homepage, https://openapi-generator.tech
@@ -16,6 +16,8 @@ Classifier: Programming Language :: Python :: 3.10
16
16
  Classifier: Programming Language :: Python :: 3.11
17
17
  Classifier: Programming Language :: Python :: 3.12
18
18
  Classifier: Programming Language :: Python :: 3.13
19
+ Classifier: Programming Language :: Python :: 3.14
20
+ Classifier: Programming Language :: Python :: 3.15
19
21
  Classifier: Programming Language :: Python :: Implementation :: CPython
20
22
  Classifier: Programming Language :: Python :: Implementation :: PyPy
21
23
  Classifier: Typing :: Typed
@@ -34,6 +36,14 @@ Description-Content-Type: text/markdown
34
36
  <https://badge.fury.io/py/openapi-generator-cli.svg>
35
37
  )](
36
38
  <https://badge.fury.io/py/openapi-generator-cli>
39
+ ) [![Lint](
40
+ <https://github.com/OpenAPITools/openapi-generator-pip/actions/workflows/lint.yaml/badge.svg>
41
+ )](
42
+ <https://github.com/OpenAPITools/openapi-generator-pip/actions/workflows/lint.yaml>
43
+ ) [![Test](
44
+ <https://github.com/OpenAPITools/openapi-generator-pip/actions/workflows/test.yaml/badge.svg>
45
+ )](
46
+ <https://github.com/OpenAPITools/openapi-generator-pip/actions/workflows/test.yaml>
37
47
  ) [![Code style: black](
38
48
  <https://img.shields.io/badge/code%20style-black-000000.svg>
39
49
  )](
@@ -8,6 +8,14 @@
8
8
  <https://badge.fury.io/py/openapi-generator-cli.svg>
9
9
  )](
10
10
  <https://badge.fury.io/py/openapi-generator-cli>
11
+ ) [![Lint](
12
+ <https://github.com/OpenAPITools/openapi-generator-pip/actions/workflows/lint.yaml/badge.svg>
13
+ )](
14
+ <https://github.com/OpenAPITools/openapi-generator-pip/actions/workflows/lint.yaml>
15
+ ) [![Test](
16
+ <https://github.com/OpenAPITools/openapi-generator-pip/actions/workflows/test.yaml/badge.svg>
17
+ )](
18
+ <https://github.com/OpenAPITools/openapi-generator-pip/actions/workflows/test.yaml>
11
19
  ) [![Code style: black](
12
20
  <https://img.shields.io/badge/code%20style-black-000000.svg>
13
21
  )](
@@ -28,7 +28,8 @@ def run(args: list[str] | None = None) -> subprocess.CompletedProcess[bytes]:
28
28
  """
29
29
  java_path: Path | str | None
30
30
  try:
31
- from jdk4py import JAVA # noqa: PLC0415
31
+ # jdk4py is an optional dependency and is not installed in the lint environment
32
+ from jdk4py import JAVA # noqa: PLC0415 # ty: ignore[unresolved-import]
32
33
 
33
34
  java_path = JAVA
34
35
  except ImportError:
@@ -45,9 +46,7 @@ def run(args: list[str] | None = None) -> subprocess.CompletedProcess[bytes]:
45
46
 
46
47
  arguments.append("-jar")
47
48
 
48
- jar_path = (
49
- importlib.resources.files("openapi_generator_cli") / "openapi-generator.jar"
50
- )
49
+ jar_path = importlib.resources.files("openapi_generator_cli") / "openapi-generator.jar"
51
50
  arguments.append(str(jar_path))
52
51
 
53
52
  if args and isinstance(args, list):
@@ -0,0 +1,4 @@
1
+ [diffend] Oversized file quarantined before diffing.
2
+ name: openapi_generator_cli-7.26.0/openapi_generator_cli/openapi-generator.jar
3
+ size: 33737249 bytes
4
+ sha256: 1760050094997b9cc790cc1350be095f15da8c08a996b184d3eadc4ccda5e35e
@@ -4,7 +4,7 @@ requires = [ "hatchling" ]
4
4
 
5
5
  [project]
6
6
  name = "openapi-generator-cli"
7
- version = "7.24.0"
7
+ version = "7.26.0"
8
8
  description = "CLI for openapi generator"
9
9
  readme = "README.md"
10
10
  keywords = [
@@ -23,12 +23,13 @@ classifiers = [
23
23
  "Programming Language :: Python :: 3.11",
24
24
  "Programming Language :: Python :: 3.12",
25
25
  "Programming Language :: Python :: 3.13",
26
+ "Programming Language :: Python :: 3.14",
27
+ "Programming Language :: Python :: 3.15",
26
28
  "Programming Language :: Python :: Implementation :: CPython",
27
29
  "Programming Language :: Python :: Implementation :: PyPy",
28
30
  "Typing :: Typed",
29
31
  ]
30
- dependencies = [ ]
31
-
32
+ dependencies = []
32
33
  optional-dependencies.jdk4py = [ "jdk4py>=21.0.4.1,<26; python_version>='3.10'" ]
33
34
  urls.Documentation = "https://github.com/OpenAPITools/openapi-generator#3---usage"
34
35
  urls.Homepage = "https://openapi-generator.tech"
@@ -37,30 +38,31 @@ scripts.openapi-generator-cli = "openapi_generator_cli:cli"
37
38
 
38
39
  [dependency-groups]
39
40
  dev = [
40
- "mypy>=0.991,<1.21",
41
41
  "natsort>=8.4,<9",
42
- "pre-commit>=2.20,<5",
42
+ "pymarkdownlnt>=0.9.33",
43
+ "pyproject-fmt>=2.6,<3",
43
44
  "pytest>=7.2.2,<10",
44
45
  "pytest-cov>=6",
45
- "taskipy>=1.10.3,<2",
46
46
  ]
47
47
 
48
- [tool.hatch.build.targets.sdist]
49
- include = [
48
+ [tool.hatch]
49
+ build.targets.wheel.include = [
50
50
  "openapi_generator_cli",
51
51
  ]
52
- artifacts = [
52
+ build.targets.wheel.artifacts = [
53
53
  "openapi_generator_cli/openapi-generator.jar",
54
54
  ]
55
-
56
- [tool.hatch.build.targets.wheel]
57
- include = [
55
+ build.targets.sdist.include = [
58
56
  "openapi_generator_cli",
59
57
  ]
60
- artifacts = [
58
+ build.targets.sdist.artifacts = [
61
59
  "openapi_generator_cli/openapi-generator.jar",
62
60
  ]
63
61
 
62
+ [tool.uv]
63
+ default-groups = [ "dev" ]
64
+ preview = true
65
+
64
66
  [tool.ruff]
65
67
  line-length = 120
66
68
  format.indent-style = "space"
@@ -69,8 +71,10 @@ lint.select = [
69
71
  "ALL",
70
72
  ]
71
73
  lint.ignore = [
72
- "D211", # No blank lines allowed before class docstring
73
- "D213", # Multi-line docstring summary should start at the second line
74
+ "COM812", # Trailing comma missing (conflicts with the formatter)
75
+ "CPY001", # Missing copyright notice at top of file
76
+ "D211", # No blank lines allowed before class docstring
77
+ "D213", # Multi-line docstring summary should start at the second line
74
78
  ]
75
79
  lint.per-file-ignores."publish.py" = [
76
80
  "D",
@@ -83,20 +87,5 @@ lint.per-file-ignores."tests/*" = [
83
87
  ]
84
88
  lint.pydocstyle.convention = "google"
85
89
 
86
- [tool.mypy]
87
- pretty = true
88
- python_version = "3.9"
89
- show_error_codes = true
90
- strict = true
91
-
92
- [tool.uv]
93
- default-groups = [ "dev" ]
94
-
95
- [tool.taskipy.tasks]
96
- download-latest-jar = "DOWNLOAD_LATEST_ONLY=1 task publish"
97
- test = "pytest"
98
- "test:ci" = "pytest --junitxml=pytest.xml --cov=openapi_generator_cli --cov-report=xml:coverage.xml"
99
- test-unpublished-versions = "DRYRUN=1 task publish"
100
- lint = "pre-commit run -a"
101
- publish = "python publish.py"
102
- profile = "python -m cProfile"
90
+ [tool.pymarkdown]
91
+ plugins.md013.enabled = false # Line length