Stylist

Latest version: v0.4.1

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

Scan your dependencies

0.4.1

The previous release was made without much testing against real-world code bases. We've since made such testing easier and discovered a number of bugs in the new rules added in v0.4.0. This release fixes those bugs.

Issues closed by this release:

* 126 - Literal kind rule has trouble with arrays
* 106 - KindPattern rule should handle no kind
* 101 - Initialising pointers which are intent in is a bad idea
* 95 - AutoCharArrayIntent calling non-existant member?

Minor new features:

* 94 - Style name is not reflected in verbose output

**Full Changelog**: https://github.com/MetOffice/stylist/compare/v0.4.0...v0.4.1

0.4.0

A number of the changes in this release are internal and invisible to the user. It does include
some bug fixes:

* 100 - Teach the "missing implicit" rule about procedure pointers
* 108 - Kind pattern rule becomes better at identifying the kind

It also includes a new rule: 82 , Line length.

The most significant change, and the one which merited a minor version bump rather than a
patch bump, is to migrate to v0.1.0 of fParser. This may have implications for your deployment.

Available from [PyPI](https://pypi.org/project/stylist/) and [Conda Forge](https://anaconda.org/conda-forge/stylist)

**Full Changelog**: https://github.com/MetOffice/stylist/compare/v0.3.0...v0.4.0

0.3.1

Convert the ReadMe file to reStructured text to better support PyPI.

r0.3
The big user facing change this release is the replacement of the configuration file format.

As new rules were added with more elaborate argument requirements more and more intelligence was being added to the configuration parser. Eventually it became apparent that we were half way to writing a Python parser. In light of this decision was taken to throw that away and just use a Python script.

Other than that there are a number of new rules available:

* 20
* 21
* 45
* 63
* 23

We also now honour the deprecation of Python 3.6.

Finally a start was made at taking the documentation situation in hand. There are now a [user and developer guide](https://metoffice.github.io/stylist/latest/) automatically generated from head of trunk. Release documentation to follow.

0.2

The primary purpose of this release is to move Stylist from being a single project tool to one suitable for many projects.

* Mapping between file extension and processing pipeline now stored in configuration.
* Styles now defined in configuration.

Changes

* Missing implicit rule now follows standard by default.

New Features

* Pass/Fail in verbose logging.

New Rules

* Detect pointer declarations without initialisation.
* Match `kind` strings against pattern.

**Full Changelog**: https://github.com/MetOffice/stylist/compare/0.1...v0.2

0.1

Initial release.

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.