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:rule
andsquabble-disable:rule
. The originalenable:rule
format will continue to be supported, but is deprecated.
v1.3.3
v1.3.1
v1.3.0
New
- Added
-x, --expanded
to show explanations of message codes after linting. - Added
DisallowNotIn
rule. - Added
DisallowPaddedCharType
rule. - Added
DisallowTimetzType
rule. - Added
DisallowTimestampPrecision
rule.
Changes
- Modified
-p, --preset
to 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
RequireForeignKey
rule.
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\n
line-endings for reporting issue location. - Fixed calls to logger to correctly report module.
v1.0.0
- Removed
BaseRule.MESSAGES
in favor ofsquabble.message.Message
- Added
-e, --explain
to print out detailed explanation of why a message was raised. - Added
-r, --reporter
to override reporter on command line. - Added support for reading from
stdin
. - Added
full
preset. - Added
Severity
enum forLintIssue
s. - Added
sqlint
reporter for compatibility with tooling targeting sqlint. - Added
DisallowFloatTypes
rule. - 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.