Ben Kurtovic
7ef2c45b30
Fix one Generator annotation
1 рік тому
Ben Kurtovic
80b848354c
Bump actions/upload-artifact to v4
1 рік тому
Ben Kurtovic
95c6bda2ca
Run ruff
1 рік тому
Ben Kurtovic
6e0dcf6359
Switch to ruff
1 рік тому
Ben Kurtovic
52ec0bcf85
Update type annotations
1 рік тому
Jakub Klinkovský
3e9da21a84
Add more type hints ( #338 )
* Fix formatting
* Add quick mypy config file
* Add type hints: mwparserfromhell.definitions
* Add type hints: mwparserfromhell.wikicode
* Add type hints: mwparserfromhell.nodes._base
* Add type hints: mwparserfromhell.nodes.argument
* Add type hints: mwparserfromhell.nodes.comment
* Add type hints: mwparserfromhell.nodes.external_link
* Add type hints: mwparserfromhell.nodes.heading
* Add type hints: mwparserfromhell.nodes.html_entity
* Add type hints: mwparserfromhell.nodes.tag
* Add type hints: mwparserfromhell.nodes.template
* Add type hints: mwparserfromhell.nodes.text
* Add type hints: mwparserfromhell.nodes.wikilink
* Add type hints: mwparserfromhell.nodes.extras.attribute
* Add type hints: mwparserfromhell.nodes.extras.parameter
* Fix typo in docstring
---------
Co-authored-by: Jakub Klinkovský <1289205+lahwaacz@users.noreply.github.com>
1 рік тому
Cateon
5f57d2e373
feat: update template via encapsulated method ( #337 )
* feat: update template via encapsulated method
* remove type-hints
* refactor: by lahwaacz
Co-authored-by: Jakub Klinkovský <lahwaacz@users.noreply.github.com>
* fix: tweak
* refactor: dict.update() -like style
---------
Co-authored-by: Jakub Klinkovský <lahwaacz@users.noreply.github.com>
1 рік тому
Shantanu
4798903d7a
Add Python 3.13 to build ( #334 )
.
1 рік тому
Richard Barnes
537e1e19e3
Make fallthrough explicit in tok_parse.c ( #326 )
* Make fallthrough explicit in tok_parse.c
In response to #325
* Update tok_parse.c
2 роки тому
Ben Kurtovic
4e73af2fab
Fix README code block formatting
2 роки тому
Ben Kurtovic
e0150e359e
Update changelog, rerun hooks, add an assert
2 роки тому
E. Seiver
e24c6e4001
Template.add `after=` parameter ( #315 )
* +after param to Template.add
also updates docstring
* Template.add param after test
2 роки тому
Ben Kurtovic
74e0be1afe
Version bump
2 роки тому
Ben Kurtovic
d65de575a4
release/0.6.6
2 роки тому
Ben Kurtovic
e00c202ce9
Fix missing dependency in appveyor config
2 роки тому
Ben Kurtovic
b997514125
run-tests: with-extension env var must be set when building project
2 роки тому
Ben Kurtovic
fed08e09f3
Add missing dependencies to run-tests action
2 роки тому
Ben Kurtovic
edb448fa29
Add Python 3.12 to build
2 роки тому
Ben Kurtovic
28343dfaf1
Update changelog
2 роки тому
David Ebbo
4acb885b9f
Increase MAX_DEPTH to 100 ( #314 )
* Increase MAX_DEPTH to 100
* Update nested_templates_and_style_tags to cover new limit
2 роки тому
Ben Kurtovic
b7ebc705c8
Update changelog
2 роки тому
Ben Kurtovic
fc1440a7b3
Fix building on Python 3.12 ( fixes #312 )
2 роки тому
Ben Kurtovic
8bce6ff379
Drop EOL Python 3.7
3 роки тому
Ben Kurtovic
3e62aa136f
Fix docs build
3 роки тому
Ben Kurtovic
ee935f69dd
Version bump and fix docs build
3 роки тому
Ben Kurtovic
0f5c1daf78
release/0.6.5
3 роки тому
Ben Kurtovic
258aac9884
Downgrade checkout action (?)
3 роки тому
Ben Kurtovic
af83306e04
Fix pickling SmartLists ( fixes #289 )
3 роки тому
Ben Kurtovic
c2efba5fc1
Update actions versions
3 роки тому
Ben Kurtovic
1f8121c691
Update Linux and Windows wheel builds
3 роки тому
Ben Kurtovic
41a86058af
Drop 3.6 in MacOS wheel build
3 роки тому
Ben Kurtovic
8c8d4463ac
Drop Python 3.6, add 3.11
3 роки тому
Kunal Mehta
d3b8469e89
Move tests to GitHub Actions instead of Travis CI
5 роки тому
Ben Kurtovic
2241ce0978
Update changelog
3 роки тому
deClerambaul
0f89f4426b
Add missing TagData_dealloc ( #303 )
3 роки тому
Ben Kurtovic
cabdf77b36
Update appveyor config
3 роки тому
Ben Kurtovic
f963df7f82
Fix parsing of leading zeros in named HTML entities ( fixes #288 )
4 роки тому
Ben Kurtovic
6665505251
Version bump; switch from master+develop to main
4 роки тому
Ben Kurtovic
7738752b01
release/0.6.4
4 роки тому
Ben Kurtovic
2155638b91
Fix regression in parsing nested wikilinks in file captions
This regression seems more severe than the bug the commit was
attempting to fix (incorrect parsing of nested wikilinks in normal
links), so that bug is reintroduced until localization-aware parsing
that allows us to detect file links is added.
This commit partially reverts fac60dee48 .
4 роки тому
Ben Kurtovic
492fc22283
Congruity in GH Actions step names
4 роки тому
Ben Kurtovic
abcf6298aa
Attempt to fix build again
5 роки тому
Ben Kurtovic
70ec3e36e3
Attempt to improve GH Actions wheel building
5 роки тому
Ben Kurtovic
a7098af650
Thanks YAML, very cool
5 роки тому
Ben Kurtovic
3ae07d450a
Add Python 3.10 to Linux/macOS wheel builds; drop 3.5 ( #278 )
5 роки тому
Ben Kurtovic
0a26fc6200
Version bump
5 роки тому
Ben Kurtovic
be4746f73d
release/0.6.3
5 роки тому
Ben Kurtovic
c7d1c3d660
Add pre-commit hooks
5 роки тому
Ben Kurtovic
8cd0bdb322
Autoformat: black + clang-format + clang-tidy
5 роки тому
Ben Kurtovic
911d7e5f88
Clean up external links parsing logic and fix integer conversion
5 роки тому