Flake8-aaa

Latest version: v0.17.0

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

Scan your dependencies

Page 5 of 6

0.5.2

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

Added
.....

* Support for Python 3.7.

Changed
.......

* Act node now distinguished from Act block in code and docs. Generic ``Block``
class now handles all blocks.

* Python warnings now reported in test runs.

* Command line wrapper fixed to manually close files opened by ``argparse``.

0.5.1

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

Added
.....

* Bad examples folder. This is used for testing that files containing tests
that fail linting return the expected content when run with ``flake8.

Fixed
.....

* Spacing between Arrange and Act analysis fixed. Now recognises comment
blocks.

* Spacing between Act and Assert analysis fixed. Now recognises comment blocks.

* Act Blocks can now contain context managers that are not test suite exception
catchers like ``pytest.raises()``.

Changed
.......

* Location of package pushed down to ``/src`` directory as `recommended by
pytest
<https://docs.pytest.org/en/latest/goodpractices.html#choosing-a-test-layout-import-rules>`_.

0.5.0

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

Added
.....

* Python 3.5 now supported.

* Command line functionality now available to assist with development and
debugging.

* New line-wise analysis, including updated blank line checking and a new
``AAA99`` rule for node to line mapping collisions.

Removed
.......

* Python 2.7 support removed.

* ``flake8`` package removed as a dependency since Flake8-AAA can be run on a
command line without it.

0.4.0

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

Added
.....

* Support for unittest tests.

Changed
.......

* Improved loading of Act blocks so that they can be found within context
managers.

0.3.0

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

Added
.....

* New rule ``AAA03`` "expected 1 blank line before Act block, found none"

* New rule ``AAA04`` "expected 1 blank line before Assert block, found none"

0.2.0

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

Added
.....

* `Documentation on RTD <https://flake8-aaa.readthedocs.io/>`_

Fixed
.....

* Allow parsing of files containing unicode.

* Do not parse ``pytest.raises`` blocks in Assert block as Actions.

Page 5 of 6

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.