Squabble

Latest version: v1.4.0

Safety actively analyzes 626604 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 2

1.4.0

-------------------

New
~~~

- Added `precommit <https://pre-commit.com/>`__ 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`` and
``squabble-disable:rule``. The original ``enable:rule`` format will continue
to be supported, but is deprecated.

1.3.3

-------------------

Fixes
~~~~~

- Fix crash when handling SQL files containing only comments.

1.3.2

-------------------

Fixes
~~~~~

- Prevent crash when running ``RequireForeignKey`` rule against a
``CREATE TABLE`` statement with no columns defined.
- Fix Emacs Flycheck integration documentation.

1.3.1

-------------------

Changes
~~~~~~~

- Upgrade ``pglast`` to version ``1.4``.

Fixes
~~~~~

- Fixed standard input reader to not print a stack trace on interrupt.

1.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.

1.2.0

-------------------

New
~~~

- Added ``DisallowForeignKey`` rule.

Changes
~~~~~~~

- Allow rule descriptions to span multiple lines.
- Add ``DisallowForeignKey``, ``RequireForeignKey`` to ``"full"`` preset.

Fixes
~~~~~

- Fix ``RequireColumns`` to work with irregular casing.

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.