diff --git a/.flake8 b/.flake8 index 83ef6c0..254cb80 100644 --- a/.flake8 +++ b/.flake8 @@ -8,7 +8,7 @@ exclude = __pycache__ build dist - tests + test *.pyc *.egg-info .cache diff --git a/setup.cfg b/setup.cfg index cfe72d6..9350af0 100644 --- a/setup.cfg +++ b/setup.cfg @@ -28,4 +28,4 @@ filterwarnings = ignore:.*pep8.*:FutureWarning [coverage:run] -omit = **/tests/* +omit = **/test/* diff --git a/setup.py b/setup.py index 66e8c38..5d8abf3 100644 --- a/setup.py +++ b/setup.py @@ -38,7 +38,7 @@ setup( license=get_property("__license__", PACKAGE_NAME), long_description=get_readme(), long_description_content_type="text/markdown", - packages=find_packages(exclude=["*.tests", "tests", "tests.*"]), + packages=find_packages(exclude=["*.test", "test", "test.*"]), package_data={"ansiblelater": ["data/*"]}, python_requires=">=3.5,<4", classifiers=[ @@ -65,5 +65,4 @@ setup( "colorama", "anyconfig", "python-json-logger", "jsonschema", "pathspec", "toolz" ], entry_points={"console_scripts": ["ansible-later = ansiblelater.__main__:main"]}, - test_suite="tests" )