Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Update copyright notice. | Andi Albrecht | 2020-10-07 | 1 | -1/+1 |
| | |||||
* | Remove support for end-of-life Pythons | Jon Dufresne | 2020-08-31 | 1 | -14/+13 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. | ||||
* | Update copyright header (fixes #372). | Andi Albrecht | 2018-07-31 | 1 | -1/+2 |
| | |||||
* | indent all identifiers, including the first one, by width instead of keyword ↵ | Patrick Schemitz | 2018-03-03 | 1 | -0/+9 |
| | | | | length | ||||
* | Code cleanup. | Andi Albrecht | 2017-12-03 | 1 | -5/+6 |
| | |||||
* | Fix regression introduced by new indent_after_first option. | Andi Albrecht | 2017-12-03 | 1 | -0/+1 |
| | |||||
* | Option to indent after first line | Johannes Hoff | 2017-06-20 | 1 | -0/+6 |
| | | | | | | | | | | | | | | | | | | This adds a command line argument `--indent_after_first` which sets the indentation of all lines after the first one, e.g. SELECT, UPDATE, etc. For example: $ sqlparse/__main__.py -r sample.sql UPDATE foo SET a = 1 WHERE a > 2 AND a < 10; $ sqlparse/__main__.py -r --indent_after_first sample.sql UPDATE foo SET a = 1 WHERE a > 2 AND a < 10; | ||||
* | Add formatter option for comma first notation (fixes #141). | Andi Albrecht | 2016-09-14 | 1 | -1/+7 |
| | |||||
* | Correct license link (fixes #288). | Andi Albrecht | 2016-09-14 | 1 | -1/+1 |
| | |||||
* | Apply new-style str format | Victor Uriarte | 2016-06-11 | 1 | -18/+22 |
| | |||||
* | Format `pr` to pass flake8 and update functions used | Victor Uriarte | 2016-06-06 | 1 | -3/+3 |
| | |||||
* | Add filter `Spaces around Operators` | Adam Greenhall | 2016-06-06 | 1 | -0/+9 |
| | |||||
* | Start work on Aligned-reindent | Adam Greenhall | 2016-06-06 | 1 | -0/+12 |
| | |||||
* | Remove default values from dict.get(...) | Victor Uriarte | 2016-06-04 | 1 | -13/+12 |
| | | | | Default is already Null/False | ||||
* | Add or Update copyright year to files | Victor Uriarte | 2016-06-04 | 1 | -2/+4 |
| | |||||
* | Add --wrap_after option for wrapping identifier lists. | Dennis Taylor | 2016-06-02 | 1 | -2/+14 |
| | |||||
* | Cleanup module code. | Andi Albrecht | 2015-10-26 | 1 | -2/+2 |
| | |||||
* | Add option to truncate long string literals. | Andi Albrecht | 2013-07-09 | 1 | -0/+17 |
| | |||||
* | Move SQLParseError to proper location and start deprecation of ↵ | Andi Albrecht | 2012-11-03 | 1 | -1/+1 |
| | | | | sqlparse.SQLParseError. | ||||
* | Check for None values in options dict, reported by Marco44. | Andi Albrecht | 2010-08-26 | 1 | -2/+2 |
| | | | | | | | See http://groups.google.com/group/sqlparse/browse_thread/thread/2acecd715a48a169 The default options for identifiers and keywords (to do nothing) got lost since both are in the options dict, but with None as value. | ||||
* | PEP8: Code cleanup. | Andi Albrecht | 2010-07-04 | 1 | -1/+0 |
| | |||||
* | pep8'ified the code a bit. | Andi Albrecht | 2009-06-11 | 1 | -1/+0 |
| | |||||
* | * Python and PHP output filter now add a trailing whitespace. | Andi Albrecht | 2009-05-06 | 1 | -1/+1 |
| | | | | * More test coverage. | ||||
* | Code cleanup and test coverage. | Andi Albrecht | 2009-05-06 | 1 | -38/+0 |
| | |||||
* | Removed logging stuff that was only needed for debugging on AppEngine. | Andi Albrecht | 2009-05-06 | 1 | -3/+0 |
| | |||||
* | Initial import. | Andi Albrecht | 2009-04-03 | 1 | -0/+163 |