argcomplete 3.5.0__tar.gz → 3.5.2__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.
- {argcomplete-3.5.0 → argcomplete-3.5.2}/.github/workflows/ci.yml +11 -8
- {argcomplete-3.5.0 → argcomplete-3.5.2}/Changes.rst +12 -0
- {argcomplete-3.5.0/argcomplete.egg-info → argcomplete-3.5.2}/PKG-INFO +2 -2
- {argcomplete-3.5.0 → argcomplete-3.5.2}/argcomplete/packages/_argparse.py +3 -1
- {argcomplete-3.5.0 → argcomplete-3.5.2/argcomplete.egg-info}/PKG-INFO +2 -2
- {argcomplete-3.5.0 → argcomplete-3.5.2}/pyproject.toml +1 -1
- {argcomplete-3.5.0 → argcomplete-3.5.2}/setup.py +0 -2
- {argcomplete-3.5.0 → argcomplete-3.5.2}/.github/FUNDING.yml +0 -0
- {argcomplete-3.5.0 → argcomplete-3.5.2}/.gitignore +0 -0
- {argcomplete-3.5.0 → argcomplete-3.5.2}/Authors.rst +0 -0
- {argcomplete-3.5.0 → argcomplete-3.5.2}/LICENSE.rst +0 -0
- {argcomplete-3.5.0 → argcomplete-3.5.2}/MANIFEST.in +0 -0
- {argcomplete-3.5.0 → argcomplete-3.5.2}/Makefile +0 -0
- {argcomplete-3.5.0 → argcomplete-3.5.2}/NOTICE +0 -0
- {argcomplete-3.5.0 → argcomplete-3.5.2}/README.rst +0 -0
- {argcomplete-3.5.0 → argcomplete-3.5.2}/SECURITY.md +0 -0
- {argcomplete-3.5.0 → argcomplete-3.5.2}/argcomplete/__init__.py +0 -0
- {argcomplete-3.5.0 → argcomplete-3.5.2}/argcomplete/_check_console_script.py +0 -0
- {argcomplete-3.5.0 → argcomplete-3.5.2}/argcomplete/_check_module.py +0 -0
- {argcomplete-3.5.0 → argcomplete-3.5.2}/argcomplete/bash_completion.d/_python-argcomplete +0 -0
- {argcomplete-3.5.0 → argcomplete-3.5.2}/argcomplete/completers.py +0 -0
- {argcomplete-3.5.0 → argcomplete-3.5.2}/argcomplete/exceptions.py +0 -0
- {argcomplete-3.5.0 → argcomplete-3.5.2}/argcomplete/finders.py +0 -0
- {argcomplete-3.5.0 → argcomplete-3.5.2}/argcomplete/io.py +0 -0
- {argcomplete-3.5.0 → argcomplete-3.5.2}/argcomplete/lexers.py +0 -0
- {argcomplete-3.5.0 → argcomplete-3.5.2}/argcomplete/packages/__init__.py +0 -0
- {argcomplete-3.5.0 → argcomplete-3.5.2}/argcomplete/packages/_shlex.py +0 -0
- {argcomplete-3.5.0 → argcomplete-3.5.2}/argcomplete/py.typed +0 -0
- {argcomplete-3.5.0 → argcomplete-3.5.2}/argcomplete/scripts/__init__.py +0 -0
- {argcomplete-3.5.0 → argcomplete-3.5.2}/argcomplete/scripts/activate_global_python_argcomplete.py +0 -0
- {argcomplete-3.5.0 → argcomplete-3.5.2}/argcomplete/scripts/python_argcomplete_check_easy_install_script.py +0 -0
- {argcomplete-3.5.0 → argcomplete-3.5.2}/argcomplete/scripts/register_python_argcomplete.py +0 -0
- {argcomplete-3.5.0 → argcomplete-3.5.2}/argcomplete/shell_integration.py +0 -0
- {argcomplete-3.5.0 → argcomplete-3.5.2}/argcomplete.egg-info/SOURCES.txt +0 -0
- {argcomplete-3.5.0 → argcomplete-3.5.2}/argcomplete.egg-info/dependency_links.txt +0 -0
- {argcomplete-3.5.0 → argcomplete-3.5.2}/argcomplete.egg-info/entry_points.txt +0 -0
- {argcomplete-3.5.0 → argcomplete-3.5.2}/argcomplete.egg-info/not-zip-safe +0 -0
- {argcomplete-3.5.0 → argcomplete-3.5.2}/argcomplete.egg-info/requires.txt +0 -0
- {argcomplete-3.5.0 → argcomplete-3.5.2}/argcomplete.egg-info/top_level.txt +0 -0
- {argcomplete-3.5.0 → argcomplete-3.5.2}/common.mk +0 -0
- {argcomplete-3.5.0 → argcomplete-3.5.2}/contrib/README.rst +0 -0
- {argcomplete-3.5.0 → argcomplete-3.5.2}/docs/changelog.rst +0 -0
- {argcomplete-3.5.0 → argcomplete-3.5.2}/docs/conf.py +0 -0
- {argcomplete-3.5.0 → argcomplete-3.5.2}/docs/examples/describe_github_user.py +0 -0
- {argcomplete-3.5.0 → argcomplete-3.5.2}/docs/fish_help_string.png +0 -0
- {argcomplete-3.5.0 → argcomplete-3.5.2}/docs/index.rst +0 -0
- {argcomplete-3.5.0 → argcomplete-3.5.2}/docs/toc.html +0 -0
- {argcomplete-3.5.0 → argcomplete-3.5.2}/setup.cfg +0 -0
- {argcomplete-3.5.0 → argcomplete-3.5.2}/test/__init__.py +0 -0
- {argcomplete-3.5.0 → argcomplete-3.5.2}/test/inputrc +0 -0
- {argcomplete-3.5.0 → argcomplete-3.5.2}/test/prog +0 -0
- {argcomplete-3.5.0 → argcomplete-3.5.2}/test/stuck +0 -0
- {argcomplete-3.5.0 → argcomplete-3.5.2}/test/test.py +0 -0
- {argcomplete-3.5.0 → argcomplete-3.5.2}/test/test_contrib_shells.py +0 -0
- {argcomplete-3.5.0 → argcomplete-3.5.2}/test/test_package/__init__.py +0 -0
- {argcomplete-3.5.0 → argcomplete-3.5.2}/test/test_package/build/lib/test_module.py +0 -0
- {argcomplete-3.5.0 → argcomplete-3.5.2}/test/test_package/build/lib/test_package/__init__.py +0 -0
- {argcomplete-3.5.0 → argcomplete-3.5.2}/test/test_package/setup.py +0 -0
- {argcomplete-3.5.0 → argcomplete-3.5.2}/test/test_package/test_module.py +0 -0
- {argcomplete-3.5.0 → argcomplete-3.5.2}/test/test_package/test_package/__init__.py +0 -0
- {argcomplete-3.5.0 → argcomplete-3.5.2}/test/test_package/test_package.egg-info/PKG-INFO +0 -0
- {argcomplete-3.5.0 → argcomplete-3.5.2}/test/test_package/test_package.egg-info/SOURCES.txt +0 -0
- {argcomplete-3.5.0 → argcomplete-3.5.2}/test/test_package/test_package.egg-info/dependency_links.txt +0 -0
- {argcomplete-3.5.0 → argcomplete-3.5.2}/test/test_package/test_package.egg-info/entry_points.txt +0 -0
- {argcomplete-3.5.0 → argcomplete-3.5.2}/test/test_package/test_package.egg-info/top_level.txt +0 -0
|
@@ -8,8 +8,8 @@ jobs:
|
|
|
8
8
|
strategy:
|
|
9
9
|
fail-fast: false
|
|
10
10
|
matrix:
|
|
11
|
-
os: [ubuntu-20.04, ubuntu-
|
|
12
|
-
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
|
|
11
|
+
os: [ubuntu-20.04, ubuntu-latest, macos-13, macos-latest]
|
|
12
|
+
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13", "3.14"]
|
|
13
13
|
|
|
14
14
|
steps:
|
|
15
15
|
- uses: actions/checkout@v4
|
|
@@ -28,15 +28,18 @@ jobs:
|
|
|
28
28
|
- run: make install
|
|
29
29
|
- run: make lint
|
|
30
30
|
- run: make test
|
|
31
|
-
- uses: codecov/codecov-action@
|
|
31
|
+
- uses: codecov/codecov-action@v5
|
|
32
32
|
if: ${{matrix.python-version == '3.12' && matrix.os == 'ubuntu-22.04'}}
|
|
33
|
-
black:
|
|
34
|
-
runs-on: ubuntu-22.04
|
|
35
|
-
steps:
|
|
36
|
-
- uses: actions/checkout@v4
|
|
37
|
-
- uses: psf/black@stable
|
|
38
33
|
isort:
|
|
39
34
|
runs-on: ubuntu-22.04
|
|
40
35
|
steps:
|
|
41
36
|
- uses: actions/checkout@v4
|
|
42
37
|
- uses: isort/isort-action@v1.1.0
|
|
38
|
+
ruff:
|
|
39
|
+
runs-on: ubuntu-latest
|
|
40
|
+
steps:
|
|
41
|
+
- uses: actions/checkout@v4
|
|
42
|
+
- uses: astral-sh/ruff-action@v1
|
|
43
|
+
- uses: astral-sh/ruff-action@v1
|
|
44
|
+
with:
|
|
45
|
+
args: "format --check"
|
|
@@ -1,3 +1,15 @@
|
|
|
1
|
+
Changes for v3.5.2 (2024-12-06)
|
|
2
|
+
===============================
|
|
3
|
+
|
|
4
|
+
- Fix \_parse_known_args monkeypatching
|
|
5
|
+
|
|
6
|
+
- CI improvements
|
|
7
|
+
|
|
8
|
+
Changes for v3.5.1 (2024-10-06)
|
|
9
|
+
===============================
|
|
10
|
+
|
|
11
|
+
- Restore compatibility with argparse in Python 3.12.7+ (#508)
|
|
12
|
+
|
|
1
13
|
Changes for v3.5.0 (2024-08-06)
|
|
2
14
|
===============================
|
|
3
15
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: argcomplete
|
|
3
|
-
Version: 3.5.
|
|
3
|
+
Version: 3.5.2
|
|
4
4
|
Summary: Bash tab completion for argparse
|
|
5
5
|
Home-page: https://github.com/kislyuk/argcomplete
|
|
6
6
|
Author: Andrey Kislyuk
|
|
@@ -9,7 +9,7 @@ License: Apache Software License
|
|
|
9
9
|
Project-URL: Documentation, https://kislyuk.github.io/argcomplete
|
|
10
10
|
Project-URL: Source Code, https://github.com/kislyuk/argcomplete
|
|
11
11
|
Project-URL: Issue Tracker, https://github.com/kislyuk/argcomplete/issues
|
|
12
|
-
Project-URL: Change Log, https://github.com/kislyuk/argcomplete/blob/
|
|
12
|
+
Project-URL: Change Log, https://github.com/kislyuk/argcomplete/blob/develop/Changes.rst
|
|
13
13
|
Platform: MacOS X
|
|
14
14
|
Platform: Posix
|
|
15
15
|
Classifier: Environment :: Console
|
|
@@ -75,7 +75,7 @@ class IntrospectiveArgumentParser(ArgumentParser):
|
|
|
75
75
|
except for the lines that contain the string "Added by argcomplete".
|
|
76
76
|
'''
|
|
77
77
|
|
|
78
|
-
def _parse_known_args(self, arg_strings, namespace):
|
|
78
|
+
def _parse_known_args(self, arg_strings, namespace, intermixed=False):
|
|
79
79
|
_num_consumed_args.clear() # Added by argcomplete
|
|
80
80
|
self._argcomplete_namespace = namespace
|
|
81
81
|
self.active_actions: List[Action] = [] # Added by argcomplete
|
|
@@ -162,6 +162,8 @@ class IntrospectiveArgumentParser(ArgumentParser):
|
|
|
162
162
|
def consume_optional(start_index):
|
|
163
163
|
# get the optional identified at this index
|
|
164
164
|
option_tuple = option_string_indices[start_index]
|
|
165
|
+
if isinstance(option_tuple, list): # Python 3.12.7+
|
|
166
|
+
option_tuple = option_tuple[0]
|
|
165
167
|
if len(option_tuple) == 3:
|
|
166
168
|
action, option_string, explicit_arg = option_tuple
|
|
167
169
|
else: # Python 3.11.9+, 3.12.3+, 3.13+
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: argcomplete
|
|
3
|
-
Version: 3.5.
|
|
3
|
+
Version: 3.5.2
|
|
4
4
|
Summary: Bash tab completion for argparse
|
|
5
5
|
Home-page: https://github.com/kislyuk/argcomplete
|
|
6
6
|
Author: Andrey Kislyuk
|
|
@@ -9,7 +9,7 @@ License: Apache Software License
|
|
|
9
9
|
Project-URL: Documentation, https://kislyuk.github.io/argcomplete
|
|
10
10
|
Project-URL: Source Code, https://github.com/kislyuk/argcomplete
|
|
11
11
|
Project-URL: Issue Tracker, https://github.com/kislyuk/argcomplete/issues
|
|
12
|
-
Project-URL: Change Log, https://github.com/kislyuk/argcomplete/blob/
|
|
12
|
+
Project-URL: Change Log, https://github.com/kislyuk/argcomplete/blob/develop/Changes.rst
|
|
13
13
|
Platform: MacOS X
|
|
14
14
|
Platform: Posix
|
|
15
15
|
Classifier: Environment :: Console
|
|
@@ -46,7 +46,7 @@ test = ["coverage", "pexpect", "wheel", "ruff", "mypy"]
|
|
|
46
46
|
"Documentation"= "https://kislyuk.github.io/argcomplete"
|
|
47
47
|
"Source Code"= "https://github.com/kislyuk/argcomplete"
|
|
48
48
|
"Issue Tracker"= "https://github.com/kislyuk/argcomplete/issues"
|
|
49
|
-
"Change Log"= "https://github.com/kislyuk/argcomplete/blob/
|
|
49
|
+
"Change Log"= "https://github.com/kislyuk/argcomplete/blob/develop/Changes.rst"
|
|
50
50
|
|
|
51
51
|
[tool.setuptools_scm]
|
|
52
52
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{argcomplete-3.5.0 → argcomplete-3.5.2}/argcomplete/scripts/activate_global_python_argcomplete.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{argcomplete-3.5.0 → argcomplete-3.5.2}/test/test_package/build/lib/test_package/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{argcomplete-3.5.0 → argcomplete-3.5.2}/test/test_package/test_package.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
{argcomplete-3.5.0 → argcomplete-3.5.2}/test/test_package/test_package.egg-info/entry_points.txt
RENAMED
|
File without changes
|
{argcomplete-3.5.0 → argcomplete-3.5.2}/test/test_package/test_package.egg-info/top_level.txt
RENAMED
|
File without changes
|