cbdq-io / testinfra-bdd

An interface between pytest-bdd and pytest-testinfra.
https://pypi.org/project/testinfra-bdd/
BSD 3-Clause "New" or "Revised" License
3 stars 2 forks source link

Fix "file_lines" issue in testinfra_bdd/__init__.py #35

Closed dallinb closed 2 years ago

dallinb commented 2 years ago

File __init__.py has 649 lines of code (exceeds 250 allowed). Consider refactoring.

https://codeclimate.com/github/locp/testinfra-bdd/testinfra_bdd/__init__.py#issue_629b55461d7f32000100001f

dallinb commented 2 years ago

May be assisted with https://docs.pytest.org/en/7.1.x/how-to/writing_plugins.html#requiring-loading-plugins-in-a-test-module-or-conftest-file