vim-eof-comment 0.3.10__py3-none-any.whl → 0.3.12__py3-none-any.whl
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.
- docs/Makefile +22 -0
- docs/make.bat +35 -0
- docs/source/conf.py +56 -0
- docs/source/functions.rst +2 -0
- docs/source/index.rst +22 -0
- docs/source/installation.rst +14 -0
- vim_eof_comment/__init__.py +2 -4
- vim_eof_comment/__init__.pyi +4 -3
- vim_eof_comment/args/parsing.py +1 -1
- vim_eof_comment/comments/__init__.py +2 -2
- vim_eof_comment/comments/__init__.pyi +1 -2
- vim_eof_comment/comments/filetypes.json +1 -1
- vim_eof_comment/comments/generator.py +28 -28
- vim_eof_comment/comments/generator.pyi +23 -23
- vim_eof_comment/eof.py +5 -8
- vim_eof_comment/eof.pyi +1 -1
- vim_eof_comment/file.py +4 -4
- vim_eof_comment/file.pyi +1 -1
- vim_eof_comment/regex.py +2 -2
- vim_eof_comment/regex.pyi +2 -2
- vim_eof_comment/types.py +86 -16
- vim_eof_comment/types.pyi +86 -16
- vim_eof_comment/util.py +1 -1
- vim_eof_comment/version.py +7 -3
- vim_eof_comment/version.pyi +4 -3
- {vim_eof_comment-0.3.10.dist-info → vim_eof_comment-0.3.12.dist-info}/METADATA +6 -2
- vim_eof_comment-0.3.12.dist-info/RECORD +39 -0
- {vim_eof_comment-0.3.10.dist-info → vim_eof_comment-0.3.12.dist-info}/top_level.txt +1 -0
- vim_eof_comment/comments/types.py +0 -76
- vim_eof_comment/comments/types.pyi +0 -65
- vim_eof_comment-0.3.10.dist-info/RECORD +0 -35
- {vim_eof_comment-0.3.10.dist-info → vim_eof_comment-0.3.12.dist-info}/WHEEL +0 -0
- {vim_eof_comment-0.3.10.dist-info → vim_eof_comment-0.3.12.dist-info}/entry_points.txt +0 -0
- {vim_eof_comment-0.3.10.dist-info → vim_eof_comment-0.3.12.dist-info}/licenses/LICENSE +0 -0
vim_eof_comment/types.py
CHANGED
|
@@ -32,15 +32,15 @@ class ParserSpec(TypedDict):
|
|
|
32
32
|
----------
|
|
33
33
|
opts : List[str]
|
|
34
34
|
A list containing all the relevant iterations of the same option.
|
|
35
|
-
kwargs : Dict[str,
|
|
35
|
+
kwargs : Dict[str, Any]
|
|
36
36
|
Extra arguments for ``argparse.ArgumentParser``.
|
|
37
|
-
completer : argcomplete.DirectoriesCompleter
|
|
38
|
-
An
|
|
37
|
+
completer : argcomplete.DirectoriesCompleter
|
|
38
|
+
An ``argcomplete`` completer object.
|
|
39
39
|
"""
|
|
40
40
|
|
|
41
41
|
opts: List[str]
|
|
42
42
|
kwargs: Dict[str, Any]
|
|
43
|
-
completer: DirectoriesCompleter
|
|
43
|
+
completer: DirectoriesCompleter
|
|
44
44
|
|
|
45
45
|
|
|
46
46
|
class CommentMap(TypedDict):
|
|
@@ -59,7 +59,18 @@ class CommentMap(TypedDict):
|
|
|
59
59
|
|
|
60
60
|
|
|
61
61
|
class IndentMap(TypedDict):
|
|
62
|
-
"""
|
|
62
|
+
"""
|
|
63
|
+
A dict containing ``level`` and ``expandtab`` as keys.
|
|
64
|
+
|
|
65
|
+
This is a ``TypedDict``-like object.
|
|
66
|
+
|
|
67
|
+
Attributes
|
|
68
|
+
----------
|
|
69
|
+
level : int
|
|
70
|
+
The indent level.
|
|
71
|
+
expandtab : bool
|
|
72
|
+
Whether to expand tabs or not.
|
|
73
|
+
"""
|
|
63
74
|
|
|
64
75
|
level: int
|
|
65
76
|
expandtab: bool
|
|
@@ -67,53 +78,112 @@ class IndentMap(TypedDict):
|
|
|
67
78
|
|
|
68
79
|
class IndentHandler(TypedDict):
|
|
69
80
|
"""
|
|
70
|
-
A dict containing ``
|
|
81
|
+
A dict containing ``ft_ext``, ``level`` and ``expandtab`` as keys.
|
|
82
|
+
|
|
83
|
+
This is a ``TypedDict``-like object.
|
|
71
84
|
|
|
72
85
|
Attributes
|
|
73
86
|
----------
|
|
74
|
-
|
|
75
|
-
The file
|
|
87
|
+
ft_ext : str
|
|
88
|
+
The file-extension/file-type.
|
|
76
89
|
level : str
|
|
77
90
|
The string representation of the indent level.
|
|
78
91
|
expandtab : bool
|
|
79
92
|
Whether to expand tabs or not.
|
|
80
93
|
"""
|
|
81
94
|
|
|
82
|
-
|
|
95
|
+
ft_ext: str
|
|
83
96
|
level: str
|
|
84
97
|
expandtab: bool
|
|
85
98
|
|
|
86
99
|
|
|
87
100
|
class IOWrapperBool(TypedDict):
|
|
88
|
-
"""
|
|
101
|
+
"""
|
|
102
|
+
A dict containing ``file`` and ``has_nwl`` as keys.
|
|
103
|
+
|
|
104
|
+
This is a ``TypedDict``-like object.
|
|
105
|
+
|
|
106
|
+
Attributes
|
|
107
|
+
----------
|
|
108
|
+
file : TextIO
|
|
109
|
+
The opened file as a ``TextIO`` wrapper.
|
|
110
|
+
has_nwl : bool
|
|
111
|
+
Whether the file has a newline or not.
|
|
112
|
+
"""
|
|
89
113
|
|
|
90
114
|
file: TextIO
|
|
91
115
|
has_nwl: bool
|
|
92
116
|
|
|
93
117
|
|
|
94
118
|
class LineBool(TypedDict):
|
|
95
|
-
"""
|
|
119
|
+
"""
|
|
120
|
+
A dict containing ``line`` and ``has_nwl`` as keys.
|
|
121
|
+
|
|
122
|
+
This is a ``TypedDict``-like object.
|
|
123
|
+
|
|
124
|
+
Attributes
|
|
125
|
+
----------
|
|
126
|
+
line : str
|
|
127
|
+
The last line of the target file.
|
|
128
|
+
has_nwl : bool
|
|
129
|
+
Whether the file has a newline or not.
|
|
130
|
+
"""
|
|
96
131
|
|
|
97
132
|
line: str
|
|
98
133
|
has_nwl: bool
|
|
99
134
|
|
|
100
135
|
|
|
101
136
|
class BatchPathDict(TypedDict):
|
|
102
|
-
"""
|
|
137
|
+
"""
|
|
138
|
+
A dict containing ``file`` and ``ft_ext`` as keys.
|
|
139
|
+
|
|
140
|
+
This is a ``TypedDict``-like object.
|
|
141
|
+
|
|
142
|
+
Attributes
|
|
143
|
+
----------
|
|
144
|
+
file : TextIO
|
|
145
|
+
The opened file as a ``TextIO`` wrapper.
|
|
146
|
+
ft_ext : str
|
|
147
|
+
The file-type/file-extension.
|
|
148
|
+
"""
|
|
103
149
|
|
|
104
150
|
file: TextIO
|
|
105
|
-
|
|
151
|
+
ft_ext: str
|
|
106
152
|
|
|
107
153
|
|
|
108
154
|
class BatchPairDict(TypedDict):
|
|
109
|
-
"""
|
|
155
|
+
"""
|
|
156
|
+
A dict containing ``fpath`` and ``ft_ext`` as keys.
|
|
157
|
+
|
|
158
|
+
This is a ``TypedDict``-like object.
|
|
159
|
+
|
|
160
|
+
Attributes
|
|
161
|
+
----------
|
|
162
|
+
fpath : str
|
|
163
|
+
The target file's path.
|
|
164
|
+
ft_ext : str
|
|
165
|
+
The file-type/file-extension.
|
|
166
|
+
"""
|
|
110
167
|
|
|
111
168
|
fpath: str
|
|
112
|
-
|
|
169
|
+
ft_ext: str
|
|
113
170
|
|
|
114
171
|
|
|
115
172
|
class EOFCommentSearch(TypedDict):
|
|
116
|
-
"""
|
|
173
|
+
"""
|
|
174
|
+
A dict containing ``state``, ``lang`` and ``match`` as keys.
|
|
175
|
+
|
|
176
|
+
This is a ``TypedDict``-like object.
|
|
177
|
+
|
|
178
|
+
Attributes
|
|
179
|
+
----------
|
|
180
|
+
state : IOWrapperBool
|
|
181
|
+
The target ``IOWrapperBool`` object.
|
|
182
|
+
lang : str
|
|
183
|
+
The file language.
|
|
184
|
+
match : bool
|
|
185
|
+
Whether it has a variation of an EOF comment at the end.
|
|
186
|
+
"""
|
|
117
187
|
|
|
118
188
|
state: IOWrapperBool
|
|
119
189
|
lang: str
|
vim_eof_comment/types.pyi
CHANGED
|
@@ -14,14 +14,14 @@ class ParserSpec(TypedDict):
|
|
|
14
14
|
----------
|
|
15
15
|
opts : List[str]
|
|
16
16
|
A list containing all the relevant iterations of the same option.
|
|
17
|
-
kwargs : Dict[str,
|
|
17
|
+
kwargs : Dict[str, Any]
|
|
18
18
|
Extra arguments for ``argparse.ArgumentParser``.
|
|
19
|
-
completer : argcomplete.DirectoriesCompleter
|
|
20
|
-
An
|
|
19
|
+
completer : argcomplete.DirectoriesCompleter
|
|
20
|
+
An ``argcomplete`` completer object.
|
|
21
21
|
"""
|
|
22
22
|
opts: list[str]
|
|
23
23
|
kwargs: dict[str, Any]
|
|
24
|
-
completer: DirectoriesCompleter
|
|
24
|
+
completer: DirectoriesCompleter
|
|
25
25
|
|
|
26
26
|
class CommentMap(TypedDict):
|
|
27
27
|
"""
|
|
@@ -37,49 +37,119 @@ class CommentMap(TypedDict):
|
|
|
37
37
|
level: int
|
|
38
38
|
|
|
39
39
|
class IndentMap(TypedDict):
|
|
40
|
-
"""
|
|
40
|
+
"""
|
|
41
|
+
A dict containing ``level`` and ``expandtab`` as keys.
|
|
42
|
+
|
|
43
|
+
This is a ``TypedDict``-like object.
|
|
44
|
+
|
|
45
|
+
Attributes
|
|
46
|
+
----------
|
|
47
|
+
level : int
|
|
48
|
+
The indent level.
|
|
49
|
+
expandtab : bool
|
|
50
|
+
Whether to expand tabs or not.
|
|
51
|
+
"""
|
|
41
52
|
level: int
|
|
42
53
|
expandtab: bool
|
|
43
54
|
|
|
44
55
|
class IndentHandler(TypedDict):
|
|
45
56
|
"""
|
|
46
|
-
A dict containing ``
|
|
57
|
+
A dict containing ``ft_ext``, ``level`` and ``expandtab`` as keys.
|
|
58
|
+
|
|
59
|
+
This is a ``TypedDict``-like object.
|
|
47
60
|
|
|
48
61
|
Attributes
|
|
49
62
|
----------
|
|
50
|
-
|
|
51
|
-
The file
|
|
63
|
+
ft_ext : str
|
|
64
|
+
The file-extension/file-type.
|
|
52
65
|
level : str
|
|
53
66
|
The string representation of the indent level.
|
|
54
67
|
expandtab : bool
|
|
55
68
|
Whether to expand tabs or not.
|
|
56
69
|
"""
|
|
57
|
-
|
|
70
|
+
ft_ext: str
|
|
58
71
|
level: str
|
|
59
72
|
expandtab: bool
|
|
60
73
|
|
|
61
74
|
class IOWrapperBool(TypedDict):
|
|
62
|
-
"""
|
|
75
|
+
"""
|
|
76
|
+
A dict containing ``file`` and ``has_nwl`` as keys.
|
|
77
|
+
|
|
78
|
+
This is a ``TypedDict``-like object.
|
|
79
|
+
|
|
80
|
+
Attributes
|
|
81
|
+
----------
|
|
82
|
+
file : TextIO
|
|
83
|
+
The opened file as a ``TextIO`` wrapper.
|
|
84
|
+
has_nwl : bool
|
|
85
|
+
Whether the file has a newline or not.
|
|
86
|
+
"""
|
|
63
87
|
file: TextIO
|
|
64
88
|
has_nwl: bool
|
|
65
89
|
|
|
66
90
|
class LineBool(TypedDict):
|
|
67
|
-
"""
|
|
91
|
+
"""
|
|
92
|
+
A dict containing ``line`` and ``has_nwl`` as keys.
|
|
93
|
+
|
|
94
|
+
This is a ``TypedDict``-like object.
|
|
95
|
+
|
|
96
|
+
Attributes
|
|
97
|
+
----------
|
|
98
|
+
line : str
|
|
99
|
+
The last line of the target file.
|
|
100
|
+
has_nwl : bool
|
|
101
|
+
Whether the file has a newline or not.
|
|
102
|
+
"""
|
|
68
103
|
line: str
|
|
69
104
|
has_nwl: bool
|
|
70
105
|
|
|
71
106
|
class BatchPathDict(TypedDict):
|
|
72
|
-
"""
|
|
107
|
+
"""
|
|
108
|
+
A dict containing ``file`` and ``ft_ext`` as keys.
|
|
109
|
+
|
|
110
|
+
This is a ``TypedDict``-like object.
|
|
111
|
+
|
|
112
|
+
Attributes
|
|
113
|
+
----------
|
|
114
|
+
file : TextIO
|
|
115
|
+
The opened file as a ``TextIO`` wrapper.
|
|
116
|
+
ft_ext : str
|
|
117
|
+
The file-type/file-extension.
|
|
118
|
+
"""
|
|
73
119
|
file: TextIO
|
|
74
|
-
|
|
120
|
+
ft_ext: str
|
|
75
121
|
|
|
76
122
|
class BatchPairDict(TypedDict):
|
|
77
|
-
"""
|
|
123
|
+
"""
|
|
124
|
+
A dict containing ``fpath`` and ``ft_ext`` as keys.
|
|
125
|
+
|
|
126
|
+
This is a ``TypedDict``-like object.
|
|
127
|
+
|
|
128
|
+
Attributes
|
|
129
|
+
----------
|
|
130
|
+
fpath : str
|
|
131
|
+
The target file's path.
|
|
132
|
+
ft_ext : str
|
|
133
|
+
The file-type/file-extension.
|
|
134
|
+
"""
|
|
78
135
|
fpath: str
|
|
79
|
-
|
|
136
|
+
ft_ext: str
|
|
80
137
|
|
|
81
138
|
class EOFCommentSearch(TypedDict):
|
|
82
|
-
"""
|
|
139
|
+
"""
|
|
140
|
+
A dict containing ``state``, ``lang`` and ``match`` as keys.
|
|
141
|
+
|
|
142
|
+
This is a ``TypedDict``-like object.
|
|
143
|
+
|
|
144
|
+
Attributes
|
|
145
|
+
----------
|
|
146
|
+
state : IOWrapperBool
|
|
147
|
+
The target ``IOWrapperBool`` object.
|
|
148
|
+
lang : str
|
|
149
|
+
The file language.
|
|
150
|
+
match : bool
|
|
151
|
+
Whether it has a variation of an EOF comment at the end.
|
|
152
|
+
"""
|
|
83
153
|
state: IOWrapperBool
|
|
84
154
|
lang: str
|
|
85
155
|
match: bool
|
vim_eof_comment/util.py
CHANGED
|
@@ -161,7 +161,7 @@ def gen_indent_maps(maps: List[IndentHandler]) -> Dict[str, IndentMap] | None:
|
|
|
161
161
|
if mapping_len <= 1:
|
|
162
162
|
raise ValueError(f"One of the custom mappings is not formatted properly! (`{mapping}`)")
|
|
163
163
|
|
|
164
|
-
ext, level = mapping["
|
|
164
|
+
ext, level = mapping["ft_ext"], mapping["level"]
|
|
165
165
|
if ext in map_d.keys():
|
|
166
166
|
continue
|
|
167
167
|
|
vim_eof_comment/version.py
CHANGED
|
@@ -5,7 +5,7 @@ Custom vim-eof-comment versioning objects.
|
|
|
5
5
|
|
|
6
6
|
Copyright (c) 2025 Guennadi Maximov C. All Rights Reserved.
|
|
7
7
|
"""
|
|
8
|
-
__all__ = ["VersionInfo", "list_versions", "version_info"]
|
|
8
|
+
__all__ = ["VersionInfo", "list_versions", "version_info", "__version__"]
|
|
9
9
|
|
|
10
10
|
from typing import List, NoReturn, Tuple
|
|
11
11
|
|
|
@@ -14,7 +14,7 @@ from .util import die
|
|
|
14
14
|
|
|
15
15
|
class VersionInfo():
|
|
16
16
|
"""
|
|
17
|
-
A sys
|
|
17
|
+
A ``sys.version_info``-like object type.
|
|
18
18
|
|
|
19
19
|
Parameters
|
|
20
20
|
----------
|
|
@@ -109,7 +109,7 @@ class VersionInfo():
|
|
|
109
109
|
Multiple definitions in constructor.
|
|
110
110
|
|
|
111
111
|
>>> from vim_eof_comment.version import VersionInfo
|
|
112
|
-
>>> print(VersionInfo([(0, 0, 1), (0, 0, 2)]))
|
|
112
|
+
>>> print(repr(VersionInfo([(0, 0, 1), (0, 0, 2)])))
|
|
113
113
|
0.0.2
|
|
114
114
|
"""
|
|
115
115
|
return self.__str__()
|
|
@@ -217,8 +217,12 @@ version_info: VersionInfo = VersionInfo([
|
|
|
217
217
|
(0, 3, 8),
|
|
218
218
|
(0, 3, 9),
|
|
219
219
|
(0, 3, 10),
|
|
220
|
+
(0, 3, 11),
|
|
221
|
+
(0, 3, 12),
|
|
220
222
|
])
|
|
221
223
|
|
|
224
|
+
__version__: str = str(version_info)
|
|
225
|
+
|
|
222
226
|
|
|
223
227
|
def list_versions() -> NoReturn:
|
|
224
228
|
"""List all versions."""
|
vim_eof_comment/version.pyi
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
from typing import NoReturn
|
|
2
2
|
|
|
3
|
-
__all__ = ['VersionInfo', 'list_versions', 'version_info']
|
|
3
|
+
__all__ = ['VersionInfo', 'list_versions', 'version_info', '__version__']
|
|
4
4
|
|
|
5
5
|
class VersionInfo:
|
|
6
6
|
"""
|
|
7
|
-
A sys
|
|
7
|
+
A ``sys.version_info``-like object type.
|
|
8
8
|
|
|
9
9
|
Parameters
|
|
10
10
|
----------
|
|
@@ -88,7 +88,7 @@ class VersionInfo:
|
|
|
88
88
|
Multiple definitions in constructor.
|
|
89
89
|
|
|
90
90
|
>>> from vim_eof_comment.version import VersionInfo
|
|
91
|
-
>>> print(VersionInfo([(0, 0, 1), (0, 0, 2)]))
|
|
91
|
+
>>> print(repr(VersionInfo([(0, 0, 1), (0, 0, 2)])))
|
|
92
92
|
0.0.2
|
|
93
93
|
"""
|
|
94
94
|
def __eq__(self, b) -> bool:
|
|
@@ -125,6 +125,7 @@ class VersionInfo:
|
|
|
125
125
|
"""
|
|
126
126
|
|
|
127
127
|
version_info: VersionInfo
|
|
128
|
+
__version__: str
|
|
128
129
|
|
|
129
130
|
def list_versions() -> NoReturn:
|
|
130
131
|
"""List all versions."""
|
|
@@ -1,17 +1,21 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: vim-eof-comment
|
|
3
|
-
Version: 0.3.
|
|
3
|
+
Version: 0.3.12
|
|
4
4
|
Summary: Adds Vim EOF comments for given filetypes in given directories
|
|
5
5
|
Author-email: Guennadi Maximov C <g.maxc.fox@protonmail.com>
|
|
6
6
|
Maintainer-email: Guennadi Maximov C <g.maxc.fox@protonmail.com>
|
|
7
7
|
License-Expression: GPL-2.0-only
|
|
8
8
|
Project-URL: Issues, https://github.com/DrKJeff16/vim-eof-comment/issues
|
|
9
9
|
Project-URL: Repository, https://github.com/DrKJeff16/vim-eof-comment
|
|
10
|
-
|
|
10
|
+
Project-URL: Download, https://github.com/DrKJeff16/vim-eof-comment/releases/latest
|
|
11
|
+
Keywords: eof comments,eof,files,preprocessing,text,vim modeline,vim,vim-eof
|
|
12
|
+
Classifier: Development Status :: 4 - Beta
|
|
11
13
|
Classifier: Environment :: Console
|
|
12
14
|
Classifier: Intended Audience :: Developers
|
|
13
15
|
Classifier: Intended Audience :: End Users/Desktop
|
|
14
16
|
Classifier: Operating System :: OS Independent
|
|
17
|
+
Classifier: Programming Language :: Python :: 3 :: Only
|
|
18
|
+
Classifier: Programming Language :: Python :: 3
|
|
15
19
|
Classifier: Programming Language :: Python :: 3.10
|
|
16
20
|
Classifier: Programming Language :: Python :: 3.11
|
|
17
21
|
Classifier: Programming Language :: Python :: 3.12
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
docs/Makefile,sha256=1rYkueTz6GC8AAF0rtOIJIv7sX-hMxVQBumHEqvbFEI,684
|
|
2
|
+
docs/make.bat,sha256=0qjrzODegavKd7LLwmr9ADhaYftiTnBgqOVAL9kApyo,769
|
|
3
|
+
docs/source/conf.py,sha256=nqU9B3qBpI-hZ8-L2oJuh2xY4Ob-GCD3nN00JiZbRHg,1729
|
|
4
|
+
docs/source/functions.rst,sha256=erouYhzblZATxkA5yB6aUvF8baSvBcPQ9HwySWATTdI,20
|
|
5
|
+
docs/source/index.rst,sha256=q7DKNrR1ztwLflzGbZDnIhFwkUTcjInqZV8uRqSq2N0,457
|
|
6
|
+
docs/source/installation.rst,sha256=PkiS3E_ujNTWeKXicZ7aBPch2l1R0TsRRL6pFj_oMJI,276
|
|
7
|
+
vim_eof_comment/__init__.py,sha256=ESbmhca9mTst3TYMer8zFw73IRsJvn5EESci_RpfLbQ,487
|
|
8
|
+
vim_eof_comment/__init__.pyi,sha256=Eh8FQwE_F9TrQEiT7CR1mdGHBT6fHUzfV6VP8uSN33g,478
|
|
9
|
+
vim_eof_comment/__main__.py,sha256=0AFVSkz8RuxSuPbJJWycyxs6u5Yypl8FKUMR3ZVLJbk,343
|
|
10
|
+
vim_eof_comment/eof.py,sha256=ZT87ltzdnQLMoKZ6sx1QwRdSMcfjkFVWFEe9gwPkmqY,5159
|
|
11
|
+
vim_eof_comment/eof.pyi,sha256=BTw9brhrHBTX12fYuwfO8_D-Gyrf0387ErmgrcTdvh0,1786
|
|
12
|
+
vim_eof_comment/file.py,sha256=o_bWoBRehRWwzCozO-9DDf7G5-dU92nm-5mX1CxvlW4,4182
|
|
13
|
+
vim_eof_comment/file.pyi,sha256=BWBtHbFkAdiNSRfe9SQBJvxtH3WHZfIgz03kFsIWX4w,1950
|
|
14
|
+
vim_eof_comment/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
15
|
+
vim_eof_comment/regex.py,sha256=rGfFIBMbfWlIxAScXqvgBlB-tMJBUxQwTVjEkoxDZ3o,1007
|
|
16
|
+
vim_eof_comment/regex.pyi,sha256=LJt6HN9s0Vo1B5plpaYURVZ3okmtl5jnV6kKdn1KyqA,433
|
|
17
|
+
vim_eof_comment/types.py,sha256=q8q5FcWLyisRQ-aWUmY9pCVO8YjvEYQ9yNaGNZRZsIY,3832
|
|
18
|
+
vim_eof_comment/types.pyi,sha256=2DWWKheDuztFlKZZkaYQYELaZVWoZzdi2UfQNsqBmqE,3562
|
|
19
|
+
vim_eof_comment/util.py,sha256=k2cCknGHnpitRRDMNkEYzuMbwMtZ1eqyr9okgZQDwyg,4461
|
|
20
|
+
vim_eof_comment/util.pyi,sha256=2o50NhjhYm0gLHkCcUXNvFNjWc6kP5Xuo0r_sngRg1U,2963
|
|
21
|
+
vim_eof_comment/version.py,sha256=igN9itTpm1CIOrWUoIRc9YcyZdh6Vfq76Ly-oi08nI8,5457
|
|
22
|
+
vim_eof_comment/version.pyi,sha256=tFXP9Be8ChJLKy6MEiiTR9l-0bn5uJMYIOSrvn2LlMQ,3460
|
|
23
|
+
vim_eof_comment/args/__init__.py,sha256=Hyqun15456NVFLAJ3cpdtuNEz5XaFH93vfVlbC-aeuc,318
|
|
24
|
+
vim_eof_comment/args/__init__.pyi,sha256=cXK7nEpYBveD4kxtVTe2x8oUxT9mhENS5r3wK3AAX2U,151
|
|
25
|
+
vim_eof_comment/args/completion.py,sha256=wnN9r5Y-t7r3As558_bAq2XzLqg-HTzR8_ufXU-9bpU,779
|
|
26
|
+
vim_eof_comment/args/completion.pyi,sha256=kB4X_7NaSIuPqL8zbcBszewyLh-evB-9TYfYLOjCU4A,408
|
|
27
|
+
vim_eof_comment/args/parsing.py,sha256=AOHLN-K0vzbXBwsOjUv4ZcXMDbF_BDEONonZJFwwazo,6617
|
|
28
|
+
vim_eof_comment/args/parsing.pyi,sha256=czQNpDTfgUCv1P_bxHykUD9WDn5A8tnz396TT7oEdkY,1745
|
|
29
|
+
vim_eof_comment/comments/__init__.py,sha256=KIFAbugEKa8arCASaf7pKNHdzUC99N_T18D1CfaCOQs,292
|
|
30
|
+
vim_eof_comment/comments/__init__.pyi,sha256=cecbbrShh0If8btwJ8zKYpBt9dIsMwrDXbdaBQqwUus,104
|
|
31
|
+
vim_eof_comment/comments/filetypes.json,sha256=cjKvqTx2TflOUWrYqD7vvPDJ7KpPaVr-HrNO3OHrBfA,4736
|
|
32
|
+
vim_eof_comment/comments/generator.py,sha256=lJ8Ux922JebBk-6BjC8ZlkmpXuN-ZeGP6g25EEusvIk,6407
|
|
33
|
+
vim_eof_comment/comments/generator.pyi,sha256=Nj33jwria5FWUuydUD_uZSH__PxSZ3yPxOPYF1_TIpM,3272
|
|
34
|
+
vim_eof_comment-0.3.12.dist-info/licenses/LICENSE,sha256=gXf5dRMhNSbfLPYYTY_5hsZ1r7UU1OaKQEAQUhuIBkM,18092
|
|
35
|
+
vim_eof_comment-0.3.12.dist-info/METADATA,sha256=ReV25DOt8j3I1MYb1qSF-OF75gVrMkA_CigOYD7azZU,2804
|
|
36
|
+
vim_eof_comment-0.3.12.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
37
|
+
vim_eof_comment-0.3.12.dist-info/entry_points.txt,sha256=vm47g4hoUbow4elcHr9yylYfj6IvAs10wSFKqwqTu6E,61
|
|
38
|
+
vim_eof_comment-0.3.12.dist-info/top_level.txt,sha256=TkaQ5vuhVzXaJnfUdcLJCQ81ILK2V6OtvX5-hIMZAc0,21
|
|
39
|
+
vim_eof_comment-0.3.12.dist-info/RECORD,,
|
|
@@ -1,76 +0,0 @@
|
|
|
1
|
-
# -*- coding: utf-8 -*-
|
|
2
|
-
# Copyright (c) 2025 Guennadi Maximov C. All Rights Reserved.
|
|
3
|
-
"""
|
|
4
|
-
Per-filetype modeline comment class.
|
|
5
|
-
|
|
6
|
-
Copyright (c) 2025 Guennadi Maximov C. All Rights Reserved.
|
|
7
|
-
"""
|
|
8
|
-
__all__ = ["GeneratedEOFComments", "IndentMapDict"]
|
|
9
|
-
|
|
10
|
-
from typing import TypedDict
|
|
11
|
-
|
|
12
|
-
from ..types import IndentMap
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
class GeneratedEOFComments(TypedDict):
|
|
16
|
-
"""A ``TypedDict`` object containing all the file-extension to comment elements."""
|
|
17
|
-
|
|
18
|
-
C: str
|
|
19
|
-
H: str
|
|
20
|
-
Makefile: str
|
|
21
|
-
bash: str
|
|
22
|
-
c: str
|
|
23
|
-
cc: str
|
|
24
|
-
cpp: str
|
|
25
|
-
css: str
|
|
26
|
-
fish: str
|
|
27
|
-
h: str
|
|
28
|
-
hh: str
|
|
29
|
-
hpp: str
|
|
30
|
-
htm: str
|
|
31
|
-
html: str
|
|
32
|
-
latex: str
|
|
33
|
-
lua: str
|
|
34
|
-
markdown: str
|
|
35
|
-
md: str
|
|
36
|
-
mk: str
|
|
37
|
-
py: str
|
|
38
|
-
pyi: str
|
|
39
|
-
rb: str
|
|
40
|
-
sh: str
|
|
41
|
-
tex: str
|
|
42
|
-
xml: str
|
|
43
|
-
zsh: str
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
class IndentMapDict(TypedDict):
|
|
47
|
-
"""A ``TypedDict`` object with ``IndentMap`` values."""
|
|
48
|
-
|
|
49
|
-
C: IndentMap
|
|
50
|
-
H: IndentMap
|
|
51
|
-
Makefile: IndentMap
|
|
52
|
-
bash: IndentMap
|
|
53
|
-
c: IndentMap
|
|
54
|
-
cc: IndentMap
|
|
55
|
-
cpp: IndentMap
|
|
56
|
-
css: IndentMap
|
|
57
|
-
fish: IndentMap
|
|
58
|
-
h: IndentMap
|
|
59
|
-
hh: IndentMap
|
|
60
|
-
hpp: IndentMap
|
|
61
|
-
htm: IndentMap
|
|
62
|
-
html: IndentMap
|
|
63
|
-
latex: IndentMap
|
|
64
|
-
lua: IndentMap
|
|
65
|
-
markdown: IndentMap
|
|
66
|
-
md: IndentMap
|
|
67
|
-
mk: IndentMap
|
|
68
|
-
py: IndentMap
|
|
69
|
-
pyi: IndentMap
|
|
70
|
-
rb: IndentMap
|
|
71
|
-
sh: IndentMap
|
|
72
|
-
tex: IndentMap
|
|
73
|
-
xml: IndentMap
|
|
74
|
-
zsh: IndentMap
|
|
75
|
-
|
|
76
|
-
# vim: set ts=4 sts=4 sw=4 et ai si sta:
|
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
from typing import TypedDict
|
|
2
|
-
|
|
3
|
-
from ..types import IndentMap
|
|
4
|
-
|
|
5
|
-
__all__ = ['GeneratedEOFComments', 'IndentMapDict']
|
|
6
|
-
|
|
7
|
-
class GeneratedEOFComments(TypedDict):
|
|
8
|
-
"""A ``TypedDict`` object containing all the file-extension to comment elements."""
|
|
9
|
-
C: str
|
|
10
|
-
H: str
|
|
11
|
-
Makefile: str
|
|
12
|
-
bash: str
|
|
13
|
-
c: str
|
|
14
|
-
cc: str
|
|
15
|
-
cpp: str
|
|
16
|
-
css: str
|
|
17
|
-
fish: str
|
|
18
|
-
h: str
|
|
19
|
-
hh: str
|
|
20
|
-
hpp: str
|
|
21
|
-
htm: str
|
|
22
|
-
html: str
|
|
23
|
-
latex: str
|
|
24
|
-
lua: str
|
|
25
|
-
markdown: str
|
|
26
|
-
md: str
|
|
27
|
-
mk: str
|
|
28
|
-
py: str
|
|
29
|
-
pyi: str
|
|
30
|
-
rb: str
|
|
31
|
-
sh: str
|
|
32
|
-
tex: str
|
|
33
|
-
xml: str
|
|
34
|
-
zsh: str
|
|
35
|
-
|
|
36
|
-
class IndentMapDict(TypedDict):
|
|
37
|
-
"""A ``TypedDict`` object with ``IndentMap`` values."""
|
|
38
|
-
C: IndentMap
|
|
39
|
-
H: IndentMap
|
|
40
|
-
Makefile: IndentMap
|
|
41
|
-
bash: IndentMap
|
|
42
|
-
c: IndentMap
|
|
43
|
-
cc: IndentMap
|
|
44
|
-
cpp: IndentMap
|
|
45
|
-
css: IndentMap
|
|
46
|
-
fish: IndentMap
|
|
47
|
-
h: IndentMap
|
|
48
|
-
hh: IndentMap
|
|
49
|
-
hpp: IndentMap
|
|
50
|
-
htm: IndentMap
|
|
51
|
-
html: IndentMap
|
|
52
|
-
latex: IndentMap
|
|
53
|
-
lua: IndentMap
|
|
54
|
-
markdown: IndentMap
|
|
55
|
-
md: IndentMap
|
|
56
|
-
mk: IndentMap
|
|
57
|
-
py: IndentMap
|
|
58
|
-
pyi: IndentMap
|
|
59
|
-
rb: IndentMap
|
|
60
|
-
sh: IndentMap
|
|
61
|
-
tex: IndentMap
|
|
62
|
-
xml: IndentMap
|
|
63
|
-
zsh: IndentMap
|
|
64
|
-
|
|
65
|
-
# vim: set ts=4 sts=4 sw=4 et ai si sta:
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
vim_eof_comment/__init__.py,sha256=1-SmBIk-4U8WUjqO-2jJPfAbn-z52eN2sEQ3Zc0EUyo,523
|
|
2
|
-
vim_eof_comment/__init__.pyi,sha256=TX5r87Ycvr6Y1Zrbad4WJlSIZ4j4zyQAnSSfecEGLXk,443
|
|
3
|
-
vim_eof_comment/__main__.py,sha256=0AFVSkz8RuxSuPbJJWycyxs6u5Yypl8FKUMR3ZVLJbk,343
|
|
4
|
-
vim_eof_comment/eof.py,sha256=E5JN1-pDMtDpifp2tmJlFQtXPX2IkUgjB_Z-M1ImjXI,5175
|
|
5
|
-
vim_eof_comment/eof.pyi,sha256=KfSml7cAgJZ_cI66e9oa9jNffDXley9RVvY4vFF7Jos,1776
|
|
6
|
-
vim_eof_comment/file.py,sha256=1qKI3pDXEN2ZyhToOzuqYxjMMhOGZ_GsRTnHAbxy_Ys,4167
|
|
7
|
-
vim_eof_comment/file.pyi,sha256=H6S6Rtrd9UI_ZamEOWC3v3kHUsgI42Y1XimV4sWOlxQ,1944
|
|
8
|
-
vim_eof_comment/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
9
|
-
vim_eof_comment/regex.py,sha256=LxL4gu1iwnsTEOTqE0XYrJPhbg2ooodUidrLKqg4lFs,974
|
|
10
|
-
vim_eof_comment/regex.pyi,sha256=p0eI_9fi2QOGdNnViOpYYdvN5hKPVDnVOYM0cU-W4hM,400
|
|
11
|
-
vim_eof_comment/types.py,sha256=9OxxcLivpOdJ3Fxx408xs7CofPQDsuoyojzrbnJR7dE,2368
|
|
12
|
-
vim_eof_comment/types.pyi,sha256=lGRzHLMEoE94oSPf9UeRr-2wgoDvxQEe_4WmVW1OYSw,2098
|
|
13
|
-
vim_eof_comment/util.py,sha256=Sr8UXekdgO-HYov1xZZ0ZVBIVdWfj-1gylOu1iOxk2M,4458
|
|
14
|
-
vim_eof_comment/util.pyi,sha256=2o50NhjhYm0gLHkCcUXNvFNjWc6kP5Xuo0r_sngRg1U,2963
|
|
15
|
-
vim_eof_comment/version.py,sha256=L1uqZMUf_p4PveyfU4QZR8ejFJQ-WblX_4XEiAD2crM,5366
|
|
16
|
-
vim_eof_comment/version.pyi,sha256=SsD8IGkJwJNJsH53ofCieop9VfLlWu_4MnN5PKJ6uOo,3422
|
|
17
|
-
vim_eof_comment/args/__init__.py,sha256=Hyqun15456NVFLAJ3cpdtuNEz5XaFH93vfVlbC-aeuc,318
|
|
18
|
-
vim_eof_comment/args/__init__.pyi,sha256=cXK7nEpYBveD4kxtVTe2x8oUxT9mhENS5r3wK3AAX2U,151
|
|
19
|
-
vim_eof_comment/args/completion.py,sha256=wnN9r5Y-t7r3As558_bAq2XzLqg-HTzR8_ufXU-9bpU,779
|
|
20
|
-
vim_eof_comment/args/completion.pyi,sha256=kB4X_7NaSIuPqL8zbcBszewyLh-evB-9TYfYLOjCU4A,408
|
|
21
|
-
vim_eof_comment/args/parsing.py,sha256=LKfkCqhLXa-Wfvl_dK39doKaKq304xCDlT_xGOWcmqs,6614
|
|
22
|
-
vim_eof_comment/args/parsing.pyi,sha256=czQNpDTfgUCv1P_bxHykUD9WDn5A8tnz396TT7oEdkY,1745
|
|
23
|
-
vim_eof_comment/comments/__init__.py,sha256=zx6kpxjdhDjD2JVCwyGc1RNszXV7i4evVXxZ3fotty4,308
|
|
24
|
-
vim_eof_comment/comments/__init__.pyi,sha256=qpv02QY89Ow8sa8ekyjeWmT3fqqNhfPz7ITTUla-qws,142
|
|
25
|
-
vim_eof_comment/comments/filetypes.json,sha256=Dr8nMCTVb1n8cF5Oy6DggOe-_y5YuuKAOhjZE4Vd9_4,2757
|
|
26
|
-
vim_eof_comment/comments/generator.py,sha256=KCic09QBtmlRRFJ2aimwVNvP-1TUPhDQdeK3zlckNWg,6423
|
|
27
|
-
vim_eof_comment/comments/generator.pyi,sha256=HDWFJI9OwSwWI8BN28nnhFsR3NwL2Z_e0BEiMs07aa4,3257
|
|
28
|
-
vim_eof_comment/comments/types.py,sha256=WcBMIPha_ShrTYu-StRwHWmPTHHI5ahFu46psKR-ZtY,1404
|
|
29
|
-
vim_eof_comment/comments/types.pyi,sha256=kVEwSdMHBkmQU16VGRzDkm0smxBsaIE9YbG3SSJLA7E,1208
|
|
30
|
-
vim_eof_comment-0.3.10.dist-info/licenses/LICENSE,sha256=gXf5dRMhNSbfLPYYTY_5hsZ1r7UU1OaKQEAQUhuIBkM,18092
|
|
31
|
-
vim_eof_comment-0.3.10.dist-info/METADATA,sha256=93LAjTg6QgsBhHUvc-Jm2nGOfHDEIM-ytAUKOcfyA4E,2540
|
|
32
|
-
vim_eof_comment-0.3.10.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
33
|
-
vim_eof_comment-0.3.10.dist-info/entry_points.txt,sha256=vm47g4hoUbow4elcHr9yylYfj6IvAs10wSFKqwqTu6E,61
|
|
34
|
-
vim_eof_comment-0.3.10.dist-info/top_level.txt,sha256=z493WRKeXW62WRGfjcNrcn73np4tFyZUWD1zXjMftbM,16
|
|
35
|
-
vim_eof_comment-0.3.10.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|