Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | add regex pattern to identify IN as a Compasion token | hurcy | 2020-09-13 | 2 | -2/+12 | |
| | ||||||
* | Merge branch 'jdufresne-w503' | Andi Albrecht | 2020-09-13 | 3 | -5/+3 | |
|\ | ||||||
| * | Merge branch 'w503' of https://github.com/jdufresne/sqlparse into jdufresne-w503 | Andi Albrecht | 2020-09-13 | 3 | -5/+3 | |
| |\ |/ / | ||||||
| * | Merge branch 'master' into w503 | Andi Albrecht | 2020-09-13 | 41 | -308/+160 | |
| |\ | ||||||
| | * | Remove unused pytest-travis-fold test dependency | Jon Dufresne | 2020-09-13 | 1 | -3/+0 | |
| | | | | | | | | | | | | | | | The Travis configuration does not executed through tox since f2a3a6ea356dc38e79c4a025217ed8a3875cabac. | |||||
| | * | Document PyPy support with trove classifier | Jon Dufresne | 2020-09-13 | 1 | -0/+2 | |
| | | | ||||||
| * | | Simply flake8 configuration | Jon Dufresne | 2020-08-31 | 1 | -2/+1 | |
| | | | | | | | | | | | | W503 is ignored by default. | |||||
* | | | Correct capitalization of PyPy. | Andi Albrecht | 2020-09-13 | 1 | -1/+1 | |
| |/ |/| | | | | | See also https://github.com/andialbrecht/sqlparse/pull/555 | |||||
* | | Update tests to work with newer pytest version. | Andi Albrecht | 2020-09-13 | 1 | -47/+28 | |
| | | | | | | | | Also some unification of the tests. | |||||
* | | Merge branch 'jdufresne-py2' | Andi Albrecht | 2020-09-13 | 41 | -256/+131 | |
|\ \ | ||||||
| * \ | Merge branch 'master' into py2 | Andi Albrecht | 2020-09-13 | 1 | -3/+0 | |
| |\ \ | |/ / |/| | | ||||||
* | | | Remove deprecated license_file from setup.cfg | Jon Dufresne | 2020-09-13 | 1 | -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 Pythons | Jon Dufresne | 2020-08-31 | 41 | -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 comparison | John Bodley | 2020-03-29 | 2 | -2/+13 | |
| | ||||||
* | Switch back to develoment mode. | Andreas Albrecht | 2020-02-29 | 2 | -1/+7 | |
| | ||||||
* | Update Makefile to reflect changes in current twine. | Andreas Albrecht | 2020-02-29 | 1 | -1/+1 | |
| | ||||||
* | Update version number for release.0.3.1 | Andreas Albrecht | 2020-02-29 | 2 | -3/+3 | |
| | ||||||
* | add comma_first option for docs | gingi99 | 2020-02-02 | 1 | -0/+5 | |
| | ||||||
* | put available format options into API doc | xg1990 | 2020-02-02 | 1 | -0/+6 | |
| | ||||||
* | Update changelog and authors. | Andreas Albrecht | 2020-02-02 | 2 | -0/+2 | |
| | ||||||
* | [grouping] group_as() no longer groups AS CTE | Likai Liu | 2020-02-02 | 2 | -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 regression | John Bodley | 2020-02-02 | 3 | -4/+9 | |
| | ||||||
* | Update sql.py | John Bodley | 2020-01-20 | 1 | -1/+2 | |
| | ||||||
* | Update sql.py | John Bodley | 2020-01-20 | 1 | -1/+1 | |
| | ||||||
* | [sql] Adding TIMESTAMP to typed literal | John Bodley | 2020-01-20 | 1 | -1/+1 | |
| | ||||||
* | CI: Remove obsolete comment. | Andreas Albrecht | 2020-01-16 | 1 | -2/+1 | |
| | ||||||
* | Update changelog and authors. | Andreas Albrecht | 2020-01-16 | 2 | -0/+2 | |
| | ||||||
* | Fix test | Corey Zumar | 2020-01-16 | 1 | -14/+14 | |
| | ||||||
* | Like/ilike comparison test | Corey Zumar | 2020-01-16 | 1 | -0/+35 | |
| | ||||||
* | Add symbols back to comparison test | Corey Zumar | 2020-01-16 | 2 | -1/+2 | |
| | ||||||
* | More test cases | Corey Zumar | 2020-01-16 | 3 | -2/+23 | |
| | ||||||
* | Add first test case | Corey Zumar | 2020-01-16 | 2 | -3/+4 | |
| | ||||||
* | Map like and ilike clauses to comparisons | Corey Zumar | 2020-01-16 | 1 | -1/+1 | |
| | ||||||
* | CI: Try to simplify Travis configuration. | Andreas Albrecht | 2020-01-08 | 1 | -3/+1 | |
| | ||||||
* | Add Python 3.8 to list of classifiers. | Andreas Albrecht | 2020-01-08 | 1 | -0/+1 | |
| | ||||||
* | CI: Add Python 3.8 to test matrix. | Andreas Albrecht | 2020-01-08 | 1 | -0/+1 | |
| | ||||||
* | Refactored extract column defs example (fixes #439, #411, #526). | Andreas Albrecht | 2020-01-06 | 1 | -13/+20 | |
| | ||||||
* | Update changelog. | Andreas Albrecht | 2020-01-06 | 1 | -0/+1 | |
| | ||||||
* | Stabilize grouping engine when parsing invalid SQL statements. | Andreas Albrecht | 2020-01-06 | 1 | -2/+2 | |
| | | | | | It's just to make sure, that the comparison returns a valid result when feed with invalid SQL statements. | |||||
* | Update changelog. | Andreas Albrecht | 2019-10-21 | 1 | -0/+1 | |
| | ||||||
* | CI: Skip codecov after code checks. | Andreas Albrecht | 2019-10-20 | 1 | -0/+1 | |
| | ||||||
* | CI: Try to run codechecks. | Andreas Albrecht | 2019-10-20 | 1 | -0/+6 | |
| | ||||||
* | Code cleanup. | Andreas Albrecht | 2019-10-20 | 5 | -19/+26 | |
| | ||||||
* | Update changelog and authors. | Andreas Albrecht | 2019-10-20 | 2 | -0/+2 | |
| | ||||||
* | support typed literals (if that's what they're called) | Dvořák Václav | 2019-10-20 | 4 | -6/+71 | |
| | ||||||
* | [sql] Fix TokenList.__init__ when no tokens are provided | John Bodley | 2019-10-09 | 1 | -1/+1 | |
| | ||||||
* | Update changelog. | Andreas Albrecht | 2019-10-09 | 1 | -0/+1 | |
| | ||||||
* | [fix] Addressing issue #507 | John Bodley | 2019-10-09 | 2 | -3/+11 | |
| | ||||||
* | Restrict detection of alias names (fixes #455). | Andreas Albrecht | 2019-10-09 | 4 | -20/+35 | |
| | | | | | This change adopts some parts of the pull request #509 by john-bodley. Thanks! | |||||
* | Update extract_table_names.py | James Winegar | 2019-07-18 | 1 | -1/+1 | |
| | | | PEP 479 Python 3.5+ raises an exception for StopIteration instead of a null return. |