| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Optimize regular expression for identifying line breaks in comments. | Andi Albrecht | 2021-09-10 | 1 | -0/+17 |
| | | |||||
| * | Preserve line breaks when removing comments (fixes #484). | Andi Albrecht | 2020-09-13 | 1 | -7/+7 |
| | | |||||
| * | Remove support for end-of-life Pythons | Jon Dufresne | 2020-08-31 | 1 | -8/+6 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Python 2.7 and 3.4 are end-of-life. They are no longer receiving bug fixes, including for security issues. Python 2.7 went EOL on 2020-01-01 and 3.4 on 2019-03-18. For additional details on support Python versions, see: Supported: https://devguide.python.org/#status-of-python-branches EOL: https://devguide.python.org/devcycle/#end-of-life-branches Removing support for EOL Pythons will reduce testing and maintenance resources while allowing the library to move towards modern Python 3. Using pypinfo, we can show the PyPI download statistics, showing less than 10% of users are using Python 2.7. | python_version | percent | download_count | | -------------- | ------: | -------------: | | 3.7 | 45.36% | 3,056,010 | | 3.6 | 26.46% | 1,782,778 | | 3.8 | 12.22% | 823,213 | | 2.7 | 9.97% | 671,459 | | 3.5 | 5.86% | 394,846 | | 3.4 | 0.10% | 6,700 | | 3.9 | 0.03% | 2,346 | | 2.6 | 0.00% | 57 | | 3.3 | 0.00% | 21 | | 3.10 | 0.00% | 6 | | Total | | 6,737,436 | Library users who continue to use Python 2.7 will still be able to install previous versions of sqlparse. Compatibility shims have been dropped, simplifying the code. Using pyupgrade, the codebase has been updated to take advantage of modern syntax <https://github.com/asottile/pyupgrade>. The wheel is no longer marked as "universal" as it is now Python 3 only. | ||||
| * | [filters] Stripping parenthesis whitespace | John Bodley | 2019-03-10 | 1 | -3/+3 |
| | | |||||
| * | Fix formatting on INSERT (fixes #329) | Fredy Wijaya | 2019-03-10 | 1 | -0/+43 |
| | | | | | | | | | | | | | | | | | | | | | This patch fixes the formatting on INSERT by creating a new instance of sql.Values to group all the values. SQL: insert into foo values (1, 'foo'), (2, 'bar'), (3, 'baz') Before: insert into foo values (1, 'foo'), (2, 'bar'), (3, 'baz') After: insert into foo values (1, 'foo'), (2, 'bar'), (3, 'baz') | ||||
| * | Merge branch 'issue_425' of https://github.com/fredyw/sqlparse into ↵ | Andreas Albrecht | 2019-03-10 | 1 | -0/+13 |
| |\ | | | | | | | fredyw-issue_425 | ||||
| | * | Fix issue with strip_comments causing a syntax error (fixes #425) | Fredy Wijaya | 2018-11-21 | 1 | -0/+13 |
| | | | |||||
| * | | Code cleanup. | Andreas Albrecht | 2019-03-10 | 1 | -2/+2 |
| | | | |||||
| * | | Fix reindent issue for parenthesis (fixes issue 427) | Fredy Wijaya | 2018-12-03 | 1 | -0/+5 |
| |/ | |||||
| * | Deal with long function params | Soloman Weng | 2018-03-26 | 1 | -0/+12 |
| | | |||||
| * | Better formatting when using comma-first notation (issue141). | Andi Albrecht | 2016-09-17 | 1 | -4/+4 |
| | | |||||
| * | Add formatter option for comma first notation (fixes #141). | Andi Albrecht | 2016-09-14 | 1 | -0/+15 |
| | | |||||
| * | Split test/asserts that are weakly related | Victor Uriarte | 2016-06-20 | 1 | -8/+22 |
| | | |||||
| * | Remove some test classes and clean-up | Victor Uriarte | 2016-06-20 | 1 | -159/+173 |
| | | |||||
| * | Replace other UnitTest with Py.Test | Victor Uriarte | 2016-06-20 | 1 | -46/+48 |
| | | |||||
| * | Replace ndiffAssertEqual with Py.Test | Victor Uriarte | 2016-06-20 | 1 | -250/+222 |
| | | |||||
| * | Add multi-statement output tests | Victor Uriarte | 2016-06-11 | 1 | -0/+16 |
| | | |||||
| * | Add right marging and options tests | Victor Uriarte | 2016-06-11 | 1 | -0/+14 |
| | | | | | | | | Make pytest alert of any passing tests marked to fail Idea is to include tests for un-fixed bugs. If they are passing we want to know | ||||
| * | Format `pr` to pass flake8 and update functions used | Victor Uriarte | 2016-06-06 | 1 | -14/+20 |
| | | |||||
| * | Add filter `Spaces around Operators` | Adam Greenhall | 2016-06-06 | 1 | -0/+34 |
| | | |||||
| * | Fix Case statements Alignment | Adam Greenhall | 2016-06-06 | 1 | -0/+30 |
| | | |||||
| * | Fix/Test Joins | Adam Greenhall | 2016-06-06 | 1 | -0/+26 |
| | | |||||
| * | Fix/Test Limit statements | Adam Greenhall | 2016-06-06 | 1 | -0/+2 |
| | | |||||
| * | Test: Window functions | Adam Greenhall | 2016-06-06 | 1 | -0/+16 |
| | | |||||
| * | Fix/Test `Group-By` | Adam Greenhall | 2016-06-06 | 1 | -0/+54 |
| | | |||||
| * | Test: Case statements | aneeshk | 2016-06-06 | 1 | -0/+28 |
| | | |||||
| * | Start work on Aligned-reindent | Adam Greenhall | 2016-06-06 | 1 | -0/+32 |
| | | |||||
| * | Add --wrap_after option for wrapping identifier lists. | Dennis Taylor | 2016-06-02 | 1 | -0/+12 |
| | | |||||
| * | Code cleanup in tests. | Andi Albrecht | 2015-10-26 | 1 | -3/+6 |
| | | |||||
| * | Fix of problem with multiline treated as stackable while /* /* */ is one ↵ | JacekPliszka | 2015-02-12 | 1 | -0/+3 |
| | | | | | comment, not two stacked | ||||
| * | Improve formatting of HAVING statements. | Andi Albrecht | 2014-12-21 | 1 | -0/+15 |
| | | |||||
| * | Fix SerializerUnicode to split unquoted newlines | Michael Schuller | 2014-03-10 | 1 | -0/+17 |
| | | | | | | | | This provides a fix to issue #131. The `split_unquoted_newlines()` function added to the utils module handles the splitting of the string by performing a simple iteration of the string passed in and splitting on unquoted CR, LF, or CR+LFs as they are found. | ||||
| * | Add option to truncate long string literals. | Andi Albrecht | 2013-07-09 | 1 | -0/+26 |
| | | |||||
| * | Fixed lack of a new line before function in test_format.py. | Yago Riveiro | 2013-04-26 | 1 | -0/+1 |
| | | |||||
| * | Added test to STRAIGHT_JOIN token. | Yago Riveiro | 2013-04-26 | 1 | -1/+5 |
| | | |||||
| * | Add order criterion to identifier in ORDER BY clause (fixes #89). | Andi Albrecht | 2013-04-05 | 1 | -0/+11 |
| | | |||||
| * | PEP8'ified to code a bit. | Andi Albrecht | 2012-11-12 | 1 | -1/+1 |
| | | |||||
| * | Move SQLParseError to proper location and start deprecation of ↵ | Andi Albrecht | 2012-11-03 | 1 | -9/+10 |
| | | | | | sqlparse.SQLParseError. | ||||
| * | Put common code from Python and PHP output filters in OutputFilter | Jesús Leganés Combarro "Piranna" | 2012-04-28 | 1 | -2/+2 |
| | | |||||
| * | Preserve whitespace after subgroups. | Andi Albrecht | 2012-04-19 | 1 | -0/+6 |
| | | |||||
| * | Choose first token during identifier grouping when both names/symbols and ↵ | Andi Albrecht | 2011-09-27 | 1 | -1/+6 |
| | | | | | functions are found (fixes issue45). | ||||
| * | Releax keyword detection, when keywords are used as function names (fixes ↵ | Andi Albrecht | 2011-07-24 | 1 | -0/+7 |
| | | | | | issue36). | ||||
| * | Fix formatting issue with extended CASE statements. | Andi Albrecht | 2011-02-28 | 1 | -0/+8 |
| | | |||||
| * | Ignore identifiers in double-quotes when changing identifier case (fixes ↵ | Andi Albrecht | 2010-11-21 | 1 | -1/+1 |
| | | | | | issue21). | ||||
| * | Ignore AND after BETWEEN when reindenting statements (fixes issue14). | Andi Albrecht | 2010-11-21 | 1 | -0/+8 |
| | | |||||
| * | Fix test case for CASE reindent. | Andreas Albrecht | 2010-01-11 | 1 | -3/+4 |
| | | |||||
| * | Add formatting test case for complex identifier lists. | Andi Albrecht | 2009-07-12 | 1 | -0/+10 |
| | | |||||
| * | * Python and PHP output filter now add a trailing whitespace. | Andi Albrecht | 2009-05-06 | 1 | -0/+45 |
| | | | | | * More test coverage. | ||||
| * | Improved check for duplicated newlines (targets issue3). | Andi Albrecht | 2009-05-05 | 1 | -0/+5 |
| | | |||||
| * | Added unittest for issue3. | Andi Albrecht | 2009-05-05 | 1 | -2/+15 |
| | | |||||
