panvimwiki 0.4.0__tar.gz → 0.7__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 (113) hide show
  1. {panvimwiki-0.4.0 → panvimwiki-0.7}/.circleci/config.yml +4 -4
  2. {panvimwiki-0.4.0 → panvimwiki-0.7}/.coveragerc +3 -1
  3. panvimwiki-0.7/.editorconfig +47 -0
  4. panvimwiki-0.7/.github/workflows/ci.yml +200 -0
  5. {panvimwiki-0.4.0 → panvimwiki-0.7}/.gitignore +3 -1
  6. panvimwiki-0.7/.isort.cfg +3 -0
  7. panvimwiki-0.7/.pre-commit-config.yaml +67 -0
  8. {panvimwiki-0.4.0 → panvimwiki-0.7}/.readthedocs.yml +6 -1
  9. panvimwiki-0.7/CHANGELOG.md +61 -0
  10. {panvimwiki-0.4.0 → panvimwiki-0.7}/CONTRIBUTING.md +53 -48
  11. {panvimwiki-0.4.0 → panvimwiki-0.7}/LICENSE.txt +1 -1
  12. panvimwiki-0.7/Makefile +78 -0
  13. {panvimwiki-0.4.0 → panvimwiki-0.7}/PKG-INFO +97 -28
  14. panvimwiki-0.4.0/src/panvimwiki.egg-info/PKG-INFO → panvimwiki-0.7/README.md +79 -52
  15. panvimwiki-0.7/after/ftplugin/vimwiki.vim +43 -0
  16. {panvimwiki-0.4.0 → panvimwiki-0.7}/appveyor.yml +1 -1
  17. {panvimwiki-0.4.0 → panvimwiki-0.7}/autoload/panvimwiki.vim +18 -10
  18. {panvimwiki-0.4.0 → panvimwiki-0.7}/doc/panvimwiki.txt +120 -72
  19. {panvimwiki-0.4.0 → panvimwiki-0.7}/docs/conf.py +8 -6
  20. {panvimwiki-0.4.0 → panvimwiki-0.7}/environment.yml +2 -6
  21. {panvimwiki-0.4.0 → panvimwiki-0.7}/junit.xml +1 -1
  22. {panvimwiki-0.4.0 → panvimwiki-0.7}/plugin/panvimwiki.vim +5 -3
  23. panvimwiki-0.7/pyproject.toml +9 -0
  24. {panvimwiki-0.4.0 → panvimwiki-0.7}/setup.cfg +10 -5
  25. {panvimwiki-0.4.0 → panvimwiki-0.7}/setup.py +1 -1
  26. panvimwiki-0.7/src/panvimwiki/__init__.py +20 -0
  27. {panvimwiki-0.4.0 → panvimwiki-0.7}/src/panvimwiki/catvimwiki.py +4 -6
  28. panvimwiki-0.7/src/panvimwiki/convert.py +142 -0
  29. {panvimwiki-0.4.0 → panvimwiki-0.7}/src/panvimwiki/filter/delete_bullet_star.py +0 -1
  30. {panvimwiki-0.4.0 → panvimwiki-0.7}/src/panvimwiki/filter/delete_empty_heading.py +0 -2
  31. {panvimwiki-0.4.0 → panvimwiki-0.7}/src/panvimwiki/filter/delete_tag_lines.py +4 -2
  32. {panvimwiki-0.4.0 → panvimwiki-0.7}/src/panvimwiki/filter/delete_taskwiki_heading.py +1 -2
  33. {panvimwiki-0.4.0 → panvimwiki-0.7}/src/panvimwiki/filter/do_nothing.py +0 -1
  34. {panvimwiki-0.4.0 → panvimwiki-0.7}/src/panvimwiki/filter/prefilter.py +8 -5
  35. panvimwiki-0.7/src/panvimwiki/filter/reference_citation.py +122 -0
  36. {panvimwiki-0.4.0 → panvimwiki-0.7}/src/panvimwiki/vimwiki_week.py +5 -2
  37. {panvimwiki-0.4.0 → panvimwiki-0.7}/src/panvimwiki/wiki2pandoc.py +42 -10
  38. panvimwiki-0.4.0/README.md → panvimwiki-0.7/src/panvimwiki.egg-info/PKG-INFO +121 -25
  39. {panvimwiki-0.4.0 → panvimwiki-0.7}/src/panvimwiki.egg-info/SOURCES.txt +14 -2
  40. {panvimwiki-0.4.0 → panvimwiki-0.7}/src/panvimwiki.egg-info/entry_points.txt +1 -0
  41. {panvimwiki-0.4.0 → panvimwiki-0.7}/tests/conftest.py +3 -2
  42. panvimwiki-0.7/tests/func/reference_citation.md +58 -0
  43. panvimwiki-0.7/tests/func/reference_citation.out.md +64 -0
  44. {panvimwiki-0.4.0 → panvimwiki-0.7}/tests/func/test_catvimwiki.py +0 -8
  45. {panvimwiki-0.4.0 → panvimwiki-0.7}/tests/func/test_convert.py +68 -6
  46. panvimwiki-0.7/tests/unit/prefilter/reference_citation.out.md +8 -0
  47. panvimwiki-0.7/tests/unit/prefilter/reference_citation.wiki +9 -0
  48. {panvimwiki-0.4.0 → panvimwiki-0.7}/tests/unit/test_filters.py +2 -2
  49. panvimwiki-0.7/tests/vim/ExpandCiteproc.vader +86 -0
  50. {panvimwiki-0.4.0 → panvimwiki-0.7}/tests/vim/VimwikiConvert.vader +5 -0
  51. panvimwiki-0.7/tests/vim/reference_citation.md +57 -0
  52. panvimwiki-0.7/tests/vim/run.sh +2 -0
  53. {panvimwiki-0.4.0 → panvimwiki-0.7}/tests/vim/test_vimwiki_convert.py +5 -4
  54. panvimwiki-0.7/tests/vim/vimrc +108 -0
  55. panvimwiki-0.4.0/tests/func/convert.wiki → panvimwiki-0.7/tests/vim/vimwiki/diary/2017-04-24.wiki +16 -5
  56. panvimwiki-0.7/tests/vim/vimwiki/diary/2017-04-26.wiki +4 -0
  57. panvimwiki-0.7/tests/vim/vimwiki/non-diary.wiki +72 -0
  58. panvimwiki-0.7/tox.ini +121 -0
  59. panvimwiki-0.4.0/CHANGELOG.md +0 -32
  60. panvimwiki-0.4.0/Makefile +0 -149
  61. panvimwiki-0.4.0/after/ftplugin/vimwiki.vim +0 -35
  62. panvimwiki-0.4.0/pyproject.toml +0 -8
  63. panvimwiki-0.4.0/src/panvimwiki/__init__.py +0 -12
  64. panvimwiki-0.4.0/src/panvimwiki/convert.py +0 -90
  65. panvimwiki-0.4.0/tests/vim/run.sh +0 -2
  66. panvimwiki-0.4.0/tests/vim/vimrc +0 -44
  67. panvimwiki-0.4.0/tox.ini +0 -89
  68. {panvimwiki-0.4.0 → panvimwiki-0.7}/.codacy.yml +0 -0
  69. {panvimwiki-0.4.0 → panvimwiki-0.7}/.gitattributes +0 -0
  70. {panvimwiki-0.4.0 → panvimwiki-0.7}/.travis.yml +0 -0
  71. {panvimwiki-0.4.0 → panvimwiki-0.7}/.vim/coc-settings.json +0 -0
  72. {panvimwiki-0.4.0 → panvimwiki-0.7}/AUTHORS.md +0 -0
  73. {panvimwiki-0.4.0 → panvimwiki-0.7}/docs/Makefile +0 -0
  74. {panvimwiki-0.4.0 → panvimwiki-0.7}/docs/_static/.gitignore +0 -0
  75. {panvimwiki-0.4.0 → panvimwiki-0.7}/docs/authors.md +0 -0
  76. {panvimwiki-0.4.0 → panvimwiki-0.7}/docs/changelog.md +0 -0
  77. {panvimwiki-0.4.0 → panvimwiki-0.7}/docs/contributing.md +0 -0
  78. {panvimwiki-0.4.0 → panvimwiki-0.7}/docs/index.md +0 -0
  79. {panvimwiki-0.4.0 → panvimwiki-0.7}/docs/license.md +0 -0
  80. {panvimwiki-0.4.0 → panvimwiki-0.7}/docs/readme.md +0 -0
  81. {panvimwiki-0.4.0 → panvimwiki-0.7}/docs/requirements.txt +0 -0
  82. {panvimwiki-0.4.0 → panvimwiki-0.7}/src/panvimwiki/filter/__init__.py +0 -0
  83. {panvimwiki-0.4.0 → panvimwiki-0.7}/src/panvimwiki/filter/delete_task_pending.py +0 -0
  84. {panvimwiki-0.4.0 → panvimwiki-0.7}/src/panvimwiki.egg-info/dependency_links.txt +0 -0
  85. {panvimwiki-0.4.0 → panvimwiki-0.7}/src/panvimwiki.egg-info/not-zip-safe +0 -0
  86. {panvimwiki-0.4.0 → panvimwiki-0.7}/src/panvimwiki.egg-info/requires.txt +0 -0
  87. {panvimwiki-0.4.0 → panvimwiki-0.7}/src/panvimwiki.egg-info/top_level.txt +0 -0
  88. {panvimwiki-0.4.0 → panvimwiki-0.7}/tests/__init__.py +0 -0
  89. {panvimwiki-0.4.0 → panvimwiki-0.7}/tests/func/__init__.py +0 -0
  90. {panvimwiki-0.4.0 → panvimwiki-0.7}/tests/func/convert.docx +0 -0
  91. {panvimwiki-0.4.0 → panvimwiki-0.7}/tests/func/convert.md +0 -0
  92. {panvimwiki-0.4.0 → panvimwiki-0.7}/tests/func/convert_shift.docx +0 -0
  93. {panvimwiki-0.4.0 → panvimwiki-0.7}/tests/func/convert_shift.md +0 -0
  94. {panvimwiki-0.4.0 → panvimwiki-0.7}/tests/func/test_vimwiki_week.py +0 -0
  95. {panvimwiki-0.4.0 → panvimwiki-0.7}/tests/func/vimwiki/diary/2017-04-24.wiki +0 -0
  96. {panvimwiki-0.4.0 → panvimwiki-0.7}/tests/func/vimwiki/diary/2017-04-26.wiki +0 -0
  97. {panvimwiki-0.4.0 → panvimwiki-0.7}/tests/func/vimwiki/non-diary.wiki +0 -0
  98. {panvimwiki-0.4.0 → panvimwiki-0.7}/tests/func/vimwiki_html/templates/reference.docx +0 -0
  99. {panvimwiki-0.4.0 → panvimwiki-0.7}/tests/unit/__init__.py +0 -0
  100. {panvimwiki-0.4.0 → panvimwiki-0.7}/tests/unit/filter/delete_empty_heading.out.md +0 -0
  101. {panvimwiki-0.4.0 → panvimwiki-0.7}/tests/unit/filter/delete_empty_heading.wiki +0 -0
  102. {panvimwiki-0.4.0 → panvimwiki-0.7}/tests/unit/filter/delete_tag_lines.out.md +0 -0
  103. {panvimwiki-0.4.0 → panvimwiki-0.7}/tests/unit/filter/delete_tag_lines.wiki +0 -0
  104. {panvimwiki-0.4.0 → panvimwiki-0.7}/tests/unit/filter/delete_taskwiki_heading.out.md +0 -0
  105. {panvimwiki-0.4.0 → panvimwiki-0.7}/tests/unit/filter/delete_taskwiki_heading.wiki +0 -0
  106. {panvimwiki-0.4.0 → panvimwiki-0.7}/tests/unit/prefilter/delete_bullet_star.out.md +0 -0
  107. {panvimwiki-0.4.0 → panvimwiki-0.7}/tests/unit/prefilter/delete_bullet_star.wiki +0 -0
  108. {panvimwiki-0.4.0 → panvimwiki-0.7}/tests/unit/prefilter/delete_task_pending.out.md +0 -0
  109. {panvimwiki-0.4.0 → panvimwiki-0.7}/tests/unit/prefilter/delete_task_pending.wiki +0 -0
  110. {panvimwiki-0.4.0 → panvimwiki-0.7}/tests/unit/prefilter/do_nothing.out.md +0 -0
  111. {panvimwiki-0.4.0 → panvimwiki-0.7}/tests/unit/prefilter/do_nothing.wiki +0 -0
  112. {panvimwiki-0.4.0 → panvimwiki-0.7}/tests/unit/test_catvimwiki.py +0 -0
  113. {panvimwiki-0.4.0 → panvimwiki-0.7}/tests/vim/__init__.py +0 -0
@@ -9,12 +9,12 @@ jobs:
9
9
  steps:
10
10
  - checkout
11
11
 
12
-
12
+
13
13
  # - restore_cache:
14
14
  # keys:
15
15
  # - v1-dependencies-{{ checksum "environment.yml" }}
16
16
  # - v1-dependencies-
17
-
17
+
18
18
 
19
19
  - run:
20
20
  name: install dependencies
@@ -27,12 +27,12 @@ jobs:
27
27
  conda build conda.recipe --no-test
28
28
  conda install --use-local vimwiki_docx
29
29
 
30
-
30
+
31
31
  # - save_cache:
32
32
  # paths:
33
33
  # - /opt/conda
34
34
  # key: v1-dependencies-{{ checksum "environment.yml" }}
35
-
35
+
36
36
 
37
37
  - run:
38
38
  name: run tests
@@ -36,5 +36,7 @@ exclude_lines =
36
36
  # Don't complain if non-runnable code isn't run:
37
37
  if 0:
38
38
  if __name__ == .__main__.:
39
- omit = tests/vim/bundle/*
39
+ omit =
40
+ tests/vim/bundle/*
41
+ tests/vim/vimrc
40
42
  show_missing = true
@@ -0,0 +1,47 @@
1
+
2
+ EditorrConfig is awesome: http://EditorConfig.org
3
+
4
+ # top-most EditorConfig file
5
+ root = true
6
+
7
+ [*]
8
+ indent_style = space
9
+ indent_size = 2
10
+ end_of_line = lf
11
+ trim_trailing_whitespace = true
12
+ insert_final_newline = true
13
+
14
+ [*.{js,py,html,html5}]
15
+ charset = utf-8
16
+
17
+ [*.{md,mdpp,diff,vim}]
18
+ trim_trailing_whitespace = false
19
+
20
+ [{vimrc,gvimrc}]
21
+ trim_trailing_whitespace = false
22
+
23
+ [*.py]
24
+ indent_style = space
25
+ indent_size = 4
26
+
27
+ [Makefile]
28
+ indent_style = tab
29
+
30
+ [*.{json,yml}]
31
+ indent_style = space
32
+ indent_size = 2
33
+
34
+ [*.{cs}]
35
+ indent_size = 4
36
+ trim_trailing_whitespace = true
37
+
38
+ [*.{json}]
39
+ indent_size = 2
40
+ trim_trailing_whitespace = true
41
+
42
+ [*.{ps1,psm1,psd1}]
43
+ indent_size = 4
44
+ trim_trailing_whitespace = true
45
+
46
+ [*.{ps1xml,props,xml,yaml}]
47
+ indent_size = 2
@@ -0,0 +1,200 @@
1
+ # GitHub Actions configuration **EXAMPLE**,
2
+ # MODIFY IT ACCORDING TO YOUR NEEDS!
3
+ # Reference: https://docs.github.com/en/actions
4
+
5
+ name: Test and Publish Python 🐍 distribution 📦 to PyPI and TestPyPI
6
+
7
+ on:
8
+ push:
9
+ # Avoid using all the resources/limits available by checking only
10
+ # relevant branches and tags. Other branches can be checked via PRs.
11
+ branches: [main]
12
+ tags: ["v[0-9]*", "[0-9]+.[0-9]+*"] # Match tags that resemble a version
13
+ pull_request: # Run in every PR
14
+ workflow_dispatch: # Allow manually triggering the workflow
15
+ schedule:
16
+ # Run roughly every 15 days at 00:00 UTC
17
+ # (useful to check if updates on dependencies break the package)
18
+ - cron: "0 0 1,16 * *"
19
+
20
+ permissions:
21
+ contents: read
22
+
23
+ concurrency:
24
+ group: >-
25
+ ${{ github.workflow }}-${{ github.ref_type }}-
26
+ ${{ github.event.pull_request.number || github.sha }}
27
+ cancel-in-progress: true
28
+
29
+ jobs:
30
+ prepare:
31
+ runs-on: ubuntu-latest
32
+ outputs:
33
+ wheel-distribution: ${{ steps.wheel-distribution.outputs.path }}
34
+ steps:
35
+ - uses: actions/checkout@v4
36
+ with: { fetch-depth: 0 } # deep clone for setuptools-scm
37
+ - uses: actions/setup-python@v5
38
+ id: setup-python
39
+ with: { python-version: "3.11" }
40
+ - name: Run static analysis and format checkers
41
+ run: pipx run pre-commit run --all-files --show-diff-on-failure
42
+ - name: Build package distribution files 📦
43
+ run: >-
44
+ pipx run --python '${{ steps.setup-python.outputs.python-path }}'
45
+ tox -e clean,build
46
+ - name: Record the path of wheel distribution
47
+ id: wheel-distribution
48
+ run: echo "path=$(ls dist/*.whl)" >> $GITHUB_OUTPUT
49
+ - name: Store the distribution files for use in other stages
50
+ # `tests` and `publish` will use the same pre-built distributions,
51
+ # so we make sure to release the exact same package that was tested
52
+ uses: actions/upload-artifact@v3
53
+ with:
54
+ name: python-distribution-files
55
+ path: dist/
56
+ retention-days: 1
57
+
58
+ test:
59
+ needs: prepare
60
+ strategy:
61
+ matrix:
62
+ python:
63
+ # - "3.8" # oldest Python supported by PSF
64
+ - "3.10" # Required by rhysd/action-setup-vim@v1 on ubuntu-latest
65
+ # - "3.11" # newest Python that is stable
66
+ platform:
67
+ - ubuntu-latest
68
+ # - macos-latest
69
+ # - windows-latest
70
+ runs-on: ${{ matrix.platform }}
71
+ steps:
72
+ - uses: actions/checkout@v4
73
+ - uses: nikeee/setup-pandoc@v1
74
+ with:
75
+ pandoc-version: '3.1.3' # Compatible with tests for reference_citation.py
76
+ - uses: actions/setup-python@v5
77
+ id: setup-python
78
+ with:
79
+ python-version: ${{ matrix.python }}
80
+ - uses: rhysd/action-setup-vim@v1
81
+ - name: Retrieve pre-built distribution files
82
+ uses: actions/download-artifact@v3
83
+ with: { name: python-distribution-files, path: dist/ }
84
+ - name: Run tests
85
+ run: >-
86
+ pipx run --python '${{ steps.setup-python.outputs.python-path }}'
87
+ tox --installpkg '${{ needs.prepare.outputs.wheel-distribution }}'
88
+ -- -rFEx --durations 10 --color yes -vv # pytest args
89
+ - name: Generate coverage report
90
+ run: pipx run coverage lcov -o coverage.lcov
91
+ - name: Upload partial coverage report
92
+ uses: coverallsapp/github-action@master
93
+ with:
94
+ path-to-lcov: coverage.lcov
95
+ github-token: ${{ secrets.GITHUB_TOKEN }}
96
+ flag-name: ${{ matrix.platform }} - py${{ matrix.python }}
97
+ parallel: true
98
+
99
+ finalize:
100
+ needs: test
101
+ runs-on: ubuntu-latest
102
+ steps:
103
+ - name: Finalize coverage report
104
+ uses: coverallsapp/github-action@master
105
+ with:
106
+ github-token: ${{ secrets.GITHUB_TOKEN }}
107
+ parallel-finished: true
108
+
109
+ publish-to-testpypi:
110
+ name: Publish Python 🐍 distribution 📦 to TestPyPI
111
+ needs: finalize
112
+ runs-on: ubuntu-latest
113
+
114
+ environment:
115
+ name: testpypi
116
+ url: https://test.pypi.org/p/panvimwiki
117
+
118
+ permissions:
119
+ id-token: write # IMPORTANT: mandatory for trusted publishing
120
+
121
+ steps:
122
+ - name: Retrieve pre-built distribution files
123
+ uses: actions/download-artifact@v3
124
+ with: { name: python-distribution-files, path: dist/ }
125
+ - name: Publish distribution 📦 to TestPyPI
126
+ uses: pypa/gh-action-pypi-publish@release/v1
127
+ with:
128
+ repository-url: https://test.pypi.org/legacy/
129
+
130
+ publish-to-pypi:
131
+ name: >-
132
+ Publish Python 🐍 distribution 📦 to PyPI
133
+ needs: [finalize, publish-to-testpypi]
134
+ if: ${{ github.event_name == 'push' && contains(github.ref, 'refs/tags/') }}
135
+ runs-on: ubuntu-latest
136
+ environment:
137
+ name: pypi
138
+ url: https://pypi.org/p/panvimwiki # Replace <package-name> with your PyPI project name
139
+ permissions:
140
+ # contents: write
141
+ id-token: write # IMPORTANT: mandatory for trusted publishing
142
+ steps:
143
+ # - uses: actions/checkout@v4
144
+ # - uses: actions/setup-python@v5
145
+ # with: {python-version: "3.11"}
146
+ - name: Retrieve pre-built distribution files
147
+ uses: actions/download-artifact@v3
148
+ with: { name: python-distribution-files, path: dist/ }
149
+ - name: Publish distribution 📦 to PyPI
150
+ uses: pypa/gh-action-pypi-publish@release/v1
151
+ # - name: Publish Package
152
+ # env:
153
+ # # TODO: Set your PYPI_TOKEN as a secret using GitHub UI
154
+ # # - https://pypi.org/help/#apitoken
155
+ # # - https://docs.github.com/en/actions/security-guides/encrypted-secrets
156
+ # TWINE_REPOSITORY: pypi
157
+ # TWINE_USERNAME: __token__
158
+ # TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }}
159
+ # run: pipx run tox -e publish
160
+
161
+ github-release:
162
+ name: >-
163
+ Sign the Python 🐍 distribution 📦 with Sigstore
164
+ and upload them to GitHub Release
165
+ needs:
166
+ - publish-to-pypi
167
+ runs-on: ubuntu-latest
168
+
169
+ permissions:
170
+ contents: write # IMPORTANT: mandatory for making GitHub Releases
171
+ id-token: write # IMPORTANT: mandatory for sigstore
172
+
173
+ steps:
174
+ - name: Download all the dists
175
+ uses: actions/download-artifact@v3
176
+ with: { name: python-distribution-files, path: dist/ }
177
+ - name: Sign the dists with Sigstore
178
+ uses: sigstore/gh-action-sigstore-python@v2.1.0
179
+ with:
180
+ inputs: >-
181
+ ./dist/*.tar.gz
182
+ ./dist/*.whl
183
+ - name: Create GitHub Release
184
+ env:
185
+ GITHUB_TOKEN: ${{ github.token }}
186
+ run: >-
187
+ gh release create
188
+ '${{ github.ref_name }}'
189
+ --repo '${{ github.repository }}'
190
+ --notes ""
191
+ - name: Upload artifact signatures to GitHub Release
192
+ env:
193
+ GITHUB_TOKEN: ${{ github.token }}
194
+ # Upload to GitHub Release using the `gh` CLI.
195
+ # `dist/` contains the built packages, and the
196
+ # sigstore-produced signatures and certificates.
197
+ run: >-
198
+ gh release upload
199
+ '${{ github.ref_name }}' dist/**
200
+ --repo '${{ github.repository }}'
@@ -40,7 +40,8 @@ junit*.xml
40
40
  coverage.xml
41
41
  .pytest_cache/
42
42
  tests/vim/bundle
43
- prepm.wiki
43
+ Session.vim
44
+ prepm.*
44
45
 
45
46
  # Build and docs folder/files
46
47
  build/*
@@ -55,3 +56,4 @@ MANIFEST
55
56
  # Per-project virtualenvs
56
57
  .venv*/
57
58
  .conda*/
59
+ .python-version
@@ -0,0 +1,3 @@
1
+ [settings]
2
+ profile = black
3
+ known_first_party = panvimwiki
@@ -0,0 +1,67 @@
1
+ exclude: '^docs/conf.py'
2
+
3
+ repos:
4
+ - repo: https://github.com/pre-commit/pre-commit-hooks
5
+ rev: v4.4.0
6
+ hooks:
7
+ - id: trailing-whitespace
8
+ - id: check-added-large-files
9
+ - id: check-ast
10
+ - id: check-json
11
+ - id: check-merge-conflict
12
+ - id: check-xml
13
+ - id: check-yaml
14
+ - id: debug-statements
15
+ - id: end-of-file-fixer
16
+ - id: requirements-txt-fixer
17
+ - id: mixed-line-ending
18
+ args: ['--fix=auto'] # replace 'auto' with 'lf' to enforce Linux/Mac line endings or 'crlf' for Windows
19
+
20
+ ## If you want to automatically "modernize" your Python code:
21
+ - repo: https://github.com/asottile/pyupgrade
22
+ rev: v3.10.1
23
+ hooks:
24
+ - id: pyupgrade
25
+ args: ['--py37-plus']
26
+
27
+ ## If you want to avoid flake8 errors due to unused vars or imports:
28
+ - repo: https://github.com/PyCQA/autoflake
29
+ rev: v2.2.0
30
+ hooks:
31
+ - id: autoflake
32
+ args: [
33
+ --in-place,
34
+ --remove-all-unused-imports,
35
+ --remove-unused-variables,
36
+ ]
37
+
38
+ - repo: https://github.com/PyCQA/isort
39
+ rev: 5.12.0
40
+ hooks:
41
+ - id: isort
42
+
43
+ - repo: https://github.com/psf/black
44
+ rev: 23.7.0
45
+ hooks:
46
+ - id: black
47
+ language_version: python3
48
+
49
+ ## If like to embrace black styles even in the docs:
50
+ - repo: https://github.com/asottile/blacken-docs
51
+ rev: 1.16.0
52
+ hooks:
53
+ - id: blacken-docs
54
+ additional_dependencies: [black]
55
+
56
+ - repo: https://github.com/PyCQA/flake8
57
+ rev: 6.1.0
58
+ hooks:
59
+ - id: flake8
60
+ ## You can add flake8 plugins via `additional_dependencies`:
61
+ # additional_dependencies: [flake8-bugbear]
62
+
63
+ ## Check for misspells in documentation files:
64
+ - repo: https://github.com/codespell-project/codespell
65
+ rev: v2.2.5
66
+ hooks:
67
+ - id: codespell
@@ -16,7 +16,12 @@ sphinx:
16
16
  formats:
17
17
  - pdf
18
18
 
19
+ build:
20
+ os: ubuntu-22.04
21
+ tools:
22
+ python: "3.11"
23
+
19
24
  python:
20
- version: 3.8
21
25
  install:
22
26
  - requirements: docs/requirements.txt
27
+ - {path: ., method: pip}
@@ -0,0 +1,61 @@
1
+ # Changelog
2
+
3
+ ## Version 0.8 (development)
4
+
5
+ ## Version 0.7 (2024-01-13)
6
+
7
+ - `:VimwikiReference` no longer converts to reference-links, preferring
8
+ compatibility with pandoc conversion to `HTML`.
9
+ - DOCS: Update `:help panvimwiki`.
10
+ - DOCS: Host at http://panvimwiki.readthedocs.io/
11
+
12
+ ## Version 0.6 (2024-01-01)
13
+
14
+ - Vim command `:VimwikiReference` converts
15
+ [Pandoc Citations](https://pandoc.org/MANUAL.html#citation-syntax)
16
+ to [reference links](https://pandoc.org/MANUAL.html#reference-links),
17
+ e.g.,`[anchor:]`, replacing the current file.
18
+ - DOCS: Update `:help`.
19
+ - BUILD: Use pre-commit to remove trailing spaces from Vim help.
20
+
21
+ ## Version 0.5 (2023-12-04)
22
+
23
+ - Vim command `:VimwikiReference` converts `citeproc` entries and appends to
24
+ current buffer.
25
+ - Add `reference_citation` to expand `citeproc` entries in markdown with
26
+ [vim-zettel](https://github.com/michal-h21/vim-zettel)
27
+ - DOCS: add contributing guide.
28
+ - BUILD: Update `panvimdoc` and build Vim help file with tox.
29
+ - BUILD: Upgrade to `pyscaffold` v4.5.
30
+ - BUILD: Add `pre-commit`.
31
+
32
+ ## Version 0.4 (2022-10-30)
33
+
34
+ - Rename project and package: panvimwiki
35
+ - Add Makefile to build Vim help from Markdown using `panvimdoc`.
36
+ - Pass `$TMP` in tox.ini, so concatenated diary files do not clutter project
37
+ tree, because when `$TMP` does not exist, use the current working directory.
38
+ - Wiki2pandoc replicates relative path in out—i.e.,
39
+ `~/vimwiki/diary/2017-04-04.wiki` becomes
40
+ `~/vimwiki_html/docx/diary/2017-04-04.docx`.
41
+ - Use covimerage to provide coverage for vader tests.
42
+
43
+ ## Version 0.3 (2021-07-07)
44
+
45
+ - Switch documentation to Markdown.
46
+ - Add panflute and regex filters. Processing can happen solely from the command
47
+ line.
48
+ - Add Vader.vim tests to bring coverage to 100%.
49
+ - Vim commands `VimwikiConvert` and `VimwikiConvertWeek` default to
50
+ `~/vimwiki_html/docx/prepm.docx`, rather than `$TMP/prepm.docx`.
51
+
52
+ ## Version 0.2 (2021-05-11)
53
+
54
+ - Switch build to pyscaffold.
55
+ - Vim :help vimwiki_pandoc
56
+ - Pydoc to view python module help.
57
+ - FIX: prevent taskwiki changes to diary during conversion to docx.
58
+
59
+ ## Version 0.1 (2021-05-01)
60
+
61
+ - Switch build to flit.