openapi-generator-cli 7.24.0__tar.gz → 7.25.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.25.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,7 @@ 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
19
20
  Classifier: Programming Language :: Python :: Implementation :: CPython
20
21
  Classifier: Programming Language :: Python :: Implementation :: PyPy
21
22
  Classifier: Typing :: Typed
@@ -34,6 +35,14 @@ Description-Content-Type: text/markdown
34
35
  <https://badge.fury.io/py/openapi-generator-cli.svg>
35
36
  )](
36
37
  <https://badge.fury.io/py/openapi-generator-cli>
38
+ ) [![Lint](
39
+ <https://github.com/OpenAPITools/openapi-generator-pip/actions/workflows/lint.yaml/badge.svg>
40
+ )](
41
+ <https://github.com/OpenAPITools/openapi-generator-pip/actions/workflows/lint.yaml>
42
+ ) [![Test](
43
+ <https://github.com/OpenAPITools/openapi-generator-pip/actions/workflows/test.yaml/badge.svg>
44
+ )](
45
+ <https://github.com/OpenAPITools/openapi-generator-pip/actions/workflows/test.yaml>
37
46
  ) [![Code style: black](
38
47
  <https://img.shields.io/badge/code%20style-black-000000.svg>
39
48
  )](
@@ -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):
@@ -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.25.0"
8
8
  description = "CLI for openapi generator"
9
9
  readme = "README.md"
10
10
  keywords = [
@@ -23,12 +23,12 @@ 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",
26
27
  "Programming Language :: Python :: Implementation :: CPython",
27
28
  "Programming Language :: Python :: Implementation :: PyPy",
28
29
  "Typing :: Typed",
29
30
  ]
30
- dependencies = [ ]
31
-
31
+ dependencies = []
32
32
  optional-dependencies.jdk4py = [ "jdk4py>=21.0.4.1,<26; python_version>='3.10'" ]
33
33
  urls.Documentation = "https://github.com/OpenAPITools/openapi-generator#3---usage"
34
34
  urls.Homepage = "https://openapi-generator.tech"
@@ -37,30 +37,31 @@ scripts.openapi-generator-cli = "openapi_generator_cli:cli"
37
37
 
38
38
  [dependency-groups]
39
39
  dev = [
40
- "mypy>=0.991,<1.21",
41
40
  "natsort>=8.4,<9",
42
- "pre-commit>=2.20,<5",
41
+ "pymarkdownlnt>=0.9.33",
42
+ "pyproject-fmt>=2.6,<3",
43
43
  "pytest>=7.2.2,<10",
44
44
  "pytest-cov>=6",
45
- "taskipy>=1.10.3,<2",
46
45
  ]
47
46
 
48
- [tool.hatch.build.targets.sdist]
49
- include = [
47
+ [tool.hatch]
48
+ build.targets.wheel.include = [
50
49
  "openapi_generator_cli",
51
50
  ]
52
- artifacts = [
51
+ build.targets.wheel.artifacts = [
53
52
  "openapi_generator_cli/openapi-generator.jar",
54
53
  ]
55
-
56
- [tool.hatch.build.targets.wheel]
57
- include = [
54
+ build.targets.sdist.include = [
58
55
  "openapi_generator_cli",
59
56
  ]
60
- artifacts = [
57
+ build.targets.sdist.artifacts = [
61
58
  "openapi_generator_cli/openapi-generator.jar",
62
59
  ]
63
60
 
61
+ [tool.uv]
62
+ default-groups = [ "dev" ]
63
+ preview = true
64
+
64
65
  [tool.ruff]
65
66
  line-length = 120
66
67
  format.indent-style = "space"
@@ -69,8 +70,10 @@ lint.select = [
69
70
  "ALL",
70
71
  ]
71
72
  lint.ignore = [
72
- "D211", # No blank lines allowed before class docstring
73
- "D213", # Multi-line docstring summary should start at the second line
73
+ "COM812", # Trailing comma missing (conflicts with the formatter)
74
+ "CPY001", # Missing copyright notice at top of file
75
+ "D211", # No blank lines allowed before class docstring
76
+ "D213", # Multi-line docstring summary should start at the second line
74
77
  ]
75
78
  lint.per-file-ignores."publish.py" = [
76
79
  "D",
@@ -83,20 +86,5 @@ lint.per-file-ignores."tests/*" = [
83
86
  ]
84
87
  lint.pydocstyle.convention = "google"
85
88
 
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"
89
+ [tool.pymarkdown]
90
+ plugins.md013.enabled = false # Line length