Flake8-aaa

Latest version: v0.17.0

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

Scan your dependencies

Page 1 of 6

0.17.0

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

Added
.....

* ⛏️ Syntax upgrades on named tuples and f-strings.

* ⛏️ Type hint added for Flake8 config manager.

* 🎈 Explicit support added for Python 3.12. `Issue 228
<https://github.com/jamescooke/flake8-aaa/issues/228>`_.

* ⛏️ Tox label added to help with dependency bumping. `Pull 231
<:ttps://github.com/jamescooke/flake8-aaa/pull/231>`_.

Changed
.......

* 📕 Readme updated to reflect re-focus on only operating as a Flake8 plugin.

* ⛏️ Test requirements unpinned from old Flake8 and Mypy.

* ⛏️ All requirements bumped. `Issue 227
<https://github.com/jamescooke/flake8-aaa/issues/227>`_.

Removed
.......

* 🔥 Command line support dropped. `Issue 225
<https://github.com/jamescooke/flake8-aaa/issues/225>`_. In addition:

* 📕 Command line documentation removed.
* ⛏️ Tests and tox environments for command line code removed.
* ⛏️ ``Function.__str__`` method cleaned up.

* ⛏️ Old style ``setup.py check`` lint call removed so that Python 3.12 can pass
without complicated work arounds.

0.16.0

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

Added
.....

* 📕 Notes added in docs about latest versions that supported Python 3.7.
`Issue 198 <https://github.com/jamescooke/flake8-aaa/issues/198>`_.

Changed
.......

* ⛏️ Examples that were for Python 3.8 only (assignment operator focused) were
merged into one suite of examples. `Issue 198
<https://github.com/jamescooke/flake8-aaa/issues/198>`_.

Removed
.......

* 🔥 Python 3.7 support removed. `Issue 198
<https://github.com/jamescooke/flake8-aaa/issues/198>`_.

0.15.0

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

Added
.....

* 🎈 New "large" Act block style option added. This allows context managers to
join the Act block when they directly wrap the Act node. This behaviour is
provided to provide compatibility with Black versions ``23.*``. Fixes `issue
200 <https://github.com/jamescooke/flake8-aaa/issues/200>`_.

* 📕 New docs added for "large" Act block style. `Issue 200
<https://github.com/jamescooke/flake8-aaa/issues/200>`_.

Changed
.......

* ⛏️ Moved Black formatted test examples to their own directory. This helps
when running Flake8 against Black formatted tests which need
``--aaa-act-block-style=large``. Also fix up associated Makefile recipes and
update example README file.

Removed
.......

* ⛏️ Removed list of nodes from ``Block`` class and instead kept the start and
end line numbers of the block. This allows for any structural discoveries
while doing AST node traversal (e.g. when parsing Large style Act blocks) to
be used to calculate the size of the Act block itself. The alternative would
have been to store the list of nodes in the Act block, and then re-walk them
when working out the block's span, which would be duplication of effort.

* ⛏️ Remove unused ``MultiNodeBlock``.

0.14.1

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

Added
.....

* ⛏️ New ``--aaa-act-block-style`` option added with corresponding
``aaa_act_block_style`` config value. Only default behaviour supported at
this stage, but makes room to fix the `Black formatting problems in issue
200 <https://github.com/jamescooke/flake8-AAA/issues/200>`_.

* 📕 New "Options and configuration" page added to documentation to support
`issue 200 <https://github.com/jamescooke/flake8-AAA/issues/200>`_.

* ⛏️ New tox configuration added ``PIP_INDEX_URL`` pointed at locally running
`devpi server instance <https://github.com/devpi/devpi>`_.

* ⛏️ Faker added to test requirements to generate random data.

Changed
.......

* 📕 Previous documentation page "Controlling Flake8-AAA" contained information
on both code directives (`` noqa``, etc) and how to use the command line
tool. These have been split into two separate pages: "Directives" and
"Command line".

* ⛏️ Documentation can be built locally with ``make docs`` recipe, but this has
been adjusted to call tox.

0.14.0

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

Added
.....

* 🎈 Files ending in ``_test.py`` are now linted. `Pull 204
<https://github.com/jamescooke/flake8-aaa/pull/204>`_ fixes `issue #185
<https://github.com/jamescooke/flake8-aaa/issues/185>`_.

* 📕 AAA06 hash comment resolution added to docs. `Pull 208
<https://github.com/jamescooke/flake8-aaa/pull/208>`_ fixes `issue #193
<https://github.com/jamescooke/flake8-aaa/issues/193>`_.

Changed
.......

* ⛏️ Release notes updated to use a better method of updating Flake8 version
strings. Also reduce use of ``vx.y.z`` version strings - use just ``x.y.z``
instead. `Pull 207 <https://github.com/jamescooke/flake8-aaa/pull/207>`_.

* ⛏️ AAA05 and AAA06 bad examples upgraded. `Pull 208
<https://github.com/jamescooke/flake8-aaa/pull/208>`_.

0.13.1

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

Added
.....

* 🎈 Support for Python 3.11 `Pull 203
<https://github.com/jamescooke/flake8-aaa/pull/203>`_

* ⛏️ Read the docs build added with supporting docs requirements. `Pull 205
<https://github.com/jamescooke/flake8-aaa/pull/205>`_.

Changed
.......

* ⛏️ Tox configuration rebuilt with lint, test and meta labels. `Pull 205
<https://github.com/jamescooke/flake8-aaa/pull/205>`_.

* ⛏ Requirements cleaned: base requirements removed, specific versions
indicated where builds are required on particular Python versions, README
added. `Pull 205 <https://github.com/jamescooke/flake8-aaa/pull/205>`_.

Page 1 of 6

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.