Releases: erik/squabble
Releases · erik/squabble
v1.4.0
New
- Added precommit hook definition (Thanks @PhilipTrauner!)
- Added squabble-disable configuration to disable all lint checks for a file.
Changes
- Per-file configuration is now done using
squabble-enable:ruleandsquabble-disable:rule. The originalenable:ruleformat will continue to be supported, but is deprecated.
v1.3.3
v1.3.1
v1.3.0
New
- Added
-x, --expandedto show explanations of message codes after linting. - Added
DisallowNotInrule. - Added
DisallowPaddedCharTyperule. - Added
DisallowTimetzTyperule. - Added
DisallowTimestampPrecisionrule.
Changes
- Modified
-p, --presetto allow multiple presets to be used at once. - Update packaging to run tests through
python setup.py test.
Fixes
- Small documentation fixes for rules.
v1.2.0
v1.1.0
New
- Added
RequireForeignKeyrule.
Changes
- Split
"postgres"preset into"postgres"and
"postgres-zero-downtime". - Strip RST code directives from message explanations and rules.
- Sort API documentation based on file order rather
than alphabetically.
Fixes
- Support DOS
\r\nline-endings for reporting issue location. - Fixed calls to logger to correctly report module.
v1.0.0
- Removed
BaseRule.MESSAGESin favor ofsquabble.message.Message - Added
-e, --explainto print out detailed explanation of why a message was raised. - Added
-r, --reporterto override reporter on command line. - Added support for reading from
stdin. - Added
fullpreset. - Added
Severityenum forLintIssues. - Added
sqlintreporter for compatibility with tooling targeting sqlint. - Added
DisallowFloatTypesrule. - Improved existing API documentation with type signatures and examples.
- Added user facing documentation for https://squabble.readthedocs.org
- ... and lots of smaller changes, refactors, improvements.