summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* add regex pattern to identify IN as a Compasion tokenhurcy2020-09-132-2/+12
|
* Merge branch 'jdufresne-w503'Andi Albrecht2020-09-133-5/+3
|\
| * Merge branch 'w503' of https://github.com/jdufresne/sqlparse into jdufresne-w503Andi Albrecht2020-09-133-5/+3
| |\ |/ /
| * Merge branch 'master' into w503Andi Albrecht2020-09-1341-308/+160
| |\
| | * Remove unused pytest-travis-fold test dependencyJon Dufresne2020-09-131-3/+0
| | | | | | | | | | | | | | | The Travis configuration does not executed through tox since f2a3a6ea356dc38e79c4a025217ed8a3875cabac.
| | * Document PyPy support with trove classifierJon Dufresne2020-09-131-0/+2
| | |
| * | Simply flake8 configurationJon Dufresne2020-08-311-2/+1
| | | | | | | | | | | | W503 is ignored by default.
* | | Correct capitalization of PyPy.Andi Albrecht2020-09-131-1/+1
| |/ |/| | | | | See also https://github.com/andialbrecht/sqlparse/pull/555
* | Update tests to work with newer pytest version.Andi Albrecht2020-09-131-47/+28
| | | | | | | | Also some unification of the tests.
* | Merge branch 'jdufresne-py2'Andi Albrecht2020-09-1341-256/+131
|\ \
| * \ Merge branch 'master' into py2Andi Albrecht2020-09-131-3/+0
| |\ \ | |/ / |/| |
* | | Remove deprecated license_file from setup.cfgJon Dufresne2020-09-131-3/+0
| |/ |/| | | | | | | | | | | | | | | | | | | | | Starting with wheel 0.32.0 (2018-09-29), the "license_file" option is deprecated. https://wheel.readthedocs.io/en/stable/news.html The wheel will continue to include LICENSE, it is now included automatically: https://wheel.readthedocs.io/en/stable/user_guide.html#including-license-files-in-the-generated-wheel-file
| * Remove support for end-of-life PythonsJon Dufresne2020-08-3141-256/+131
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* [fix] Adding TypedLiteral to comparisonJohn Bodley2020-03-292-2/+13
|
* Switch back to develoment mode.Andreas Albrecht2020-02-292-1/+7
|
* Update Makefile to reflect changes in current twine.Andreas Albrecht2020-02-291-1/+1
|
* Update version number for release.0.3.1Andreas Albrecht2020-02-292-3/+3
|
* add comma_first option for docsgingi992020-02-021-0/+5
|
* put available format options into API docxg19902020-02-021-0/+6
|
* Update changelog and authors.Andreas Albrecht2020-02-022-0/+2
|
* [grouping] group_as() no longer groups AS CTELikai Liu2020-02-022-1/+9
| | | | | | | | | | | | | | | | | This patch changes the grouping of AS so that: Foo AS WITH bar AS 1 SELECT 2 with no longer be grouped as: [Identifier[Foo, AS, WITH, Identifier[Bar AS 1]], SELECT, 2] but will be grouped as: [Identifier[Foo], AS, WITH, Identifier[Bar AS 1], SELECT, 2] This fixes the parsing of CREATE TABLE new_table AS WITH ... so the rest of the tokens after AS are parsed the same as a bare WITH.
* [fix] Fixing typed literal regressionJohn Bodley2020-02-023-4/+9
|
* Update sql.pyJohn Bodley2020-01-201-1/+2
|
* Update sql.pyJohn Bodley2020-01-201-1/+1
|
* [sql] Adding TIMESTAMP to typed literalJohn Bodley2020-01-201-1/+1
|
* CI: Remove obsolete comment.Andreas Albrecht2020-01-161-2/+1
|
* Update changelog and authors.Andreas Albrecht2020-01-162-0/+2
|
* Fix testCorey Zumar2020-01-161-14/+14
|
* Like/ilike comparison testCorey Zumar2020-01-161-0/+35
|
* Add symbols back to comparison testCorey Zumar2020-01-162-1/+2
|
* More test casesCorey Zumar2020-01-163-2/+23
|
* Add first test caseCorey Zumar2020-01-162-3/+4
|
* Map like and ilike clauses to comparisonsCorey Zumar2020-01-161-1/+1
|
* CI: Try to simplify Travis configuration.Andreas Albrecht2020-01-081-3/+1
|
* Add Python 3.8 to list of classifiers.Andreas Albrecht2020-01-081-0/+1
|
* CI: Add Python 3.8 to test matrix.Andreas Albrecht2020-01-081-0/+1
|
* Refactored extract column defs example (fixes #439, #411, #526).Andreas Albrecht2020-01-061-13/+20
|
* Update changelog.Andreas Albrecht2020-01-061-0/+1
|
* Stabilize grouping engine when parsing invalid SQL statements.Andreas Albrecht2020-01-061-2/+2
| | | | | It's just to make sure, that the comparison returns a valid result when feed with invalid SQL statements.
* Update changelog.Andreas Albrecht2019-10-211-0/+1
|
* CI: Skip codecov after code checks.Andreas Albrecht2019-10-201-0/+1
|
* CI: Try to run codechecks.Andreas Albrecht2019-10-201-0/+6
|
* Code cleanup.Andreas Albrecht2019-10-205-19/+26
|
* Update changelog and authors.Andreas Albrecht2019-10-202-0/+2
|
* support typed literals (if that's what they're called)Dvořák Václav2019-10-204-6/+71
|
* [sql] Fix TokenList.__init__ when no tokens are providedJohn Bodley2019-10-091-1/+1
|
* Update changelog.Andreas Albrecht2019-10-091-0/+1
|
* [fix] Addressing issue #507John Bodley2019-10-092-3/+11
|
* Restrict detection of alias names (fixes #455).Andreas Albrecht2019-10-094-20/+35
| | | | | This change adopts some parts of the pull request #509 by john-bodley. Thanks!
* Update extract_table_names.pyJames Winegar2019-07-181-1/+1
| | | PEP 479 Python 3.5+ raises an exception for StopIteration instead of a null return.