36 Commits

Author SHA1 Message Date
Cameron
f24b9d6a7f CI: Update util.py for dbt templater pyproject.toml (#6160) 2024-09-08 15:17:42 +00:00
github-actions[bot]
36c918597c Prep version 3.0.0a5 (#5512)
Co-authored-by: alanmcruickshank <alanmcruickshank@users.noreply.github.com>
Co-authored-by: Alan Cruickshank <alan@designingoverload.com>
2024-01-30 23:09:32 +00:00
keraion
de7bf4213e Build: linting black 24.1.0 rules update (#5573) 2024-01-29 10:04:15 +00:00
github-actions[bot]
4d8f7471de Prep version 3.0.0a1 (#5381)
Co-authored-by: alanmcruickshank <alanmcruickshank@users.noreply.github.com>
Co-authored-by: Alan Cruickshank <alan@designingoverload.com>
Co-authored-by: Alan Cruickshank <alanmcruickshank@gmail.com>
2023-11-08 18:10:25 +00:00
Alan Cruickshank
ef7ac7ac20 Migrate to pyproject.toml for the core project. (#5373) 2023-11-06 17:24:25 +00:00
Alan Cruickshank
0e62388de6 Update CI to python 3.12 (#5267) 2023-10-06 17:47:03 +01:00
github-actions[bot]
b4a9a695e7 Prep version 2.2.0 (#5024)
Co-authored-by: alanmcruickshank <alanmcruickshank@users.noreply.github.com>
Co-authored-by: Alan Cruickshank <alan@designingoverload.com>
2023-08-04 17:56:40 +01:00
Alan Cruickshank
402a47c4cb Make version number an argument not an option in release script. (#4677) 2023-04-05 17:56:00 +00:00
Barry Pollard
dc59c2a567 Fix passenv to work with tox 4 (#4154) 2022-12-12 15:23:59 +00:00
Greg Finley
d18a92dee9 Bump version in gettingstarted.rst via the release script (#3642)
* change the script

* Run script

* consistent whitespace
2022-07-20 20:26:20 +01:00
Greg Finley
182ff0fe64 Pin sqlfluff-templater-dbt via release script (#3613)
* Change to ==

* update the script

* Run the script

Co-authored-by: Alan Cruickshank <alanmcruickshank@gmail.com>
2022-07-15 15:18:42 +01:00
github-actions[bot]
9faf106d55 Prep version 1.0.0 (#3454)
* Bump to version 1.0.0

* Update to stable

* Fix util script

* Update changelog

* fix util script and update changelog

* Add a bit of prose to announce the release

* update util script to add spaces in version headings

* More docs update for stable release

* update changelog with more recent changes

* Update changelog with last PR

Co-authored-by: alanmcruickshank <alanmcruickshank@users.noreply.github.com>
Co-authored-by: Alan <alanmcruickshank@gmail.com>
2022-06-17 16:22:38 +01:00
Greg Finley
4e6326076e Python script to automate release (#3403)
* Migrate release script to Python

* progress

* regex

* Rewrite existing what's changed

* Find potential new contributors

* Start new contributors

* Get owner from env variable

* Note about safe to rerun

* Get correct new contribs for net new

* WIP

* Fix new contributors when rerunning

* add as dev requirement

* Reword doc

* Abort GHA if branch already exists

* Instructions on running locally

* Update CONTRIBUTING.md

Co-authored-by: Barry Pollard <barry_pollard@hotmail.com>
2022-06-10 18:47:56 +01:00
Christoph Wiese
d76640519c Align line length in Python code to 88 characters (#2264)
* Align line length in Python code to 88 characters

* Fix line breaks in dbt test fixture

* Fix linebreak in scr_fpath of dbt templater test

* Apply suggestions from code review

Fix typos

Co-authored-by: Barry Hart <barrywhart@yahoo.com>

* Remove need for D145

* Remove D145 by shortening descriptions

* mypy

* Black

* Black

* Apply suggestions from code review

Co-authored-by: Joseph Young <80432516+jpy-git@users.noreply.github.com>

* Apply suggestions from code review

Co-authored-by: Joseph Young <80432516+jpy-git@users.noreply.github.com>

* Update src/sqlfluff/cli/commands.py

Co-authored-by: Joseph Young <80432516+jpy-git@users.noreply.github.com>

* Black

* Fix long line

* Formatting updates

* More URL cleanups

* Linting

Co-authored-by: Barry Pollard <barry_pollard@hotmail.com>
Co-authored-by: Barry Hart <barrywhart@yahoo.com>
Co-authored-by: Barry <barry@tunetheweb.com>
Co-authored-by: Joseph Young <80432516+jpy-git@users.noreply.github.com>
2022-01-21 15:03:01 +00:00
Joseph Young
078e4e30af Remove oyaml in favour of pyyaml (#2210)
* remove oyaml in favour of pyyaml

* Pin pyyaml>=5.1

Co-authored-by: Barry Hart <barrywhart@yahoo.com>
2021-12-29 09:37:42 -05:00
Joseph Young
c951025d15 Remove plaintext API key from benchmark utility (#1863)
* Remove plaintext API key from benchmark utility

* Add missing $ before GH secret ref

* moving SQLFLUFF_BENCHMARK_API_KEY env call before post request

Co-authored-by: Alan Cruickshank <alanmcruickshank@gmail.com>
2021-11-11 10:42:22 +00:00
Barry Pollard
335ec3af4c Change fix to use non-zero exit code if unfixable (#1389)
* Exit fix with non-zero exit code if unfixable

* Fix test comment

* Fix benchmark test

* Black
2021-09-12 20:58:57 +01:00
Christian Clauss
fde7b4c6a5 Upgrade syntax to Python 3.6+ using pyupgrade (#1071)
* pyupgrade --py36-plus **/*.py

* Remove unused imports and black .

* Black

* black and pyupgrade linter module

Co-authored-by: Alan <alanmcruickshank@gmail.com>
2021-06-05 13:12:01 +01:00
Alan
b2298fdad4 Clean up some old print statements 2020-10-22 11:30:04 +01:00
Paul Wildenhain
c52cf21cbc 🍰 Reformat top level/doc files 2020-10-14 12:41:43 -04:00
Alan
8207587ac6 Update references for new github org 2020-09-30 23:27:51 +01:00
Alan Cruickshank
4fa4317f55 Move to new uri format for benchmarking 2020-04-12 15:20:26 +01:00
Alan Cruickshank
5e8f848f86 Linting
Linting
2020-04-05 12:41:00 +01:00
Alan Cruickshank
5a96e06b28 Allow multiple runs of the benchmark 2020-04-05 12:41:00 +01:00
Alan Cruickshank
b044942069 Reporting benchmark values 2020-04-04 18:37:11 +01:00
Alan Cruickshank
1a91c9a4fe Do benchmarking 2020-04-04 18:37:11 +01:00
Alan Cruickshank
47b41cdd01 Detect CI environment 2020-04-04 18:37:11 +01:00
Alan Cruickshank
097cc7ed42 Attempt V1 benchmarking 2020-04-04 18:37:11 +01:00
Alan Cruickshank
4d4ff54075 docstrings on tests and small files 2019-11-21 18:51:21 +00:00
Alan Cruickshank
939a860972 More Documentation 2019-11-19 18:04:09 +00:00
Alan Cruickshank
8eb49542b6 py27 compat 2018-12-01 23:14:20 +00:00
Alan Cruickshank
f060f73c99 python 27 compat 2018-12-01 23:12:27 +00:00
Alan Cruickshank
4cbfcca364 token popping tests. Start of stack positioning 2018-11-27 17:05:48 +00:00
Alan Cruickshank
5e52f0fcc0 fix util for py27 2018-11-26 10:47:42 +00:00
Alan Cruickshank
8f2d4af77e move directory creating into individual channels 2018-11-26 10:37:08 +00:00
Alan Cruickshank
0fa773c80c A bit more circleci sugar to upload test reports 2018-11-15 12:18:17 +00:00