Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
See all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
prateek-dagar
sqlparse
Repository navigation
Code
Pull requests
Actions
Security and quality
Insights
More
items
Commits
Breadcrumbs
History for
sqlparse
sqlparse
cli.py
on
master
User selector
All users
Datepicker
All time
Commit history
Commits on Nov 27, 2025
Add pre-commit hook support (fixes #537)
Show description for 31903e0
andialbrecht
committed
31903e0
View commit details
Copy full SHA for 31903e0
View code at this point
Browse repository at this point
Commits on Nov 25, 2025
Removed x flag from cli.py
andialbrecht
committed
8000ee6
View commit details
Copy full SHA for 8000ee6
View code at this point
Browse repository at this point
remove shebang from cli.py
Show description for 237d2f9
artyrian
authored and
andialbrecht
committed
237d2f9
View commit details
Copy full SHA for 237d2f9
View code at this point
Browse repository at this point
Commits on Feb 16, 2025
Replace format with f-strings.
andialbrecht
committed
fe087fe
View commit details
Copy full SHA for fe087fe
View code at this point
Browse repository at this point
Commits on Jul 12, 2024
Code cleanup.
andialbrecht
committed
3ea660e
View commit details
Copy full SHA for 3ea660e
View code at this point
Browse repository at this point
Add compact option to force a more compact formatting (fixes #783).
andialbrecht
committed
bf74d8b
View commit details
Copy full SHA for bf74d8b
View code at this point
Browse repository at this point
Commits on Oct 7, 2020
Update copyright notice.
andialbrecht
committed
10b0ec2
View commit details
Copy full SHA for 10b0ec2
View code at this point
Browse repository at this point
Commits on Sep 1, 2020
Remove support for end-of-life Pythons
Show description for 3e3892f
jdufresne
committed
3e3892f
View commit details
Copy full SHA for 3e3892f
View code at this point
Browse repository at this point
Commits on Jul 31, 2018
Update copyright header (fixes #372).
andialbrecht
committed
3853a07
View commit details
Copy full SHA for 3853a07
View code at this point
Browse repository at this point
Commits on Mar 3, 2018
new option --indent_columns to indent all columns by --indent_width
Patrick Schemitz
committed
ec0af03
View commit details
Copy full SHA for ec0af03
View code at this point
Browse repository at this point
Commits on Nov 24, 2017
Merge pull request #345 from johshoff/master
Show description for 4e44545
andialbrecht
authored
4e44545
View commit details
Copy full SHA for 4e44545
View code at this point
Browse repository at this point
Commits on Oct 29, 2017
Fix unclosed file warnings discovered during tests
Show description for acaf00c
jdufresne
committed
acaf00c
View commit details
Copy full SHA for acaf00c
View code at this point
Browse repository at this point
Commits on Sep 24, 2017
Close files during tests.
andialbrecht
committed
bf9ce73
View commit details
Copy full SHA for bf9ce73
View code at this point
Browse repository at this point
Commits on Jun 21, 2017
Option to indent after first line
Show description for 7cdefe9
johshoff
committed
7cdefe9
View commit details
Copy full SHA for 7cdefe9
View code at this point
Browse repository at this point
Commits on Jan 12, 2017
CLI: Add --encoding option
Show description for f6e9141
twang2218
committed
f6e9141
View commit details
Copy full SHA for f6e9141
View code at this point
Browse repository at this point
Commits on Sep 14, 2016
Add formatter option for comma first notation (fixes #141).
andialbrecht
committed
4d05b44
View commit details
Copy full SHA for 4d05b44
View code at this point
Browse repository at this point
Correct license link (fixes #288).
andialbrecht
committed
4430c5c
View commit details
Copy full SHA for 4430c5c
View code at this point
Browse repository at this point
Commits on Aug 31, 2016
Convert string literals to unicode for Py27
Show description for b05bc5a
phdru
committed
b05bc5a
View commit details
Copy full SHA for b05bc5a
View code at this point
Browse repository at this point
Commits on Jun 20, 2016
Format cli.py and add cli-tests
vmuriart
committed
85349e6
View commit details
Copy full SHA for 85349e6
View code at this point
Browse repository at this point
Commits on Jun 19, 2016
Misc. small code clean-up/comments
vmuriart
committed
581912d
View commit details
Copy full SHA for 581912d
View code at this point
Browse repository at this point
Commits on Jun 16, 2016
Separate __main__ and main() to allow for testing
Show description for 5eab09b
vmuriart
committed
5eab09b
View commit details
Copy full SHA for 5eab09b
View code at this point
Browse repository at this point
Loading
You can’t perform that action at this time.