summaryrefslogtreecommitdiff
path: root/sqlparse/formatter.py
Commit message (Collapse)AuthorAgeFilesLines
* Update copyright header (fixes #372).Andi Albrecht2018-07-311-1/+2
|
* indent all identifiers, including the first one, by width instead of keyword ↵Patrick Schemitz2018-03-031-0/+9
| | | | length
* Code cleanup.Andi Albrecht2017-12-031-5/+6
|
* Fix regression introduced by new indent_after_first option.Andi Albrecht2017-12-031-0/+1
|
* Option to indent after first lineJohannes Hoff2017-06-201-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 Albrecht2016-09-141-1/+7
|
* Correct license link (fixes #288).Andi Albrecht2016-09-141-1/+1
|
* Apply new-style str formatVictor Uriarte2016-06-111-18/+22
|
* Format `pr` to pass flake8 and update functions usedVictor Uriarte2016-06-061-3/+3
|
* Add filter `Spaces around Operators`Adam Greenhall2016-06-061-0/+9
|
* Start work on Aligned-reindentAdam Greenhall2016-06-061-0/+12
|
* Remove default values from dict.get(...)Victor Uriarte2016-06-041-13/+12
| | | | Default is already Null/False
* Add or Update copyright year to filesVictor Uriarte2016-06-041-2/+4
|
* Add --wrap_after option for wrapping identifier lists.Dennis Taylor2016-06-021-2/+14
|
* Cleanup module code.Andi Albrecht2015-10-261-2/+2
|
* Add option to truncate long string literals.Andi Albrecht2013-07-091-0/+17
|
* Move SQLParseError to proper location and start deprecation of ↵Andi Albrecht2012-11-031-1/+1
| | | | sqlparse.SQLParseError.
* Check for None values in options dict, reported by Marco44.Andi Albrecht2010-08-261-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 Albrecht2010-07-041-1/+0
|
* pep8'ified the code a bit.Andi Albrecht2009-06-111-1/+0
|
* * Python and PHP output filter now add a trailing whitespace.Andi Albrecht2009-05-061-1/+1
| | | | * More test coverage.
* Code cleanup and test coverage.Andi Albrecht2009-05-061-38/+0
|
* Removed logging stuff that was only needed for debugging on AppEngine.Andi Albrecht2009-05-061-3/+0
|
* Initial import.Andi Albrecht2009-04-031-0/+163