aboutsummaryrefslogtreecommitdiff
path: root/wqflask/utility/svg.py
AgeCommit message (Expand)Author
2022-02-18wqflask: Remove python pre-2.2 checks....These checks are only relevant for python pre-2.2. * wqflask/utility/svg.py: Remove python pre-2.2 checks. Arun Isaac
2021-04-30autopep8: Run autopep8 100 times with target rules...Rules used are: E20,E211,E22,E224,E224,E225,E226,E227,E228,E231,E241,E242, E251,E252,E26,E265,E266,E27,E301,E302,E303,E304,E305,E306, E401,E501,E70,E701,W291,W292,W293,W391,W504,E101,E11,E121, E122,E123,E124,E125,E126,E127,E128,E129,E131,E133 BonfaceKilz
2021-04-30autopep8: Fix W504BonfaceKilz
2021-04-30autopep8: Fix E501BonfaceKilz
2021-04-30autopep8: Fix E301,E302,E303,E304,E305,E306BonfaceKilz
2021-04-30autopep8: Fix E20-E27...Run: python -m autopep8 --in-place --recrusive ./ --select\ E20,E211,E22,E224,E224,E225,E226,E227,E228,E231,E241,\ E242,E251,E252,E26,E265,E266,E27 -p 3 BonfaceKilz
2020-08-20Handle module renames in the standard library...Run: ``` 2to3-3.8 -f imports -w . && \ 2to3-3.8 -f imports2 -w . ``` See: <https://docs.python.org/2/library/2to3.html#2to3fixer-imports> and <https://docs.python.org/2/library/2to3.html#2to3fixer-imports2> BonfaceKilz
2020-08-19Remove extra whitespace(or add it) from comma separated items...See: <https://docs.python.org/2/library/2to3.html#2to3fixer-urllib> BonfaceKilz
2020-08-19Make Python more idiomatic...Run `2to3-3.8 -f idioms -w .` See: <https://docs.python.org/2/library/2to3.html#2to3fixer-idioms> BonfaceKilz
2020-08-19Wrap `raise` statements in parenthesis...Run `2to3-3.8 -f raise -w .` See: <https://docs.python.org/2/library/2to3.html#2to3fixer-raise> BonfaceKilz
2020-08-19Convert the old not-equal syntax, <>, to !=...Run `2to3-3.8 -f ne -w .` See: <https://docs.python.org/2/library/2to3.html#2to3fixer-ne> BonfaceKilz
2020-08-19Fix dictionary iteration methods...Run `2to3-3.8 -f dict -w .` See: <https://docs.python.org/2/library/2to3.html#2to3fixer-dict> and <https://stackoverflow.com/questions/17695456/why-does-python-3-need-dict-items-to-be-wrapped-with-list> BonfaceKilz
2020-08-19Remove erroneous `if .. else` branch...* wqflask/utility/svg.py [roct, ellipse, SVGelement]: Raise only a single value error if either height or width is not defined. Fixes parsing error when running `2to3-3.8 -f apply -w .` BonfaceKilz
2020-08-18Apply pep8...* wqflask/utility/svg.py: Apply pep8 to fix indentation error when running `2to3-3.8 -w .`: ```` RefactoringTool: Can't parse ./wqflask/utility/svg.py: IndentationError: unindent does not match any outer indentation level (<tokenize>, line 403) ```` BonfaceKilz
2020-08-18Replace "<>" with "!="...* wqflask/utility/svg.py: Use "!=". The operator, "<>" is removed in Python3 BonfaceKilz
2020-08-18Wrap print statements in parenthesesBonfaceKilz
2018-03-22Change raise statement...* Change the raise statement to use an Exception object rather than using a string for compatibility with Python3. Muriithi Frederick Muriuki
2016-06-18Changed file permssions to non-executablePjotr Prins
2012-06-05Ran reindent.py recursively on wqflask directorySam Ockman
2012-05-24Trying to get stuff working under new structureSam Ockman