Modular SQL Linting for Humans
Project description
The SQL Linter for humans
Bored of not having a good SQL linter that works with whichever dialect you're working with? SQLFluff is an extensible and modular linter designed to help you write good SQL and catch errors before it hits your database. SQLFluff can auto-fix most linting errors too.
Getting Started
To get started, install the package and run sqlfluff lint or sqlfluff fix.
$ pip install sqlfluff
$ echo " SELECT a + b FROM tbl; " > test.sql
$ sqlfluff lint test.sql
== [test.sql] FAIL
L: 1 | P: 1 | L003 | Single indentation uses a number of spaces not a multiple of 4
L: 1 | P: 14 | L006 | Operators should be surrounded by a single space unless at the start/end of a line
L: 1 | P: 27 | L001 | Unnecessary trailing whitespace
You can also have a play using SQLFluff online.
For full CLI usage and rules reference, see the docs.
Documentation
For full documentation visit docs.sqlfluff.com.
Releases
SQLFluff is still in an open alpha phase - expect the tool to change significantly over the coming months, and expect potentially non-backward compatible api changes to happen at any point. If you'd like to help please consider contributing.
- 0.4.x (ongoing development) will fully support dbt packages and macros with significant speed improvements and new rules.
- 0.3.x dropped support for python 2.7 and 3.4, and reworked the handling of indentation linting in a potentially not backward compatible way.
- 0.2.x added templating support and a big restructure of rules and changed how users might interact with sqlfluff on templated code.
- 0.1.x involved a major re-write of the parser, completely changing the behaviour of the tool with respect to complex parsing.
SQLFluff on Slack
We have a fast-growing community on Slack, come and join us!
https://join.slack.com/t/sqlfluff/shared_invite/zt-knvv2a10-oZIKqGBFhldMcIkokaiv_w
Contributing
There's lots to do in this project, and we're just getting started. If you want to understand more about the architecture of SQLFluff, you can find more here.
If you'd like to contribute, check out the open issues on GitHub. You can also see the guide to contributing.
Changelog
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
[0.4.0] - 2021-02-14
Added
- Public API to enable people to import
sqlfluffas a python module and callparse,lintandfixwithin their own projects. See the docs for more information. (#501) - The ability to use
dbtas a templating engine directly allowing richer and more accurate linting arounddbtmacros (and packages related todbt). For more info see the docs. (#508) - Support for modulo (
%) operator. (#447) - A limit in the internal fix routines to catch any infinite loops. (#494)
- Added the
.istype()method on segments to more intelligently deal with type matching in rules when inheritance is at play. - Added the ability for the user to add their own rules when interacting
with the
Linterdirectly usinguser_rules. - Added L034 'Fields should be stated before aggregates / window functions' per dbt coding convenventions (#495)
- Templating tags, such as
{{ variables }},{# comments #}and{% loops %}(in jinja) now have placeholders in the parsed structure. Rule L003 (indentation), also now respects these placeholders so that their indentation is linted accordingly. For loop or block tags, they also generate anIndentandDedenttag accordingly (which can be enabled or disabled) with a configuration value so that indentation around these functions can be linted accordingly. (#541) - MyPy type linting into a large proportion of the core library. (#526, #580)
- Config values specific to a file can now be defined using a comment
line starting with
-- sqlfluff:. (#541) - Added documentation for
--noqa:use in rules. (#552) - Added
pre-commithooks forlintandfix. (#576) - Added a fix routine for Rule L019 (comma placement). (#575)
- Added Rule L031 to enforce "avoid using alias in the
FROM/JOINclauses" from thedbtcoding conventions. (#473, #479) - Added Rule L032 to enforce "do not use
USING" from thedbtcoding conventions. (#487) - Added Rule L033 to enforce "prefer
UNION ALLtoUNION *" from thedbtcoding conventions. (#489) - Added Rule L034 to enforce "fields should be stated before aggregate/window functions" from the
dbtcoding conventions. (#495) - Added Rule L038 to forbid (or require) trailing commas in select clauses. (#362)
- Added Rule L039 to lint unnecessary whitespace between elements. (#502)
- Added a fix routine for L015. (#732)
- Added a fix routine for L025. (#404)
- Adopted the
blackcoding style. (#485) - Added validation and documentation for rule configuration options. (#462)
- Added documentation for which rules are fixable. (#594)
- Added
EPOCHkeyword for postgres dialect. (#522) - Added column index identifier in snowflake dialect. (#458)
- Added
USEstatement to the snowflake dialect. (#537) - Added
CODE_OF_CONDUCTto the project. (#471) - Added
ISNULLandNOTNULLkeywords to ansi dialect. (#441) - Added support for python 3.9. (#482)
- Added
requirements_dev.txtfor local testing/linting. (#500) - Added CLI option
--disregard-sqlfluffignoresto allow direct linting of files in the.sqlfluffignore. (#486) - Added
dbtincrementalmacro. (#363) - Added links to cockroachlabs expression grammars in ansi dialect. (#592)
- Added favicon to the docs website. (#589)
- Added
CREATE FUNCTIONsyntax for postgres and for bigquery. (#325) - Added
CREATE INDEXandDROP INDEXfor mysql. (#740) - Added
IGNORE NULLS,RESPECT NULLS,GENERATE_DATE_ARRAYandGENERATE_TIMESTAMP_ARRAYfor bigquery. ( #667, #527) - Added
CREATEandCREATE ... CLONEfor snowflake. (#539) - Added support for EXASOL. (#684)
Changed
- Fixed parsing of semi-structured objects in the snowflake of dialects with whitespace gaps. #634
- Handle internal errors elegantly, reporting the stacktrace and the error-surfacing file. #632
- Improve message for when an automatic fix is not available for L004. #633
- Linting errors raised on templated sections are now ignored by default and added a configuration value to show them. (#713)
- Big refactor of logging internally.
Linteris now decoupled from logging so that it can be imported directly by subprojects without needing to worry about weird output or without the log handing getting in the way of your project. (#460) - Linting errors in the final file are now reported with their position in the source file rather than in the templated file. This means when using sqlfluff as a plugabble library within an IDE, the references match the file which is being edited. (#541)
- Created new Github Organisation (https://github.com/sqlfluff) and migrated from https://github.com/alanmcruickshank/sqlfluff to https://github.com/sqlfluff/sqlfluff. (#444)
- Changed the handling of
*anda.b.*expressions to have their own expressions. Any dependencies on this structure downstream will be broken. This also fixes the linting of both kinds of expressions with regard to L013 and L025. (#454) - Refactor of L022 to handle poorly formatted CTEs better. (#494)
- Restriction of L017 to only fix when it would delete whitespace or newlines. (#598)
- Added a configuration value to L016 to optionally ignore lines containing only comments. (#299)
- Internally added an
EphemeralSegmentto aid with parsing efficiency without altering the end structure of the query. (#491) - Split
ObjectReferenceintoColumnReferenceandTableReferencefor more useful API access to the underlying structure. (#504) KeywordSegmentand the newSymbolSegmentboth now inherit from_ProtoKeywordSegmentwhich allows symbols to match in a very similar way to keywords without later appearing with thetypeofkeyword. (#504)- Introduced the
Parserclass to parse a lexed query rather than relying on users to instantiate aFileSegmentdirectly. As a result theFileSegmenthas been moved from the core parser directly into the dialects. Users can refer to it via theget_root_segment()method of a dialect. (#510) - Several perfomance improvements through removing unused functionality, sensible caching and optimising loops within functions. (#526)
- Split up rule tests into separate
ymlfiles. (#553) - Allow escaped quotes in strings. (#557)
- Fixed
ESCAPEparsing inLIKEclause. (#566) - Fixed parsing of complex
BETWEENstatements. (#498) - Fixed BigQuery
EXCEPTclause parsing. (#472) - Fixed Rule L022 to respect leading comma configuration. (#455)
- Improved instructions on adding a virtual environment in the
README. (#457) - Improved documentation for passing CLI defaults in
.sqlfluff. (#452) - Fix bug with templated blocks +
capitalisation_policy = lower. (#477) - Fix array accessors in snowflake dialect. (#442)
- Color
loggingwarnings red. (#497) - Allow whitespace before a shorthand cast. (#544)
- Silenced warnings when fixing from stdin. (#522)
- Allow an underscore as the first char in a semi structured element key. (#596)
- Fix PostFunctionGrammar in the Snowflake dialect which was causing strange behaviour in L012. (#619)
Bracketedsegment now obtains its brackets directly from the dialect using a set namedbracket_pairs. This now enables better configuration of brackets between dialects. (#325)
Removed
- Dropped support for python 3.5. (#482)
- From the CLI, the
--no-safetyoption has been removed, the default is now that all enabled rules will be fixed. (#583) - Removed
BaseSegment.grammar,BaseSegment._match_grammar()andBaseSegment._parse_grammar()instead preferring references directly toBaseSegment.match_grammarandBaseSegment.parse_grammar. (#509) - Removed
EmptySegmentGrammarand replaced with better non-code handling in theFileSegmentitself. (#509) - Remove the
ContainsOnlygrammar as it remained only as an anti-pattern. (#509) - Removed the
expected_string()functionality from grammars and segments (#509) as it was poorly supported. - Removed
BaseSegment.as_optional()as now this functionality happens mostly in grammars (includingRef). (#509) - Removed
ColumnExpressionSegmentin favour ofColumnReference. (#512) - Removed the
LambdaSegmentfeature, instead replacing with an internal to the grammar module calledNonCodeMatcher. (#512) - Case sensitivity as a feature for segment matching has been removed as not required for existing dialects. (#517)
- Dependency on
diffliborcdifflib, by relying on source mapping instead to apply fixes. (#541)
[0.3.6] - 2020-09-24
Added
sqlfluff dialectscommand to get a readout of available dialects [+ associated docs].- More helpful error messages when trying to run in Python2.
- Window functions now parse with
IGNORE/RESPECTNULLS. - Parsing of
current_timestampand similar functions. Thanks @dmateusp. - Snowflake
QUALIFYclause.
Changed
- Respect user config directories. Thanks @sethwoodworth.
- Fix incorrect reporting of L013 with
*. Thanks @dmateusp. - Fix incorrect reporting of L027 with column aliases. Thanks @pwildenhain.
- Simplification of application of fixes and correction of a case where fixes could be depleted. Thanks @NiallRees.
- Fix functions with a similar structure to
SUBSTRING. - Refactor BigQuery
REPLACEandEXCEPTclauses. - Bigquery date parts corrected.
- Snowflake array accessors.
- Psotgres
NOTNULLandISNULL. - Bugfix in snowflake for keywords used in semistructured queries.
- Nested
WITHstatements now parse. - Performance improvements in the
fixcommand. - Numeric literals starting with a decimal now parse.
- Refactor the jinja templater.
[0.3.5] - 2020-08-03
Added
- Patterns and Anti-patterns in documentation. Thanks @flpezet.
- Functions in
GROUP BY. Thanks @flpezet.
Changed
- Deep bugfixes in the parser to handle simple matching better for a few edge cases. Also added some logging deeper in the parser.
- Added in the
SelectableGrammarand some related segments to make it easier to refer to select-like things in other grammars. - Fixes to
CASEstatement parsing. Thanks @azhard. - Fix to snowflake
SAMPLEimplementation. Thanks @rkm3. - Numerous docs fixes. Thanks @SimonStJG, @flpezet, @s-pace, @nolanbconaway.
[0.3.4] - 2020-05-13
Changed
- Implementation of the bigquery
CREATE MODELsyntax. Thanks @barrywhart. - Bugfixes for:
- Edge cases for L006
- False alarms on L025
ORDER BY x NULLS FIRST|LASTFORkeyword in bigquerySYSTEM_TIMEsyntax.
[0.3.3] - 2020-05-11
Added
- Added the
--nofailoption toparseandlintcommands to assist rollout. - Added the
--versionoption to complement theversionoption already available on the cli. - Parsing for
ALTER TABLE. - Warning for unset dialects when getting parsing errors.
- Configurable line lengths for output.
[0.3.2] - 2020-05-08
Added
- Support for the Teradata dialect. Thanks @Katzmann1983!
- A much more detailed getting started guide in the docs.
- For the
parsecommand, added the--profilerand--benchoptions to help debugging performance issues. - Support for the
docommand in the jinja templater. - Proper parsing of the concatenate operator (
||). - Proper indent handling of closing brackets.
- Logging and benchmarking of parse performance as part of the CI pipeline.
- Parsing of object references with defaults like
my_db..my_table. - Support for the
INTERVAL '4 days'style interval expression. - Configurable trailing or leading comma linting.
- Configurable indentation for
JOINclauses. - Rules now have their own logging interface to improve debugging ability.
- Snowflake and Postgres dialects.
- Support for a
.sqlfluffignorefile to ignore certain paths. - More generic interfaces for managing keywords in dialects, including
setinterfaces for managing and creating keywords and theRef.keyword()method to refer to them, and the ability to refer directly to keyword names in most grammars using strings directly. IncludesSegmentGeneratorobjects to bind dialect objects at runtime from sets. Thanks @Katzmann1983! - Rule
L029for using unreserved keywords as variable names. - The jinja templater now allows macros loaded from files, and the
hydration of variables ending in
_pathin the config files. - JSON operators and the
DISTINCT ON ()syntax for the postgres dialect.
Changed
- Refactor of whitespace and non-code handling so that segments are less greedy and default to not holding whitespace on ends. This allows more consistent linting rule application.
- Change config file reading to case-sensitive to support case sensitivity in jinja templating.
- Non-string values (including lists) now function in the python and jinja templating libraries.
- Validation of the match results of grammars has been reduced. In production cases the validation will still be done, but only on parse and not on match.
- At low verbosities, python level logging is also reduced.
- Some matcher rules in the parser can now be classified as simple which allows them to shortcut some of the matching routines.
- Yaml output now double quotes values with newlines or tab characters.
- Better handling on hanging and closing indents when linting rule L003.
- More capable handline of multi-line comments so that indentation and line length parsing works. This involves some deep changes to the lexer.
- Getting violations from the linter now automatically takes into account of ignore rules and filters.
- Several bugfixes, including catching potential infinite regress during fixing of files, if one fix would re-introduce a problem with another.
- Behaviour of the
Bracketedgrammar has been changed to treat its content as aSequencerather than aOneOf. - Move to
SandboxedEnvironmentrather thanEnvironmentfor jinja templating for security. - Improve reporting of templating issues, especially for the jinja templater so that missing variables are rendered as blanks, but still reported as templating violations.
[0.3.1] - 2020-02-17
Added
- Support for
a.b.*on top ofa.*in select target expressions.
[0.3.0] - 2020-02-15
Changed
- Deprecated python 2.7 and python 3.4 which are now both past their maintenance horizon. The 0.2.x branch will remain available for continued development for these versions.
- Rule L003 is now significantly smarter in linting indentation with support for hanging indents and comparison to the most recent line which doesn't have an error. The old (more simple) functionality of directly checking whether an indent was a multiple of a preset value has been removed.
- Fixed the "inconsistent" bug in L010. Thanks @nolanbconaway.
- Updated logging of parsing and lexing errors to have more useful error codes.
- Changed parsing of expressions to favour functions over identifiers to fix the expression bug.
- Fixed the "inconsistent" bug in L010. Thanks @nolanbconaway.
- Moved where the
SELECTkeyword is parsed within a select statement, so that it belongs as part of the newly renamedselect_clause(renamed from previouslyselect_target_group). - Clarified handling of the
typeandnameproperties of the BaseSegment class and its children.nameshould be specific to a particular kind of segment, andtypeshould express a wider group. Handling of thenewline,whitespaceandcommasegments has been updated so that we use thetypeproperty for most use cases rather thanname.
Added
- Meta segments for indicating where things can be present in the parsed
tree. This is mostly illustrated using the
IndentandDedentsegments used for indicating the position of theoretical indents in the structure. Several helper functions have been added across the codebase to handle this increase in the kinds of segments which might be encountered by various grammars. - Rule L016 has been added to lint long lines. In the
fixphase of this rule, there is enough logic to try and reconstruct a sensible place for line breaks as re-flow the query. This will likely need further work and may still encounter places where it doesn't fix all errors but should be able to deal with the majority of simple cases. - BigQuery dialect, initially just for appropriate quoting.
- Added parsing of DDL statements such as
COMMIT,DROP,GRANT,REVOKEandROLLBACK. Thanks @barrywhart. --formatoption to theparsecommand that allows a yaml output. This is mostly to make test writing easier in the development process but might also be useful for other things.- Parsing of set operations like
UNION. - Support for the
diff-covertool. Thanks @barrywhart. - Enabled the
fixcommand while usingstdin. Thanks @nolanbconaway. - Rule to detect incorrect use of
DISTINCT. Thanks @barrywhart. - Security fixes from DeepCover. Thanks @sanketsaurav.
- Automatic fix testing, to help support the newer more complicated rules.
- Interval literals
- Support for the
sourcemacro from dbt. Thanks @Dandandan - Support for functions with spaces between the function name and the brackets
and a linting rule
L017to catch this. - Efficiency cache for faster pruning of the parse tree.
- Parsing of array notation as using in BigQuery and Postgres.
- Enable the
ignoreparameter on linting and fixing commands to ignore particular kinds of violations.
[0.2.4] - 2019-12-06
Added
- A
--code-onlyoption to theparsecommand to spit out a more simplified output with only the code elements. - Rules can now optionally override the description of the violation
and pass that back via the
LintingResult.
Changed
- Bugfix, correct missing files in
setup.pyinstall_requiressection. - Better parsing of the not equal operator.
- Added more exclusions to identifier reserved words to fix cross joins.
- At verbosity levels 2 or above, the root config is printed and then any diffs to that for specific files are also printed.
- Linting and parsing of directories now reports files in alphabetical order. Thanks @barrywhart.
- Better python 2.7 stability. Thanks @barrywhart.
- Fixing parsing of
IN/NOT INandIS/IS NOT.
[0.2.3] - 2019-12-02
Changed
- Bugfix, default config not included.
[0.2.2] - 2019-12-02
Changed
- Tweek rule L005 to report more sensibly with newlines.
- Rework testing of rules to be more modular.
- Fix a config file bug if no root config file was present for some values. Thanks @barrywhart.
- Lexing rules are now part of the dialect rather than a global so that they can be overriden by other dialects when we get to that stage.
[0.2.0] - 2019-12-01
Added
- Templating support (jinja2, python or raw).
- Variables + Macros.
- The
fixcommand is also sensitive to fixing over templates and will skip certain fixes if it feels that it's conflicted.
- Config file support, including specifying context for the templater.
- Documentation via Sphinx and readthedocs.
- Including a guide on the role of SQL in the real world. Assisted by @barrywhart.
- Documentation LINTING (given we're a linting project) introduced in CI.
- Reimplemented L006 & L007 which lint whitespace around operators.
- Ability to configure rule behaviour direclty from the config file.
- Implemented L010 to lint capitalisation of keywords.
- Allow casting in the parser using the
::operator. - Implemented
GROUP BYandLIMIT. - Added
ORDER BYusing indexes and expressions. - Added parsing of
CASEstatements. - Support for window/aggregate functions.
- Added linting and parsing of alias expressions.
Changed
- Fixed a bug which could cause potential infinite recursion in configuration
- Changed how negative literals are handled, so that they're now a compound segment rather than being identified at the lexing stage. This is to allow the parser to resolve the potential ambiguity.
- Restructure of rule definitions to be more streamlined and also enable
autodocumentation. This includes a more complete
RuleSetclass which now holds the filtering code. - Corrected logging in fix mode not to duplicate the reporting of errors.
- Now allows insert statements with a nested
withclause. - Fixed verbose logging during parsing.
- Allow the
Bracketedgrammar to optionally match empty brackets using the optional keyword.
[0.1.5] - 2019-11-11
Added
- Python 3.8 Support!
Changed
- Moved some of the responsibility for formatted logging into the linter to mean that we can log progressively in large directories.
- Fixed a bug in the grammar where one of the return values was messed up.
[0.1.4] - 2019-11-10
Added
- Added a
--exclude-rulesargument to most of the commands to allow rule users to exclude specific subset of rules, by @sumitkumar1209 - Added lexing for
!=,~and::. - Added a new common segment:
LambdaSegmentwhich allows matching based on arbitrary functions which can be applied to segments. - Recursive Expressions for both arithmetic and functions, based heavily off the grammar provided by the guys at CockroachDB.
- An
Anythinggrammar, useful in matching rather than in parsing to match anything.
Changed
- Complete rewrite of the bracket counting functions, using some centralised class methods
on the
BaseGrammarclass to support common matching features across multiple grammars. In particular this affects theDelimitedgrammar which is now much simpler but does also require slightly more liberal use of terminators to match effectively. - Rather than passing around multiple variables during parsing and matching, there is now
a
ParseContextobject which contains things like the dialect and various depths. This simplifies the parsing and matching code significantly. - Bracket referencing is now done from the dialect directly, rather than in individual
Grammars (except the
Bracketedgrammar, which still implements it directly). This takes out some originally duplicated code. - Corrected the parsing of ordering keywords in and
ORDER BYclause.
Removed
- Removed the
bracket_sensitive_forward_matchmethod from theBaseGrammar. It was ugly and not flexible enough. It's been replaced by a suite of methods as described above.
[0.1.3] - 2019-10-30
Changed
- Tweak to the L001 rule so that it doesn't crash the whole thing.
[0.1.2] - 2019-10-30
Changed
- Fixed the errors raised by the lexer.
[0.1.1] - 2019-10-30
Changed
- Fixed which modules from sqlfluff are installed in the setup.py. This affects
the
versioncommand.
[0.1.0] - 2019-10-29
Changed
- Big Rewrite - some loss in functionality might be apparent compared to pre-0.1.0. Please submit any major problems as issues on github
- Changed unicode handling for better escape codes in python 2. Thanks @mrshu
- BIG rewrite of the parser, completely new architecture. This introduces
breaking changes and some loss of functionality while we catch up.
- In particular, matches now return partial matches to speed up parsing.
- The
Delimitedmatcher has had a significant re-write with a major speedup and broken the dependency onSequence. - Rewrite of
StartsWithandSequenceto use partial matches properly. - Different treatment of numeric literals.
- Both
BracketedandDelimitedrespect bracket counting. - MASSIVE rewrite of
Bracketed.
- Grammars now have timers.
- Joins properly parsing,
- Rewrite of logging to selectively output commands at different levels
of verbosity. This uses the
verbosity_loggermethod. - Added a command line
sqlfluff parseoption which runs just the parsing step of the process to better understand how a file is being parsed. This also has options to configure how deep we recurse. - Complete Re-write of the rules section, implementing new
crawlerswhich implement the linting rules. Now with inbuilt fixers in them. - Old rules removed and re implemented so we now have parity with the old rule sets.
- Moved to using Ref mostly within the core grammar so that we can have recursion.
- Used recursion to do a first implementation of arithmetic parsing. Including a test for it.
- Moved the main grammar into a seperate dialect and renamed source and test files accordingly.
- Moved to file-based tests for the ansi dialect to make it easier to test using the tool directly.
- As part of file tests - expected outcomes are now encoded in yaml to make it easier to write new tests.
- Vastly improved readability and debugging potential of the _match logging.
- Added support for windows line endings in the lexer.
[0.0.7] - 2018-11-19
Added
- Added a
sqlfluff fixas a command to implement auto-fixing of linting errors. For now onlyL001is implemented as a rule that can fix things. - Added a
rulescommand to introspect the available rules. - Updated the cli table function to use the
testwraplibrary and also deal a lot better with longer values. - Added a
--rulesargument to most of the commands to allow rule users to focus their search on a specific subset of rules.
Changed
- Refactor the cli tests to use the click CliRunner. Much faster
[0.0.6] - 2018-11-15
Added
- Number matching
Changed
- Fixed operator parsing and linting (including allowing the exception of
(*))
[0.0.5] - 2018-11-15
Added
- Much better documentation including the DOCS.md
Changed
- Fixed comma parsing and linting
[0.0.4] - 2018-11-14
Added
- Added operator regexes
- Added a priority for matchers to resolve some ambiguity
- Added tests for operator regexes
- Added ability to initialise the memory in rules
[0.0.3] - 2018-11-14
Added
- Refactor of rules to allow rules with memory
- Adding comma linting rules (correcting the single character matchers)
- Adding mixed indentation linting rules
- Integration with CircleCI, CodeCov and lots of badges
Changed
- Changed import of version information to fix bug with importing config.ini
- Added basic violations/file reporting for some verbosities
- Refactor of rules to simplify definition
- Refactor of color cli output to make it more reusable
[0.0.2] - 2018-11-09
Added
- Longer project description
- Proper exit codes
- colorama for colored output
Changed
- Significant CLI changes
- Much improved output from CLI
[0.0.1] - 2018-11-07
Added
- Initial Commit! - VERY ALPHA
- Restructure into package layout
- Adding Tox and Pytest so that they work
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file sqlfluff-0.4.0.tar.gz.
File metadata
- Download URL: sqlfluff-0.4.0.tar.gz
- Upload date:
- Size: 219.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.56.2 CPython/3.9.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0642a8c25164245ac763e564044dcd70b16e1c9612f7ce1ad554708beb9aa97d
|
|
| MD5 |
87535ef00d9ffb4cd592ef4cd7522ed4
|
|
| BLAKE2b-256 |
6cd7f16f2e8f3f6e36182cb19d6975b1df97b9ddbfa7f9cf702c5617aba96a09
|
File details
Details for the file sqlfluff-0.4.0-py3-none-any.whl.
File metadata
- Download URL: sqlfluff-0.4.0-py3-none-any.whl
- Upload date:
- Size: 245.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.56.2 CPython/3.9.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5ebeb0df46ff683379d338120bb1dc85b3e8ba92ed9f558c5f3cb2171ec808dc
|
|
| MD5 |
89cf0a84d96bb6c8c793bdb7ea7c1291
|
|
| BLAKE2b-256 |
1e10bd117e91366bc25d2325ed7b7150a9cfe4917ddb30edfbcd93d198e5e79a
|