vim-eof-comment 0.3.21__tar.gz → 0.4.1__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.
Files changed (59) hide show
  1. vim_eof_comment-0.4.1/CHANGELOG.md +255 -0
  2. {vim_eof_comment-0.3.21 → vim_eof_comment-0.4.1}/Makefile +1 -1
  3. {vim_eof_comment-0.3.21 → vim_eof_comment-0.4.1}/PKG-INFO +1 -1
  4. {vim_eof_comment-0.3.21 → vim_eof_comment-0.4.1}/pyproject.toml +1 -1
  5. vim_eof_comment-0.4.1/version.txt +1 -0
  6. {vim_eof_comment-0.3.21 → vim_eof_comment-0.4.1}/vim_eof_comment/eof.py +1 -1
  7. {vim_eof_comment-0.3.21 → vim_eof_comment-0.4.1}/vim_eof_comment/file.py +19 -45
  8. {vim_eof_comment-0.3.21 → vim_eof_comment-0.4.1}/vim_eof_comment/file.pyi +15 -1
  9. {vim_eof_comment-0.3.21 → vim_eof_comment-0.4.1}/vim_eof_comment/version.py +2 -0
  10. {vim_eof_comment-0.3.21 → vim_eof_comment-0.4.1}/vim_eof_comment.egg-info/PKG-INFO +1 -1
  11. {vim_eof_comment-0.3.21 → vim_eof_comment-0.4.1}/vim_eof_comment.egg-info/SOURCES.txt +1 -0
  12. vim_eof_comment-0.3.21/version.txt +0 -1
  13. {vim_eof_comment-0.3.21 → vim_eof_comment-0.4.1}/.flake8 +0 -0
  14. {vim_eof_comment-0.3.21 → vim_eof_comment-0.4.1}/.gitattributes +0 -0
  15. {vim_eof_comment-0.3.21 → vim_eof_comment-0.4.1}/.github/CODEOWNERS +0 -0
  16. {vim_eof_comment-0.3.21 → vim_eof_comment-0.4.1}/.github/workflows/flake8-lint.yml +0 -0
  17. {vim_eof_comment-0.3.21 → vim_eof_comment-0.4.1}/.github/workflows/mypy-lint.yml +0 -0
  18. {vim_eof_comment-0.3.21 → vim_eof_comment-0.4.1}/.github/workflows/release.yml +0 -0
  19. {vim_eof_comment-0.3.21 → vim_eof_comment-0.4.1}/.github/workflows/vim-eof-comment.yml +0 -0
  20. {vim_eof_comment-0.3.21 → vim_eof_comment-0.4.1}/.pre-commit-config.yaml +0 -0
  21. {vim_eof_comment-0.3.21 → vim_eof_comment-0.4.1}/LICENSE +0 -0
  22. {vim_eof_comment-0.3.21 → vim_eof_comment-0.4.1}/Pipfile +0 -0
  23. {vim_eof_comment-0.3.21 → vim_eof_comment-0.4.1}/README.md +0 -0
  24. {vim_eof_comment-0.3.21 → vim_eof_comment-0.4.1}/docs/Makefile +0 -0
  25. {vim_eof_comment-0.3.21 → vim_eof_comment-0.4.1}/docs/make.bat +0 -0
  26. {vim_eof_comment-0.3.21 → vim_eof_comment-0.4.1}/docs/source/conf.py +0 -0
  27. {vim_eof_comment-0.3.21 → vim_eof_comment-0.4.1}/docs/source/functions.rst +0 -0
  28. {vim_eof_comment-0.3.21 → vim_eof_comment-0.4.1}/docs/source/index.rst +0 -0
  29. {vim_eof_comment-0.3.21 → vim_eof_comment-0.4.1}/docs/source/installation.rst +0 -0
  30. {vim_eof_comment-0.3.21 → vim_eof_comment-0.4.1}/requirements.txt +0 -0
  31. {vim_eof_comment-0.3.21 → vim_eof_comment-0.4.1}/setup.cfg +0 -0
  32. {vim_eof_comment-0.3.21 → vim_eof_comment-0.4.1}/taplo.toml +0 -0
  33. {vim_eof_comment-0.3.21 → vim_eof_comment-0.4.1}/vim_eof_comment/__init__.py +0 -0
  34. {vim_eof_comment-0.3.21 → vim_eof_comment-0.4.1}/vim_eof_comment/__init__.pyi +0 -0
  35. {vim_eof_comment-0.3.21 → vim_eof_comment-0.4.1}/vim_eof_comment/__main__.py +0 -0
  36. {vim_eof_comment-0.3.21 → vim_eof_comment-0.4.1}/vim_eof_comment/args/__init__.py +0 -0
  37. {vim_eof_comment-0.3.21 → vim_eof_comment-0.4.1}/vim_eof_comment/args/__init__.pyi +0 -0
  38. {vim_eof_comment-0.3.21 → vim_eof_comment-0.4.1}/vim_eof_comment/args/completion.py +0 -0
  39. {vim_eof_comment-0.3.21 → vim_eof_comment-0.4.1}/vim_eof_comment/args/completion.pyi +0 -0
  40. {vim_eof_comment-0.3.21 → vim_eof_comment-0.4.1}/vim_eof_comment/args/parsing.py +0 -0
  41. {vim_eof_comment-0.3.21 → vim_eof_comment-0.4.1}/vim_eof_comment/args/parsing.pyi +0 -0
  42. {vim_eof_comment-0.3.21 → vim_eof_comment-0.4.1}/vim_eof_comment/comments/__init__.py +0 -0
  43. {vim_eof_comment-0.3.21 → vim_eof_comment-0.4.1}/vim_eof_comment/comments/__init__.pyi +0 -0
  44. {vim_eof_comment-0.3.21 → vim_eof_comment-0.4.1}/vim_eof_comment/comments/filetypes.json +0 -0
  45. {vim_eof_comment-0.3.21 → vim_eof_comment-0.4.1}/vim_eof_comment/comments/generator.py +0 -0
  46. {vim_eof_comment-0.3.21 → vim_eof_comment-0.4.1}/vim_eof_comment/comments/generator.pyi +0 -0
  47. {vim_eof_comment-0.3.21 → vim_eof_comment-0.4.1}/vim_eof_comment/eof.pyi +0 -0
  48. {vim_eof_comment-0.3.21 → vim_eof_comment-0.4.1}/vim_eof_comment/py.typed +0 -0
  49. {vim_eof_comment-0.3.21 → vim_eof_comment-0.4.1}/vim_eof_comment/regex.py +0 -0
  50. {vim_eof_comment-0.3.21 → vim_eof_comment-0.4.1}/vim_eof_comment/regex.pyi +0 -0
  51. {vim_eof_comment-0.3.21 → vim_eof_comment-0.4.1}/vim_eof_comment/types.py +0 -0
  52. {vim_eof_comment-0.3.21 → vim_eof_comment-0.4.1}/vim_eof_comment/types.pyi +0 -0
  53. {vim_eof_comment-0.3.21 → vim_eof_comment-0.4.1}/vim_eof_comment/util.py +0 -0
  54. {vim_eof_comment-0.3.21 → vim_eof_comment-0.4.1}/vim_eof_comment/util.pyi +0 -0
  55. {vim_eof_comment-0.3.21 → vim_eof_comment-0.4.1}/vim_eof_comment/version.pyi +0 -0
  56. {vim_eof_comment-0.3.21 → vim_eof_comment-0.4.1}/vim_eof_comment.egg-info/dependency_links.txt +0 -0
  57. {vim_eof_comment-0.3.21 → vim_eof_comment-0.4.1}/vim_eof_comment.egg-info/entry_points.txt +0 -0
  58. {vim_eof_comment-0.3.21 → vim_eof_comment-0.4.1}/vim_eof_comment.egg-info/requires.txt +0 -0
  59. {vim_eof_comment-0.3.21 → vim_eof_comment-0.4.1}/vim_eof_comment.egg-info/top_level.txt +0 -0
@@ -0,0 +1,255 @@
1
+ # Changelog
2
+
3
+ ## [0.4.0](https://github.com/DrKJeff16/vim-eof-comment/tree/0.4.0) (2026-01-04)
4
+
5
+ [Full Changelog](https://github.com/DrKJeff16/vim-eof-comment/compare/0.3.21...0.4.0)
6
+
7
+ ## [0.3.21](https://github.com/DrKJeff16/vim-eof-comment/tree/0.3.21) (2026-01-03)
8
+
9
+ [Full Changelog](https://github.com/DrKJeff16/vim-eof-comment/compare/0.3.20...0.3.21)
10
+
11
+ ## [0.3.20](https://github.com/DrKJeff16/vim-eof-comment/tree/0.3.20) (2026-01-03)
12
+
13
+ [Full Changelog](https://github.com/DrKJeff16/vim-eof-comment/compare/0.3.19...0.3.20)
14
+
15
+ ## [0.3.19](https://github.com/DrKJeff16/vim-eof-comment/tree/0.3.19) (2026-01-03)
16
+
17
+ [Full Changelog](https://github.com/DrKJeff16/vim-eof-comment/compare/0.3.18...0.3.19)
18
+
19
+ ## [0.3.18](https://github.com/DrKJeff16/vim-eof-comment/tree/0.3.18) (2025-12-31)
20
+
21
+ [Full Changelog](https://github.com/DrKJeff16/vim-eof-comment/compare/0.3.17...0.3.18)
22
+
23
+ ## [0.3.17](https://github.com/DrKJeff16/vim-eof-comment/tree/0.3.17) (2025-12-31)
24
+
25
+ [Full Changelog](https://github.com/DrKJeff16/vim-eof-comment/compare/0.3.16...0.3.17)
26
+
27
+ ## [0.3.16](https://github.com/DrKJeff16/vim-eof-comment/tree/0.3.16) (2025-12-31)
28
+
29
+ [Full Changelog](https://github.com/DrKJeff16/vim-eof-comment/compare/0.3.15...0.3.16)
30
+
31
+ ## [0.3.15](https://github.com/DrKJeff16/vim-eof-comment/tree/0.3.15) (2025-12-31)
32
+
33
+ [Full Changelog](https://github.com/DrKJeff16/vim-eof-comment/compare/0.3.14...0.3.15)
34
+
35
+ ## [0.3.14](https://github.com/DrKJeff16/vim-eof-comment/tree/0.3.14) (2025-12-30)
36
+
37
+ [Full Changelog](https://github.com/DrKJeff16/vim-eof-comment/compare/0.3.13...0.3.14)
38
+
39
+ ## [0.3.13](https://github.com/DrKJeff16/vim-eof-comment/tree/0.3.13) (2025-12-29)
40
+
41
+ [Full Changelog](https://github.com/DrKJeff16/vim-eof-comment/compare/0.3.12...0.3.13)
42
+
43
+ ## [0.3.12](https://github.com/DrKJeff16/vim-eof-comment/tree/0.3.12) (2025-12-29)
44
+
45
+ [Full Changelog](https://github.com/DrKJeff16/vim-eof-comment/compare/0.3.11...0.3.12)
46
+
47
+ ## [0.3.11](https://github.com/DrKJeff16/vim-eof-comment/tree/0.3.11) (2025-12-28)
48
+
49
+ [Full Changelog](https://github.com/DrKJeff16/vim-eof-comment/compare/0.3.10...0.3.11)
50
+
51
+ ## [0.3.10](https://github.com/DrKJeff16/vim-eof-comment/tree/0.3.10) (2025-12-25)
52
+
53
+ [Full Changelog](https://github.com/DrKJeff16/vim-eof-comment/compare/0.3.9...0.3.10)
54
+
55
+ ## [0.3.9](https://github.com/DrKJeff16/vim-eof-comment/tree/0.3.9) (2025-12-25)
56
+
57
+ [Full Changelog](https://github.com/DrKJeff16/vim-eof-comment/compare/0.3.8...0.3.9)
58
+
59
+ ## [0.3.8](https://github.com/DrKJeff16/vim-eof-comment/tree/0.3.8) (2025-12-24)
60
+
61
+ [Full Changelog](https://github.com/DrKJeff16/vim-eof-comment/compare/0.3.7...0.3.8)
62
+
63
+ ## [0.3.7](https://github.com/DrKJeff16/vim-eof-comment/tree/0.3.7) (2025-12-24)
64
+
65
+ [Full Changelog](https://github.com/DrKJeff16/vim-eof-comment/compare/0.3.6...0.3.7)
66
+
67
+ ## [0.3.6](https://github.com/DrKJeff16/vim-eof-comment/tree/0.3.6) (2025-12-23)
68
+
69
+ [Full Changelog](https://github.com/DrKJeff16/vim-eof-comment/compare/0.3.5...0.3.6)
70
+
71
+ ## [0.3.5](https://github.com/DrKJeff16/vim-eof-comment/tree/0.3.5) (2025-12-22)
72
+
73
+ [Full Changelog](https://github.com/DrKJeff16/vim-eof-comment/compare/0.3.4...0.3.5)
74
+
75
+ ## [0.3.4](https://github.com/DrKJeff16/vim-eof-comment/tree/0.3.4) (2025-12-22)
76
+
77
+ [Full Changelog](https://github.com/DrKJeff16/vim-eof-comment/compare/0.3.3...0.3.4)
78
+
79
+ ## [0.3.3](https://github.com/DrKJeff16/vim-eof-comment/tree/0.3.3) (2025-12-22)
80
+
81
+ [Full Changelog](https://github.com/DrKJeff16/vim-eof-comment/compare/0.3.2...0.3.3)
82
+
83
+ ## [0.3.2](https://github.com/DrKJeff16/vim-eof-comment/tree/0.3.2) (2025-12-20)
84
+
85
+ [Full Changelog](https://github.com/DrKJeff16/vim-eof-comment/compare/0.3.1...0.3.2)
86
+
87
+ ## [0.3.1](https://github.com/DrKJeff16/vim-eof-comment/tree/0.3.1) (2025-12-20)
88
+
89
+ [Full Changelog](https://github.com/DrKJeff16/vim-eof-comment/compare/0.3.0...0.3.1)
90
+
91
+ ## [0.3.0](https://github.com/DrKJeff16/vim-eof-comment/tree/0.3.0) (2025-12-19)
92
+
93
+ [Full Changelog](https://github.com/DrKJeff16/vim-eof-comment/compare/0.2.3...0.3.0)
94
+
95
+ ## [0.2.3](https://github.com/DrKJeff16/vim-eof-comment/tree/0.2.3) (2025-12-19)
96
+
97
+ [Full Changelog](https://github.com/DrKJeff16/vim-eof-comment/compare/0.2.2...0.2.3)
98
+
99
+ ## [0.2.2](https://github.com/DrKJeff16/vim-eof-comment/tree/0.2.2) (2025-12-18)
100
+
101
+ [Full Changelog](https://github.com/DrKJeff16/vim-eof-comment/compare/0.2.1...0.2.2)
102
+
103
+ ## [0.2.1](https://github.com/DrKJeff16/vim-eof-comment/tree/0.2.1) (2025-12-18)
104
+
105
+ [Full Changelog](https://github.com/DrKJeff16/vim-eof-comment/compare/0.2.0...0.2.1)
106
+
107
+ ## [0.2.0](https://github.com/DrKJeff16/vim-eof-comment/tree/0.2.0) (2025-12-18)
108
+
109
+ [Full Changelog](https://github.com/DrKJeff16/vim-eof-comment/compare/0.1.38...0.2.0)
110
+
111
+ ## [0.1.38](https://github.com/DrKJeff16/vim-eof-comment/tree/0.1.38) (2025-12-17)
112
+
113
+ [Full Changelog](https://github.com/DrKJeff16/vim-eof-comment/compare/0.1.37...0.1.38)
114
+
115
+ ## [0.1.37](https://github.com/DrKJeff16/vim-eof-comment/tree/0.1.37) (2025-12-16)
116
+
117
+ [Full Changelog](https://github.com/DrKJeff16/vim-eof-comment/compare/0.1.36...0.1.37)
118
+
119
+ ## [0.1.36](https://github.com/DrKJeff16/vim-eof-comment/tree/0.1.36) (2025-12-16)
120
+
121
+ [Full Changelog](https://github.com/DrKJeff16/vim-eof-comment/compare/0.1.35...0.1.36)
122
+
123
+ ## [0.1.35](https://github.com/DrKJeff16/vim-eof-comment/tree/0.1.35) (2025-12-16)
124
+
125
+ [Full Changelog](https://github.com/DrKJeff16/vim-eof-comment/compare/0.1.34...0.1.35)
126
+
127
+ ## [0.1.34](https://github.com/DrKJeff16/vim-eof-comment/tree/0.1.34) (2025-12-16)
128
+
129
+ [Full Changelog](https://github.com/DrKJeff16/vim-eof-comment/compare/0.1.33...0.1.34)
130
+
131
+ ## [0.1.33](https://github.com/DrKJeff16/vim-eof-comment/tree/0.1.33) (2025-12-15)
132
+
133
+ [Full Changelog](https://github.com/DrKJeff16/vim-eof-comment/compare/0.1.32...0.1.33)
134
+
135
+ ## [0.1.32](https://github.com/DrKJeff16/vim-eof-comment/tree/0.1.32) (2025-12-15)
136
+
137
+ [Full Changelog](https://github.com/DrKJeff16/vim-eof-comment/compare/0.1.31...0.1.32)
138
+
139
+ ## [0.1.31](https://github.com/DrKJeff16/vim-eof-comment/tree/0.1.31) (2025-12-15)
140
+
141
+ [Full Changelog](https://github.com/DrKJeff16/vim-eof-comment/compare/0.1.30...0.1.31)
142
+
143
+ ## [0.1.30](https://github.com/DrKJeff16/vim-eof-comment/tree/0.1.30) (2025-12-15)
144
+
145
+ [Full Changelog](https://github.com/DrKJeff16/vim-eof-comment/compare/0.1.29...0.1.30)
146
+
147
+ ## [0.1.29](https://github.com/DrKJeff16/vim-eof-comment/tree/0.1.29) (2025-12-15)
148
+
149
+ [Full Changelog](https://github.com/DrKJeff16/vim-eof-comment/compare/0.1.28...0.1.29)
150
+
151
+ ## [0.1.28](https://github.com/DrKJeff16/vim-eof-comment/tree/0.1.28) (2025-12-15)
152
+
153
+ [Full Changelog](https://github.com/DrKJeff16/vim-eof-comment/compare/0.1.27...0.1.28)
154
+
155
+ ## [0.1.27](https://github.com/DrKJeff16/vim-eof-comment/tree/0.1.27) (2025-12-15)
156
+
157
+ [Full Changelog](https://github.com/DrKJeff16/vim-eof-comment/compare/0.1.26...0.1.27)
158
+
159
+ ## [0.1.26](https://github.com/DrKJeff16/vim-eof-comment/tree/0.1.26) (2025-12-15)
160
+
161
+ [Full Changelog](https://github.com/DrKJeff16/vim-eof-comment/compare/0.1.25...0.1.26)
162
+
163
+ ## [0.1.25](https://github.com/DrKJeff16/vim-eof-comment/tree/0.1.25) (2025-12-14)
164
+
165
+ [Full Changelog](https://github.com/DrKJeff16/vim-eof-comment/compare/0.1.24...0.1.25)
166
+
167
+ ## [0.1.24](https://github.com/DrKJeff16/vim-eof-comment/tree/0.1.24) (2025-12-14)
168
+
169
+ [Full Changelog](https://github.com/DrKJeff16/vim-eof-comment/compare/0.1.23...0.1.24)
170
+
171
+ ## [0.1.23](https://github.com/DrKJeff16/vim-eof-comment/tree/0.1.23) (2025-12-14)
172
+
173
+ [Full Changelog](https://github.com/DrKJeff16/vim-eof-comment/compare/0.1.22...0.1.23)
174
+
175
+ ## [0.1.22](https://github.com/DrKJeff16/vim-eof-comment/tree/0.1.22) (2025-12-14)
176
+
177
+ [Full Changelog](https://github.com/DrKJeff16/vim-eof-comment/compare/0.1.21...0.1.22)
178
+
179
+ ## [0.1.21](https://github.com/DrKJeff16/vim-eof-comment/tree/0.1.21) (2025-12-14)
180
+
181
+ [Full Changelog](https://github.com/DrKJeff16/vim-eof-comment/compare/0.1.20...0.1.21)
182
+
183
+ ## [0.1.20](https://github.com/DrKJeff16/vim-eof-comment/tree/0.1.20) (2025-12-13)
184
+
185
+ [Full Changelog](https://github.com/DrKJeff16/vim-eof-comment/compare/0.1.19...0.1.20)
186
+
187
+ ## [0.1.19](https://github.com/DrKJeff16/vim-eof-comment/tree/0.1.19) (2025-12-13)
188
+
189
+ [Full Changelog](https://github.com/DrKJeff16/vim-eof-comment/compare/0.1.18...0.1.19)
190
+
191
+ ## [0.1.18](https://github.com/DrKJeff16/vim-eof-comment/tree/0.1.18) (2025-12-13)
192
+
193
+ [Full Changelog](https://github.com/DrKJeff16/vim-eof-comment/compare/0.1.17...0.1.18)
194
+
195
+ ## [0.1.17](https://github.com/DrKJeff16/vim-eof-comment/tree/0.1.17) (2025-12-13)
196
+
197
+ [Full Changelog](https://github.com/DrKJeff16/vim-eof-comment/compare/0.1.16...0.1.17)
198
+
199
+ ## [0.1.16](https://github.com/DrKJeff16/vim-eof-comment/tree/0.1.16) (2025-12-13)
200
+
201
+ [Full Changelog](https://github.com/DrKJeff16/vim-eof-comment/compare/0.1.15...0.1.16)
202
+
203
+ ## [0.1.15](https://github.com/DrKJeff16/vim-eof-comment/tree/0.1.15) (2025-12-13)
204
+
205
+ [Full Changelog](https://github.com/DrKJeff16/vim-eof-comment/compare/0.1.14...0.1.15)
206
+
207
+ ## [0.1.14](https://github.com/DrKJeff16/vim-eof-comment/tree/0.1.14) (2025-12-13)
208
+
209
+ [Full Changelog](https://github.com/DrKJeff16/vim-eof-comment/compare/0.1.13...0.1.14)
210
+
211
+ ## [0.1.13](https://github.com/DrKJeff16/vim-eof-comment/tree/0.1.13) (2025-12-13)
212
+
213
+ [Full Changelog](https://github.com/DrKJeff16/vim-eof-comment/compare/0.1.12...0.1.13)
214
+
215
+ ## [0.1.12](https://github.com/DrKJeff16/vim-eof-comment/tree/0.1.12) (2025-12-12)
216
+
217
+ [Full Changelog](https://github.com/DrKJeff16/vim-eof-comment/compare/0.1.11...0.1.12)
218
+
219
+ ## [0.1.11](https://github.com/DrKJeff16/vim-eof-comment/tree/0.1.11) (2025-12-12)
220
+
221
+ [Full Changelog](https://github.com/DrKJeff16/vim-eof-comment/compare/0.1.10...0.1.11)
222
+
223
+ ## [0.1.10](https://github.com/DrKJeff16/vim-eof-comment/tree/0.1.10) (2025-12-12)
224
+
225
+ [Full Changelog](https://github.com/DrKJeff16/vim-eof-comment/compare/0.1.9...0.1.10)
226
+
227
+ ## [0.1.9](https://github.com/DrKJeff16/vim-eof-comment/tree/0.1.9) (2025-12-12)
228
+
229
+ [Full Changelog](https://github.com/DrKJeff16/vim-eof-comment/compare/0.1.8...0.1.9)
230
+
231
+ ## [0.1.8](https://github.com/DrKJeff16/vim-eof-comment/tree/0.1.8) (2025-12-12)
232
+
233
+ [Full Changelog](https://github.com/DrKJeff16/vim-eof-comment/compare/0.1.5...0.1.8)
234
+
235
+ ## [0.1.5](https://github.com/DrKJeff16/vim-eof-comment/tree/0.1.5) (2025-12-12)
236
+
237
+ [Full Changelog](https://github.com/DrKJeff16/vim-eof-comment/compare/0.1.4...0.1.5)
238
+
239
+ ## [0.1.4](https://github.com/DrKJeff16/vim-eof-comment/tree/0.1.4) (2025-12-12)
240
+
241
+ [Full Changelog](https://github.com/DrKJeff16/vim-eof-comment/compare/0.1.3...0.1.4)
242
+
243
+ ## [0.1.3](https://github.com/DrKJeff16/vim-eof-comment/tree/0.1.3) (2025-12-12)
244
+
245
+ [Full Changelog](https://github.com/DrKJeff16/vim-eof-comment/compare/0.1.1...0.1.3)
246
+
247
+ ## [0.1.1](https://github.com/DrKJeff16/vim-eof-comment/tree/0.1.1) (2025-12-12)
248
+
249
+ [Full Changelog](https://github.com/DrKJeff16/vim-eof-comment/compare/0596121d44549903664b1df2f0fa78e9a944e687...0.1.1)
250
+
251
+
252
+
253
+ \* *This Changelog was automatically generated by [github_changelog_generator](https://github.com/github-changelog-generator/github-changelog-generator)*
254
+
255
+ <!-- vim: set ts=2 sts=2 sw=2 et ai si sta: -->
@@ -75,7 +75,7 @@ local-install: build
75
75
 
76
76
  run-script:
77
77
  @echo -e "Running vim-eof-comment...\n"
78
- @vim-eof-comment -e py,pyi,Makefile -n -v .
78
+ @vim-eof-comment -e py,pyi,Makefile,md -nv .
79
79
  @echo -e "\nDone!"
80
80
 
81
81
  upload: sign
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: vim-eof-comment
3
- Version: 0.3.21
3
+ Version: 0.4.1
4
4
  Summary: Adds Vim EOF modeline 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>
@@ -39,7 +39,7 @@ maintainers = [{ name = "Guennadi Maximov C", email = "g.maxc.fox@protonmail.com
39
39
  name = "vim-eof-comment"
40
40
  readme = "README.md"
41
41
  requires-python = ">=3.10"
42
- version = "0.3.21"
42
+ version = "0.4.1"
43
43
 
44
44
  [project.scripts]
45
45
  vim-eof-comment = "vim_eof_comment.eof:main"
@@ -0,0 +1 @@
1
+ 0.4.1
@@ -77,7 +77,7 @@ def eof_comment_search(
77
77
  if last_line != comment_map[ext] or (newline and not had_nwl):
78
78
  verbose_print(f"{_BRIGHT}{_RED}CHANGED", verbose=verbose)
79
79
  result[path] = EOFCommentSearch(
80
- state=IOWrapperBool(file=open(path, "rb"), had_nwl=had_nwl),
80
+ state=IOWrapperBool(file=open(path, "r"), had_nwl=had_nwl),
81
81
  lang=ext,
82
82
  match=matches(last_line, verbose)
83
83
  )
@@ -5,7 +5,13 @@ File management utilities.
5
5
 
6
6
  Copyright (c) 2025 Guennadi Maximov C. All Rights Reserved.
7
7
  """
8
- __all__ = ["bootstrap_paths", "open_batch_paths", "modify_file", "get_last_line"]
8
+ __all__ = [
9
+ "bootstrap_paths",
10
+ "get_last_line",
11
+ "modify_file",
12
+ "open_batch_paths",
13
+ "try_open",
14
+ ]
9
15
 
10
16
  from io import TextIOWrapper
11
17
  from os import walk
@@ -39,41 +45,18 @@ def try_open(fpath: str) -> bool:
39
45
  bool
40
46
  Whether the file triggers a ``UnicodeDecodeError`` or not.
41
47
  """
42
- file = open(fpath, "rb")
43
- success: bool = True
44
- try:
45
- file.read().decode(encoding="utf8")
46
- except UnicodeDecodeError:
47
- success = False
48
- except Exception:
49
- die("Something went wrong in `try_open()`!", code=2)
48
+ with open(fpath, "r") as file:
49
+ success: bool = True
50
+ try:
51
+ file.read()
52
+ except UnicodeDecodeError:
53
+ success = False
54
+ except Exception:
55
+ die("Something went wrong in `try_open()`!", code=2)
50
56
 
51
- file.close()
52
57
  return success
53
58
 
54
59
 
55
- def has_excluded(dir: str) -> bool:
56
- """
57
- Check whether a directory list contains any excluded directories.
58
-
59
- Parameters
60
- ----------
61
- dir : str
62
- The directory to check.
63
-
64
- Returns
65
- -------
66
- bool
67
- Whether an excluded directory was found.
68
- """
69
- dir = dir.rstrip("/")
70
- for excluded in EXCLUDED_DIRS:
71
- if dir.endswith(excluded):
72
- return True
73
-
74
- return False
75
-
76
-
77
60
  def bootstrap_paths(paths: List[str], exts: List[str]) -> List[BatchPairDict]:
78
61
  """
79
62
  Bootstrap all the matching paths in current dir and below.
@@ -92,22 +75,13 @@ def bootstrap_paths(paths: List[str], exts: List[str]) -> List[BatchPairDict]:
92
75
  """
93
76
  result = list()
94
77
  for path in paths:
95
- if not isdir(path) or has_excluded(path):
78
+ if not isdir(path):
96
79
  continue
97
80
 
98
81
  root: str
99
82
  dirs: List[str]
100
83
  files: List[str]
101
84
  for root, dirs, files in walk(path):
102
- excluded = False
103
- for dir in dirs:
104
- if has_excluded(dir):
105
- excluded = True
106
- break
107
-
108
- if excluded:
109
- continue
110
-
111
85
  for file in files:
112
86
  for ext in exts:
113
87
  if not file.endswith(ext):
@@ -139,7 +113,7 @@ def open_batch_paths(paths: List[BatchPairDict]) -> Dict[str, BatchPathDict]:
139
113
  continue
140
114
 
141
115
  try:
142
- result[fpath] = {"file": open(fpath, "rb"), "ft_ext": ext}
116
+ result[fpath] = {"file": open(fpath, "r"), "ft_ext": ext}
143
117
  except KeyboardInterrupt:
144
118
  die("\nProgram interrupted!", code=1) # Kills the program
145
119
  except FileNotFoundError:
@@ -173,7 +147,7 @@ def modify_file(file: TextIOWrapper, comments: Dict[str, str], ext: str, **kwarg
173
147
  matching: bool = kwargs.get("matching", False)
174
148
  newline: bool = kwargs.get("newline", False)
175
149
 
176
- bdata: str = file.read().decode(encoding="utf8")
150
+ bdata: str = file.read()
177
151
  data: List[str] = bdata.split("\n")
178
152
  file.close()
179
153
 
@@ -216,7 +190,7 @@ def get_last_line(file: TextIOWrapper) -> LineBool:
216
190
  LineBool
217
191
  An object containing both the last line in a string and a boolean indicating a newline.
218
192
  """
219
- bdata: str = file.read().decode(encoding="utf8")
193
+ bdata: str = file.read()
220
194
  data: List[str] = bdata.split("\n")
221
195
  file.close()
222
196
 
@@ -2,8 +2,22 @@ from io import TextIOWrapper
2
2
 
3
3
  from .types import BatchPairDict, BatchPathDict, LineBool
4
4
 
5
- __all__ = ['bootstrap_paths', 'open_batch_paths', 'modify_file', 'get_last_line']
5
+ __all__ = ['bootstrap_paths', 'get_last_line', 'modify_file', 'open_batch_paths', 'try_open']
6
6
 
7
+ def try_open(fpath: str) -> bool:
8
+ """
9
+ Try to open a file, unless a ``UnicodeDecodeError`` triggers.
10
+
11
+ Parameters
12
+ ----------
13
+ fpath : str
14
+ The file path to try and open.
15
+
16
+ Returns
17
+ -------
18
+ bool
19
+ Whether the file triggers a ``UnicodeDecodeError`` or not.
20
+ """
7
21
  def bootstrap_paths(paths: list[str], exts: list[str]) -> list[BatchPairDict]:
8
22
  """
9
23
  Bootstrap all the matching paths in current dir and below.
@@ -228,6 +228,8 @@ version_info = VersionInfo([
228
228
  (0, 3, 19),
229
229
  (0, 3, 20),
230
230
  (0, 3, 21),
231
+ (0, 4, 0),
232
+ (0, 4, 1),
231
233
  ])
232
234
 
233
235
  __version__: str = str(version_info)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: vim-eof-comment
3
- Version: 0.3.21
3
+ Version: 0.4.1
4
4
  Summary: Adds Vim EOF modeline 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>
@@ -1,6 +1,7 @@
1
1
  .flake8
2
2
  .gitattributes
3
3
  .pre-commit-config.yaml
4
+ CHANGELOG.md
4
5
  LICENSE
5
6
  Makefile
6
7
  Pipfile
@@ -1 +0,0 @@
1
- 0.3.21