Ben Kurtovic
1c983d3738
Assorted cleanup, linter fixes, and improvements for Python 3
il y a 3 ans
Kunal Mehta
7e5297fbe6
Drop Python 2 support
Fixes #221 .
il y a 4 ans
Ben Kurtovic
708bee59e1
Minor cleanup
il y a 5 ans
Ben Kurtovic
83bcb902b8
Support manual construction of Node objects ( fixes #214 )
il y a 5 ans
Hugo
e457b39f32
Upgrade Python syntax with pyupgrade https://github.com/asottile/pyupgrade
il y a 5 ans
Ben Kurtovic
aaffb7f66b
Update copyright for 2016.
il y a 8 ans
Ben Kurtovic
e71e7b4ece
Update copyright years for 2015; fix whitespace in docs.
il y a 9 ans
Ben Kurtovic
810c24e123
Don't check quotes when attributes are built from tokens.
il y a 9 ans
Ben Kurtovic
87e0079512
Take proper advantage of Sphinx's default domains.
il y a 10 ans
Ben Kurtovic
b997e4cd71
Support attributes quoted with '; add required quotes in value setter.
il y a 10 ans
Ben Kurtovic
8bc7ea669d
Improve test coverage; fix some node-related bugs.
* Parameters with non-integer keys can no longer be created with
showkey=False, nor have the value of this attribute be set to False
later.
* Calling Template.remove() with a Parameter object that is not part of
the template now raises ValueError instead of doing nothing.
* Added tests for HTMLEntity._unichr() being called with out-of-range
codepoints.
* Added tests for Tag.__children__() and Tag.__showtree__() involving
attributes that have no values.
il y a 10 ans
Ben Kurtovic
e5f17eea00
Update copyright notices for 2014.
il y a 10 ans
Ben Kurtovic
066049b46a
Update email address.
il y a 10 ans
Ben Kurtovic
9280cb16fe
Fix behavior with quoted attrs and spaces before the =.
il y a 10 ans
Ben Kurtovic
53c26589ee
Some node fixes; attributes with empty values now display correctly.
il y a 10 ans
Ben Kurtovic
b8752a5c15
test_attribute; better setters for padding attributes
il y a 10 ans
Ben Kurtovic
77c4df701b
Fix assorted bugs in the Tag node.
il y a 10 ans
Ben Kurtovic
81e8fdd682
Give Attributes more attributes for padding data.
il y a 11 ans
Ben Kurtovic
cd5cc6a7d0
Update copyright notices for 2013.
il y a 11 ans
Ben Kurtovic
05ec7a1a92
Improve padding support for Tags; more code for tags in tokenizer.
il y a 11 ans
Ben Kurtovic
38b664f8c5
Add missing setters for some nodes and extras ( #8 )
il y a 11 ans
Ben Kurtovic
816207bb5a
Simplify docs massively.
il y a 11 ans
Ben Kurtovic
aeb214acb5
Document compat, nodes.extras, Attribute, Parameter
il y a 11 ans
Ben Kurtovic
90b18e3abc
Finish updating all to compat except for the parser.
il y a 11 ans
Riamse
aa4b45c1bb
Forgot the extras folder
il y a 11 ans
Ben Kurtovic
137b9fc68f
Fix some bugs; satisfy PyLint on certain inheritance things.
il y a 11 ans
Ben Kurtovic
3633f31633
Relaive imports because they are awesome; more stuff in SmartList.
il y a 11 ans
Ben Kurtovic
fca7e9dd80
Implement Heading, HTMLTag, HTMLTagAttribute, plus some fixes.
il y a 11 ans
Ben Kurtovic
900c559385
Move mwpfh.parser.utils to mwpfh.utils; fix import structure.
il y a 12 ans
Ben Kurtovic
e88a5fd3cc
Quite a bit of additions, mostly to Template.
il y a 12 ans
Ben Kurtovic
e4fd6ef127
Updating with a more logical project structure.
il y a 12 ans