Matt300209 commited on
Commit
f86fac7
·
verified ·
1 Parent(s): bc9f36d

Add files using upload-large-folder tool

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. venv/lib/python3.10/site-packages/_pytest/__init__.py +13 -0
  2. venv/lib/python3.10/site-packages/_pytest/__pycache__/__init__.cpython-310.pyc +0 -0
  3. venv/lib/python3.10/site-packages/_pytest/__pycache__/_argcomplete.cpython-310.pyc +0 -0
  4. venv/lib/python3.10/site-packages/_pytest/__pycache__/_version.cpython-310.pyc +0 -0
  5. venv/lib/python3.10/site-packages/_pytest/__pycache__/cacheprovider.cpython-310.pyc +0 -0
  6. venv/lib/python3.10/site-packages/_pytest/__pycache__/capture.cpython-310.pyc +0 -0
  7. venv/lib/python3.10/site-packages/_pytest/__pycache__/compat.cpython-310.pyc +0 -0
  8. venv/lib/python3.10/site-packages/_pytest/__pycache__/debugging.cpython-310.pyc +0 -0
  9. venv/lib/python3.10/site-packages/_pytest/__pycache__/deprecated.cpython-310.pyc +0 -0
  10. venv/lib/python3.10/site-packages/_pytest/__pycache__/doctest.cpython-310.pyc +0 -0
  11. venv/lib/python3.10/site-packages/_pytest/__pycache__/faulthandler.cpython-310.pyc +0 -0
  12. venv/lib/python3.10/site-packages/_pytest/__pycache__/fixtures.cpython-310.pyc +0 -0
  13. venv/lib/python3.10/site-packages/_pytest/__pycache__/freeze_support.cpython-310.pyc +0 -0
  14. venv/lib/python3.10/site-packages/_pytest/__pycache__/helpconfig.cpython-310.pyc +0 -0
  15. venv/lib/python3.10/site-packages/_pytest/__pycache__/hookspec.cpython-310.pyc +0 -0
  16. venv/lib/python3.10/site-packages/_pytest/__pycache__/junitxml.cpython-310.pyc +0 -0
  17. venv/lib/python3.10/site-packages/_pytest/__pycache__/legacypath.cpython-310.pyc +0 -0
  18. venv/lib/python3.10/site-packages/_pytest/__pycache__/logging.cpython-310.pyc +0 -0
  19. venv/lib/python3.10/site-packages/_pytest/__pycache__/main.cpython-310.pyc +0 -0
  20. venv/lib/python3.10/site-packages/_pytest/__pycache__/monkeypatch.cpython-310.pyc +0 -0
  21. venv/lib/python3.10/site-packages/_pytest/__pycache__/nodes.cpython-310.pyc +0 -0
  22. venv/lib/python3.10/site-packages/_pytest/__pycache__/outcomes.cpython-310.pyc +0 -0
  23. venv/lib/python3.10/site-packages/_pytest/__pycache__/pastebin.cpython-310.pyc +0 -0
  24. venv/lib/python3.10/site-packages/_pytest/__pycache__/pathlib.cpython-310.pyc +0 -0
  25. venv/lib/python3.10/site-packages/_pytest/__pycache__/pytester.cpython-310.pyc +0 -0
  26. venv/lib/python3.10/site-packages/_pytest/__pycache__/pytester_assertions.cpython-310.pyc +0 -0
  27. venv/lib/python3.10/site-packages/_pytest/__pycache__/python.cpython-310.pyc +0 -0
  28. venv/lib/python3.10/site-packages/_pytest/__pycache__/python_api.cpython-310.pyc +0 -0
  29. venv/lib/python3.10/site-packages/_pytest/__pycache__/raises.cpython-310.pyc +0 -0
  30. venv/lib/python3.10/site-packages/_pytest/__pycache__/recwarn.cpython-310.pyc +0 -0
  31. venv/lib/python3.10/site-packages/_pytest/__pycache__/reports.cpython-310.pyc +0 -0
  32. venv/lib/python3.10/site-packages/_pytest/__pycache__/runner.cpython-310.pyc +0 -0
  33. venv/lib/python3.10/site-packages/_pytest/__pycache__/scope.cpython-310.pyc +0 -0
  34. venv/lib/python3.10/site-packages/_pytest/__pycache__/setuponly.cpython-310.pyc +0 -0
  35. venv/lib/python3.10/site-packages/_pytest/__pycache__/setupplan.cpython-310.pyc +0 -0
  36. venv/lib/python3.10/site-packages/_pytest/__pycache__/skipping.cpython-310.pyc +0 -0
  37. venv/lib/python3.10/site-packages/_pytest/__pycache__/stash.cpython-310.pyc +0 -0
  38. venv/lib/python3.10/site-packages/_pytest/__pycache__/stepwise.cpython-310.pyc +0 -0
  39. venv/lib/python3.10/site-packages/_pytest/__pycache__/terminal.cpython-310.pyc +0 -0
  40. venv/lib/python3.10/site-packages/_pytest/__pycache__/threadexception.cpython-310.pyc +0 -0
  41. venv/lib/python3.10/site-packages/_pytest/__pycache__/timing.cpython-310.pyc +0 -0
  42. venv/lib/python3.10/site-packages/_pytest/__pycache__/tmpdir.cpython-310.pyc +0 -0
  43. venv/lib/python3.10/site-packages/_pytest/__pycache__/tracemalloc.cpython-310.pyc +0 -0
  44. venv/lib/python3.10/site-packages/_pytest/__pycache__/unittest.cpython-310.pyc +0 -0
  45. venv/lib/python3.10/site-packages/_pytest/__pycache__/unraisableexception.cpython-310.pyc +0 -0
  46. venv/lib/python3.10/site-packages/_pytest/__pycache__/warning_types.cpython-310.pyc +0 -0
  47. venv/lib/python3.10/site-packages/_pytest/__pycache__/warnings.cpython-310.pyc +0 -0
  48. venv/lib/python3.10/site-packages/_pytest/_argcomplete.py +117 -0
  49. venv/lib/python3.10/site-packages/_pytest/_code/__init__.py +26 -0
  50. venv/lib/python3.10/site-packages/_pytest/_code/__pycache__/__init__.cpython-310.pyc +0 -0
venv/lib/python3.10/site-packages/_pytest/__init__.py ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from __future__ import annotations
2
+
3
+
4
+ __all__ = ["__version__", "version_tuple"]
5
+
6
+ try:
7
+ from ._version import version as __version__
8
+ from ._version import version_tuple
9
+ except ImportError: # pragma: no cover
10
+ # broken installation, we don't even try
11
+ # unknown only works because we do poor mans version compare
12
+ __version__ = "unknown"
13
+ version_tuple = (0, 0, "unknown")
venv/lib/python3.10/site-packages/_pytest/__pycache__/__init__.cpython-310.pyc ADDED
Binary file (493 Bytes). View file
 
venv/lib/python3.10/site-packages/_pytest/__pycache__/_argcomplete.cpython-310.pyc ADDED
Binary file (4.19 kB). View file
 
venv/lib/python3.10/site-packages/_pytest/__pycache__/_version.cpython-310.pyc ADDED
Binary file (726 Bytes). View file
 
venv/lib/python3.10/site-packages/_pytest/__pycache__/cacheprovider.cpython-310.pyc ADDED
Binary file (20.4 kB). View file
 
venv/lib/python3.10/site-packages/_pytest/__pycache__/capture.cpython-310.pyc ADDED
Binary file (37.4 kB). View file
 
venv/lib/python3.10/site-packages/_pytest/__pycache__/compat.cpython-310.pyc ADDED
Binary file (9.46 kB). View file
 
venv/lib/python3.10/site-packages/_pytest/__pycache__/debugging.cpython-310.pyc ADDED
Binary file (11.8 kB). View file
 
venv/lib/python3.10/site-packages/_pytest/__pycache__/deprecated.cpython-310.pyc ADDED
Binary file (2.47 kB). View file
 
venv/lib/python3.10/site-packages/_pytest/__pycache__/doctest.cpython-310.pyc ADDED
Binary file (23.4 kB). View file
 
venv/lib/python3.10/site-packages/_pytest/__pycache__/faulthandler.cpython-310.pyc ADDED
Binary file (2.97 kB). View file
 
venv/lib/python3.10/site-packages/_pytest/__pycache__/fixtures.cpython-310.pyc ADDED
Binary file (56.4 kB). View file
 
venv/lib/python3.10/site-packages/_pytest/__pycache__/freeze_support.cpython-310.pyc ADDED
Binary file (1.52 kB). View file
 
venv/lib/python3.10/site-packages/_pytest/__pycache__/helpconfig.cpython-310.pyc ADDED
Binary file (8.15 kB). View file
 
venv/lib/python3.10/site-packages/_pytest/__pycache__/hookspec.cpython-310.pyc ADDED
Binary file (43.9 kB). View file
 
venv/lib/python3.10/site-packages/_pytest/__pycache__/junitxml.cpython-310.pyc ADDED
Binary file (21.3 kB). View file
 
venv/lib/python3.10/site-packages/_pytest/__pycache__/legacypath.cpython-310.pyc ADDED
Binary file (18 kB). View file
 
venv/lib/python3.10/site-packages/_pytest/__pycache__/logging.cpython-310.pyc ADDED
Binary file (31.7 kB). View file
 
venv/lib/python3.10/site-packages/_pytest/__pycache__/main.cpython-310.pyc ADDED
Binary file (27.8 kB). View file
 
venv/lib/python3.10/site-packages/_pytest/__pycache__/monkeypatch.cpython-310.pyc ADDED
Binary file (12.7 kB). View file
 
venv/lib/python3.10/site-packages/_pytest/__pycache__/nodes.cpython-310.pyc ADDED
Binary file (23.6 kB). View file
 
venv/lib/python3.10/site-packages/_pytest/__pycache__/outcomes.cpython-310.pyc ADDED
Binary file (10 kB). View file
 
venv/lib/python3.10/site-packages/_pytest/__pycache__/pastebin.cpython-310.pyc ADDED
Binary file (3.88 kB). View file
 
venv/lib/python3.10/site-packages/_pytest/__pycache__/pathlib.cpython-310.pyc ADDED
Binary file (28.8 kB). View file
 
venv/lib/python3.10/site-packages/_pytest/__pycache__/pytester.cpython-310.pyc ADDED
Binary file (61.2 kB). View file
 
venv/lib/python3.10/site-packages/_pytest/__pycache__/pytester_assertions.cpython-310.pyc ADDED
Binary file (1.89 kB). View file
 
venv/lib/python3.10/site-packages/_pytest/__pycache__/python.cpython-310.pyc ADDED
Binary file (50 kB). View file
 
venv/lib/python3.10/site-packages/_pytest/__pycache__/python_api.cpython-310.pyc ADDED
Binary file (25.9 kB). View file
 
venv/lib/python3.10/site-packages/_pytest/__pycache__/raises.cpython-310.pyc ADDED
Binary file (45.2 kB). View file
 
venv/lib/python3.10/site-packages/_pytest/__pycache__/recwarn.cpython-310.pyc ADDED
Binary file (12 kB). View file
 
venv/lib/python3.10/site-packages/_pytest/__pycache__/reports.cpython-310.pyc ADDED
Binary file (18.2 kB). View file
 
venv/lib/python3.10/site-packages/_pytest/__pycache__/runner.cpython-310.pyc ADDED
Binary file (16 kB). View file
 
venv/lib/python3.10/site-packages/_pytest/__pycache__/scope.cpython-310.pyc ADDED
Binary file (3.15 kB). View file
 
venv/lib/python3.10/site-packages/_pytest/__pycache__/setuponly.cpython-310.pyc ADDED
Binary file (3.23 kB). View file
 
venv/lib/python3.10/site-packages/_pytest/__pycache__/setupplan.cpython-310.pyc ADDED
Binary file (1.51 kB). View file
 
venv/lib/python3.10/site-packages/_pytest/__pycache__/skipping.cpython-310.pyc ADDED
Binary file (8.87 kB). View file
 
venv/lib/python3.10/site-packages/_pytest/__pycache__/stash.cpython-310.pyc ADDED
Binary file (4.04 kB). View file
 
venv/lib/python3.10/site-packages/_pytest/__pycache__/stepwise.cpython-310.pyc ADDED
Binary file (6.36 kB). View file
 
venv/lib/python3.10/site-packages/_pytest/__pycache__/terminal.cpython-310.pyc ADDED
Binary file (49.1 kB). View file
 
venv/lib/python3.10/site-packages/_pytest/__pycache__/threadexception.cpython-310.pyc ADDED
Binary file (3.74 kB). View file
 
venv/lib/python3.10/site-packages/_pytest/__pycache__/timing.cpython-310.pyc ADDED
Binary file (3.89 kB). View file
 
venv/lib/python3.10/site-packages/_pytest/__pycache__/tmpdir.cpython-310.pyc ADDED
Binary file (9.08 kB). View file
 
venv/lib/python3.10/site-packages/_pytest/__pycache__/tracemalloc.cpython-310.pyc ADDED
Binary file (885 Bytes). View file
 
venv/lib/python3.10/site-packages/_pytest/__pycache__/unittest.cpython-310.pyc ADDED
Binary file (14.9 kB). View file
 
venv/lib/python3.10/site-packages/_pytest/__pycache__/unraisableexception.cpython-310.pyc ADDED
Binary file (4.03 kB). View file
 
venv/lib/python3.10/site-packages/_pytest/__pycache__/warning_types.cpython-310.pyc ADDED
Binary file (5.45 kB). View file
 
venv/lib/python3.10/site-packages/_pytest/__pycache__/warnings.cpython-310.pyc ADDED
Binary file (4.34 kB). View file
 
venv/lib/python3.10/site-packages/_pytest/_argcomplete.py ADDED
@@ -0,0 +1,117 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """Allow bash-completion for argparse with argcomplete if installed.
2
+
3
+ Needs argcomplete>=0.5.6 for python 3.2/3.3 (older versions fail
4
+ to find the magic string, so _ARGCOMPLETE env. var is never set, and
5
+ this does not need special code).
6
+
7
+ Function try_argcomplete(parser) should be called directly before
8
+ the call to ArgumentParser.parse_args().
9
+
10
+ The filescompleter is what you normally would use on the positional
11
+ arguments specification, in order to get "dirname/" after "dirn<TAB>"
12
+ instead of the default "dirname ":
13
+
14
+ optparser.add_argument(Config._file_or_dir, nargs='*').completer=filescompleter
15
+
16
+ Other, application specific, completers should go in the file
17
+ doing the add_argument calls as they need to be specified as .completer
18
+ attributes as well. (If argcomplete is not installed, the function the
19
+ attribute points to will not be used).
20
+
21
+ SPEEDUP
22
+ =======
23
+
24
+ The generic argcomplete script for bash-completion
25
+ (/etc/bash_completion.d/python-argcomplete.sh)
26
+ uses a python program to determine startup script generated by pip.
27
+ You can speed up completion somewhat by changing this script to include
28
+ # PYTHON_ARGCOMPLETE_OK
29
+ so the python-argcomplete-check-easy-install-script does not
30
+ need to be called to find the entry point of the code and see if that is
31
+ marked with PYTHON_ARGCOMPLETE_OK.
32
+
33
+ INSTALL/DEBUGGING
34
+ =================
35
+
36
+ To include this support in another application that has setup.py generated
37
+ scripts:
38
+
39
+ - Add the line:
40
+ # PYTHON_ARGCOMPLETE_OK
41
+ near the top of the main python entry point.
42
+
43
+ - Include in the file calling parse_args():
44
+ from _argcomplete import try_argcomplete, filescompleter
45
+ Call try_argcomplete just before parse_args(), and optionally add
46
+ filescompleter to the positional arguments' add_argument().
47
+
48
+ If things do not work right away:
49
+
50
+ - Switch on argcomplete debugging with (also helpful when doing custom
51
+ completers):
52
+ export _ARC_DEBUG=1
53
+
54
+ - Run:
55
+ python-argcomplete-check-easy-install-script $(which appname)
56
+ echo $?
57
+ will echo 0 if the magic line has been found, 1 if not.
58
+
59
+ - Sometimes it helps to find early on errors using:
60
+ _ARGCOMPLETE=1 _ARC_DEBUG=1 appname
61
+ which should throw a KeyError: 'COMPLINE' (which is properly set by the
62
+ global argcomplete script).
63
+ """
64
+
65
+ from __future__ import annotations
66
+
67
+ import argparse
68
+ from glob import glob
69
+ import os
70
+ import sys
71
+ from typing import Any
72
+
73
+
74
+ class FastFilesCompleter:
75
+ """Fast file completer class."""
76
+
77
+ def __init__(self, directories: bool = True) -> None:
78
+ self.directories = directories
79
+
80
+ def __call__(self, prefix: str, **kwargs: Any) -> list[str]:
81
+ # Only called on non option completions.
82
+ if os.sep in prefix[1:]:
83
+ prefix_dir = len(os.path.dirname(prefix) + os.sep)
84
+ else:
85
+ prefix_dir = 0
86
+ completion = []
87
+ globbed = []
88
+ if "*" not in prefix and "?" not in prefix:
89
+ # We are on unix, otherwise no bash.
90
+ if not prefix or prefix[-1] == os.sep:
91
+ globbed.extend(glob(prefix + ".*"))
92
+ prefix += "*"
93
+ globbed.extend(glob(prefix))
94
+ for x in sorted(globbed):
95
+ if os.path.isdir(x):
96
+ x += "/"
97
+ # Append stripping the prefix (like bash, not like compgen).
98
+ completion.append(x[prefix_dir:])
99
+ return completion
100
+
101
+
102
+ if os.environ.get("_ARGCOMPLETE"):
103
+ try:
104
+ import argcomplete.completers
105
+ except ImportError:
106
+ sys.exit(-1)
107
+ filescompleter: FastFilesCompleter | None = FastFilesCompleter()
108
+
109
+ def try_argcomplete(parser: argparse.ArgumentParser) -> None:
110
+ argcomplete.autocomplete(parser, always_complete_options=False)
111
+
112
+ else:
113
+
114
+ def try_argcomplete(parser: argparse.ArgumentParser) -> None:
115
+ pass
116
+
117
+ filescompleter = None
venv/lib/python3.10/site-packages/_pytest/_code/__init__.py ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """Python inspection/code generation API."""
2
+
3
+ from __future__ import annotations
4
+
5
+ from .code import Code
6
+ from .code import ExceptionInfo
7
+ from .code import filter_traceback
8
+ from .code import Frame
9
+ from .code import getfslineno
10
+ from .code import Traceback
11
+ from .code import TracebackEntry
12
+ from .source import getrawcode
13
+ from .source import Source
14
+
15
+
16
+ __all__ = [
17
+ "Code",
18
+ "ExceptionInfo",
19
+ "Frame",
20
+ "Source",
21
+ "Traceback",
22
+ "TracebackEntry",
23
+ "filter_traceback",
24
+ "getfslineno",
25
+ "getrawcode",
26
+ ]
venv/lib/python3.10/site-packages/_pytest/_code/__pycache__/__init__.cpython-310.pyc ADDED
Binary file (730 Bytes). View file