Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow SQLFluff configuration file to be used from standard location #2361

Merged
merged 1 commit into from
Jan 20, 2022

Conversation

tunetheweb
Copy link
Contributor

Fixes #2184

Proposed Changes

SQLFluff 0.9.0 added a command line option to provide config file location.
This allows a config file to be places in the usual location (.github/linters) for those that want to manage it there.

Note SQLFluff does allow different configuration files to be used from each location, but if the file is explicitly specified as a command line option, then that takes precedence over any other config files. For this reason the provided config files is left commented out, so local files will be used.

Readiness Checklist

Author/Contributor

  • If documentation is needed for this change, has that been included in this pull request

Reviewing Maintainer

  • Label as breaking if this is a large fundamental change
  • Label as either automation, bug, documentation, enhancement, infrastructure, or performance

@tunetheweb
Copy link
Contributor Author

I'm struggling to build a local version to test this as don't use Docker much.
Any pointers greatly appreciated, or will CI build and deploy a dev version I can point to?

Copy link
Collaborator

@admiralAwkbar admiralAwkbar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

awesome!

@admiralAwkbar
Copy link
Collaborator

@tunetheweb I was just getting some cycles to go through the backlog and look at this one. You're the best!

@admiralAwkbar admiralAwkbar merged commit 3d54fce into super-linter:main Jan 20, 2022
sarahc23 pushed a commit to 23andMe/super-linter that referenced this pull request May 6, 2022
sarahc23 pushed a commit to 23andMe/super-linter that referenced this pull request May 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support sqlfluff configuration
2 participants