usage-spec-argparse 1.1.0__tar.gz → 1.2.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.
@@ -0,0 +1,26 @@
1
+ node_modules/
2
+ dist/
3
+ aube-lock.yaml
4
+ .npmrc
5
+ .venv/
6
+ __pycache__/
7
+ *.pyc
8
+ .pytest_cache/
9
+
10
+ # Kotlin / Gradle
11
+ build/
12
+ .gradle/
13
+ bin/
14
+ *.iml
15
+ .idea/
16
+ *.class
17
+ *.jar
18
+ *.war
19
+ *.ear
20
+ .DS_Store
21
+ .kotlin/
22
+
23
+ # Eclipse
24
+ .classpath
25
+ .project
26
+ .settings/
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: usage-spec-argparse
3
- Version: 1.1.0
3
+ Version: 1.2.0
4
4
  Summary: Generates usage spec for CLIs written with argparse
5
5
  Project-URL: Repository, https://github.com/gaojunran/usage-integrations
6
6
  License-Expression: MIT
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
4
4
 
5
5
  [project]
6
6
  name = "usage-spec-argparse"
7
- version = "1.1.0"
7
+ version = "1.2.0"
8
8
  description = "Generates usage spec for CLIs written with argparse"
9
9
  requires-python = ">=3.10"
10
10
  license = "MIT"
@@ -232,7 +232,7 @@ class TestPositionalArguments:
232
232
 
233
233
  output = generate(p)
234
234
 
235
- assert "arg [name]" in output
235
+ assert 'arg "[name]"' in output
236
236
  assert "required=#false" in output
237
237
 
238
238
  def test_converts_variadic_arguments(self):
@@ -252,7 +252,7 @@ class TestPositionalArguments:
252
252
  output = generate(p)
253
253
 
254
254
  assert "arg <source>" in output
255
- assert "arg [dest]" in output
255
+ assert 'arg "[dest]"' in output
256
256
 
257
257
 
258
258
  class TestChoices:
@@ -388,7 +388,7 @@ class TestDefaultValues:
388
388
 
389
389
  output = generate(p)
390
390
 
391
- assert "default=0" in output
391
+ assert 'default="0"' in output
392
392
 
393
393
 
394
394
  class TestCountFlags:
@@ -1,8 +0,0 @@
1
- node_modules/
2
- dist/
3
- aube-lock.yaml
4
- .npmrc
5
- .venv/
6
- __pycache__/
7
- *.pyc
8
- .pytest_cache/