diff --git a/axis/__init__.py b/axis/__init__.py index 003977d3..ccf548db 100644 --- a/axis/__init__.py +++ b/axis/__init__.py @@ -1,2 +1,2 @@ -from .device import AxisDevice # noqa -from .errors import * # noqa +from .device import AxisDevice # noqa: F401 +from .errors import * # noqa: F401, F403 diff --git a/axis/applications/__init__.py b/axis/applications/__init__.py index f17972bf..ed00b72f 100644 --- a/axis/applications/__init__.py +++ b/axis/applications/__init__.py @@ -1 +1 @@ -from .applications import * # noqa +from .applications import * # noqa: F401, F403 diff --git a/requirements-test.txt b/requirements-test.txt index 73acd3de..b29c8760 100644 --- a/requirements-test.txt +++ b/requirements-test.txt @@ -4,5 +4,6 @@ pytest-asyncio httpx==0.18.1 respx==0.17.0 flake8==3.9.2 +flake8-noqa==1.1.0 black==21.5b1 isort==5.8.0 diff --git a/setup.cfg b/setup.cfg index 36d6d2a1..774a132e 100644 --- a/setup.cfg +++ b/setup.cfg @@ -13,4 +13,5 @@ ignore = W503, E203, D202, - W504 \ No newline at end of file + W504 +noqa-require-code = True