Flake8-aaa

Latest version: v0.17.0

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

Scan your dependencies

Page 3 of 6

0.11.0

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

Changed
.......

* Adjust rules for comments: no comments allowed in Act blocks. `148
<https://github.com/jamescooke/flake8-aaa/issues/148>`_.

0.10.1

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

Added
.....

* Add good example usage of the assignment expression in Python 3.8 to
guarantee compatibility. `120
<https://github.com/jamescooke/flake8-aaa/issues/120>`_.

* Tokens now received from Flake8 to help with comment analysis. `148
<https://github.com/jamescooke/flake8-aaa/issues/148>`_.

Changed
.......

* Stringy line analysis adjusted to use Constant visitor since Str visitor is
deprecated as of Python 3.8. `145
<https://github.com/jamescooke/flake8-aaa/issues/145>`_.

* Blank line analysis now carried out using tokens rather than tokenised AST.
`157 <https://github.com/jamescooke/flake8-aaa/pull/157>`_.

0.10.0

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

Added
.....

* Test examples are intended to be real but simple examples. All examples added
or updated from now on must:

- Go green when run with Pytest.

- Use only standard library imports.

Changed
.......

* README rewritten and expanded to be more friendly to readers that are not
aware of the AAA pattern. Template from `The Documentation Compendium
<https://github.com/kylelobo/The-Documentation-Compendium>`_. `#141
<https://github.com/jamescooke/flake8-aaa/issues/141>`_.

* Behaviour of context managers in tests has been changed. Going forwards only
with statements that are used to catch exceptions are considered actions, for
example, ``with pytest.raises(...):``. Otherwise, the with statement is
arrangement or assertion and must be separated from the Act block by a blank
line as usual. `146 <https://github.com/jamescooke/flake8-aaa/issues/146>`_.

Implementing this feature meant changing the line-by-line analysis that
happens on test function bodies.

0.9.0

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

Changed
.......

* Simply named files are now checked. For example ``test.py`` and ``tests.py``
are now checked but were skipped before. `124
<https://github.com/jamescooke/flake8-aaa/issues/124>`_.

Removed
.......

* Doctesting of internal helpers functions - not worth managing a whole tox
environment for when only two functions are being tested, and it's easier to
write the cases in pytest anyway. Tests moved to pytest.

0.8.1

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

Changed
.......

* Line that are covered by strings (like docstrings) are found with a
``NodeVisitor``. Previously this was an iterator on the tree. `132
<https://github.com/jamescooke/flake8-aaa/pull/132>`_.

0.8.0

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

Changed
.......

* Install requires ASTTokens version 2 or greater, was previously
``>= 1.1.10``.

* Special test examples that only ran on Python 3.6 and greater, now merged
into main test suite. `128
<https://github.com/jamescooke/flake8-aaa/pull/128>`_

Removed
.......

* Support for Python 3.5. `110
<https://github.com/jamescooke/flake8-aaa/issues/110>`_

* Pylint removed from linting checks.

Page 3 of 6

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.