wikitextparser 0.55.8__tar.gz → 0.55.10__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 (39) hide show
  1. wikitextparser-0.55.10/.coveragerc +4 -0
  2. wikitextparser-0.55.10/.github/workflows/tests.yml +42 -0
  3. wikitextparser-0.55.10/.gitignore +1 -0
  4. wikitextparser-0.55.10/.readthedocs.yaml +25 -0
  5. {wikitextparser-0.55.8 → wikitextparser-0.55.10}/CHANGELOG.rst +8 -0
  6. {wikitextparser-0.55.8/wikitextparser.egg-info → wikitextparser-0.55.10}/PKG-INFO +393 -394
  7. wikitextparser-0.55.10/docs/CHANGELOG.rst +3 -0
  8. wikitextparser-0.55.10/docs/Makefile +20 -0
  9. wikitextparser-0.55.10/docs/README.rst +5 -0
  10. wikitextparser-0.55.10/docs/conf.py +189 -0
  11. wikitextparser-0.55.10/docs/index.rst +152 -0
  12. wikitextparser-0.55.10/docs/make.bat +36 -0
  13. {wikitextparser-0.55.8 → wikitextparser-0.55.10}/pyproject.toml +5 -13
  14. {wikitextparser-0.55.8 → wikitextparser-0.55.10}/wikitextparser/__init__.py +1 -1
  15. {wikitextparser-0.55.8 → wikitextparser-0.55.10}/wikitextparser/_wikitext.py +3 -3
  16. wikitextparser-0.55.8/MANIFEST.in +0 -3
  17. wikitextparser-0.55.8/PKG-INFO +0 -394
  18. wikitextparser-0.55.8/setup.cfg +0 -4
  19. wikitextparser-0.55.8/wikitextparser.egg-info/SOURCES.txt +0 -27
  20. wikitextparser-0.55.8/wikitextparser.egg-info/dependency_links.txt +0 -1
  21. wikitextparser-0.55.8/wikitextparser.egg-info/requires.txt +0 -8
  22. wikitextparser-0.55.8/wikitextparser.egg-info/top_level.txt +0 -1
  23. wikitextparser-0.55.8/wikitextparser.egg-info/zip-safe +0 -1
  24. {wikitextparser-0.55.8 → wikitextparser-0.55.10}/LICENSE.md +0 -0
  25. {wikitextparser-0.55.8 → wikitextparser-0.55.10}/README.rst +0 -0
  26. {wikitextparser-0.55.8 → wikitextparser-0.55.10}/wikitextparser/_argument.py +0 -0
  27. {wikitextparser-0.55.8 → wikitextparser-0.55.10}/wikitextparser/_cell.py +0 -0
  28. {wikitextparser-0.55.8 → wikitextparser-0.55.10}/wikitextparser/_comment_bold_italic.py +0 -0
  29. {wikitextparser-0.55.8 → wikitextparser-0.55.10}/wikitextparser/_config.py +0 -0
  30. {wikitextparser-0.55.8 → wikitextparser-0.55.10}/wikitextparser/_externallink.py +0 -0
  31. {wikitextparser-0.55.8 → wikitextparser-0.55.10}/wikitextparser/_parameter.py +0 -0
  32. {wikitextparser-0.55.8 → wikitextparser-0.55.10}/wikitextparser/_parser_function.py +0 -0
  33. {wikitextparser-0.55.8 → wikitextparser-0.55.10}/wikitextparser/_section.py +0 -0
  34. {wikitextparser-0.55.8 → wikitextparser-0.55.10}/wikitextparser/_spans.py +0 -0
  35. {wikitextparser-0.55.8 → wikitextparser-0.55.10}/wikitextparser/_table.py +0 -0
  36. {wikitextparser-0.55.8 → wikitextparser-0.55.10}/wikitextparser/_tag.py +0 -0
  37. {wikitextparser-0.55.8 → wikitextparser-0.55.10}/wikitextparser/_template.py +0 -0
  38. {wikitextparser-0.55.8 → wikitextparser-0.55.10}/wikitextparser/_wikilink.py +0 -0
  39. {wikitextparser-0.55.8 → wikitextparser-0.55.10}/wikitextparser/_wikilist.py +0 -0
@@ -0,0 +1,4 @@
1
+ [report]
2
+ exclude_lines =
3
+ pragma: no cover
4
+ if __name__ == .__main__.:
@@ -0,0 +1,42 @@
1
+ name: Tests
2
+
3
+ on:
4
+ push:
5
+ branches:
6
+ - "*"
7
+ pull_request:
8
+ branches:
9
+ - "*"
10
+
11
+ jobs:
12
+ run:
13
+ strategy:
14
+ matrix:
15
+ os: [ubuntu-latest, windows-latest, macos-latest]
16
+ python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12"]
17
+ env:
18
+ OS: ${{ matrix.os }}
19
+ PYTHON: ${{ matrix.python-version }}
20
+ runs-on: ${{ matrix.os }}
21
+ steps:
22
+ - name: Checkout repo
23
+ uses: actions/checkout@v4
24
+ - name: Set Up Python ${{ matrix.python-version }}
25
+ uses: actions/setup-python@v5
26
+ with:
27
+ python-version: ${{ matrix.python-version }}
28
+ - name: Display Python version
29
+ run: python -c "import sys; print(sys.version)"
30
+ - name: Install packages
31
+ run: |
32
+ python -m pip install --upgrade pip
33
+ pip install -e . pytest-cov
34
+ - name: Generate coverage report
35
+ run: pytest --cov=wikitextparser tests --cov-report=xml --cov-fail-under=80
36
+ - name: Upload coverage to Codecov
37
+ # https://github.com/codecov/codecov-action
38
+ uses: codecov/codecov-action@v4
39
+ with:
40
+ files: ./coverage.xml
41
+ env_vars: OS,PYTHON
42
+ token: ${{ secrets.CODECOV_TOKEN }}
@@ -0,0 +1 @@
1
+ dev/profiles/*results*
@@ -0,0 +1,25 @@
1
+ # .readthedocs.yaml
2
+ # Read the Docs configuration file
3
+ # See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
4
+
5
+ # Required
6
+ version: 2
7
+
8
+ # Set the version of Python and other tools you might need
9
+ build:
10
+ os: ubuntu-20.04
11
+ tools:
12
+ python: "3"
13
+
14
+ # Build documentation in the docs/ directory with Sphinx
15
+ sphinx:
16
+ configuration: docs/conf.py
17
+
18
+ # If using Sphinx, optionally build your docs in additional formats such as PDF
19
+ formats: all
20
+
21
+ # Optionally declare the Python requirements required to build your docs
22
+ python:
23
+ install:
24
+ - method: pip
25
+ path: .
@@ -1,3 +1,11 @@
1
+ v0.55.10
2
+ --------
3
+ * Fixed a bug in ``plain_text`` causing ``IndexError`` when using a custom function to replace ``templates``/``parser_functions``.
4
+
5
+ v0.55.9
6
+ -------
7
+ - Fixed a bug in ``plain_text`` not detecting images with multiple dots correctly. (#129)
8
+
1
9
  v0.55.8
2
10
  -------
3
11
  - Fixed: Equal signs in extension tag attributes are no longer confused with name-value separator in arguments. (#128)