From f4c593af1aa836552b8f897c720a9e1d4e895b35 Mon Sep 17 00:00:00 2001 From: Pablo Rodriguez Mira <36644554+PabloRMira@users.noreply.github.com> Date: Wed, 7 Apr 2021 21:58:59 +0200 Subject: [PATCH] [MNT] Add a --version (-v) flag to the CLI (#157) --- docs/core.html | 502 +++++++++++++++++++++++++++++++++++ docs/format_file.html | 8 +- nbs/01_format_file.ipynb | 7 + settings.ini | 2 +- sql_formatter/__init__.py | 2 +- sql_formatter/format_file.py | 7 + 6 files changed, 522 insertions(+), 6 deletions(-) diff --git a/docs/core.html b/docs/core.html index 70db96c..f74f1db 100644 --- a/docs/core.html +++ b/docs/core.html @@ -3727,6 +3727,20 @@
format_from
+format_join
+format_on
+format_on
+format_on
+format_on
+format_where
+format_where
+format_where
+format_statement_line
+
+
+
+
+
+
+
+
+
+
+
{% endraw %}
@@ -4101,6 +4253,20 @@ format_statement_line
+
+
+
+
+
+
+
+
+
+
+
{% endraw %}
@@ -4125,6 +4291,23 @@ format_statement_line
+
+
+
+
+
+
+
+
+
+
+
{% endraw %}
@@ -4181,6 +4364,22 @@ format_statements
+
+
+
+
+
+
+
+
+
+
+
{% endraw %}
@@ -4287,6 +4486,23 @@ add_semicolon
+
+
+
+
+
+
+
+
+
+
{% endraw %}
@@ -4317,6 +4533,23 @@ add_semicolon
+
+
+
+
+
+
+
+
+
+
{% endraw %}
@@ -4347,6 +4580,23 @@ add_semicolon
+
+
+
+
+
+
+
+
+
+
{% endraw %}
@@ -4406,6 +4656,45 @@ format_simple_sql
+
+
+
+
+
+
+
+
+
+
+
{% endraw %}
@@ -4440,6 +4729,24 @@ format_simple_sql
+
+
+
+
+
+
+
+
+
+
+
{% endraw %}
@@ -4575,6 +4882,32 @@ format_sql
+
+
+
+
+
+
+
+
+
+
{% endraw %}
@@ -4602,6 +4935,45 @@ format_sql
+
+
+
+
+
+
+
+
+
+
{% endraw %}
@@ -4682,6 +5054,32 @@ Nested subqueries
+
+
+
+
+
+
+
+
+
+
{% endraw %}
@@ -4718,6 +5116,24 @@ With SELECT DISTINCT
+
+
+
+
+
+
+
+
+
+
{% endraw %}
@@ -4798,6 +5214,29 @@ More convoluted nested subquery
+
+
+
+
+
+
+
+
+
+
+
{% endraw %}
@@ -4836,6 +5275,28 @@ More convoluted nested subquery
+
+
+
+
+
+
+
+
+
+
+
{% endraw %}
@@ -4876,6 +5337,25 @@ More convoluted nested subquery
+
+
+
+
+
+
+
+
+
+
+
{% endraw %}
@@ -4921,6 +5401,28 @@ More convoluted nested subquery
+
+
+
+
+
+
+
+
+
+
+
{% endraw %}
diff --git a/docs/format_file.html b/docs/format_file.html
index e4ddc99..1f5db1f 100644
--- a/docs/format_file.html
+++ b/docs/format_file.html
@@ -164,7 +164,7 @@ Main function to for