diff --git a/docs/how_tos/check_encoding_problem_commutation.ipynb b/docs/how_tos/check_encoding_problem_commutation.ipynb index 763e110..fd938a0 100644 --- a/docs/how_tos/check_encoding_problem_commutation.ipynb +++ b/docs/how_tos/check_encoding_problem_commutation.ipynb @@ -242,7 +242,7 @@ } ], "source": [ - "import qiskit.tools.jupyter # pylint: disable=unused-import\n", + "import qiskit.tools.jupyter # pylint: disable=unused-import,wrong-import-order\n", "\n", "%qiskit_version_table\n", "%qiskit_copyright" diff --git a/docs/tutorials/01_getting_started.ipynb b/docs/tutorials/01_getting_started.ipynb index 5d879d3..f91b76c 100644 --- a/docs/tutorials/01_getting_started.ipynb +++ b/docs/tutorials/01_getting_started.ipynb @@ -476,7 +476,7 @@ } ], "source": [ - "import qiskit.tools.jupyter # pylint: disable=unused-import\n", + "import qiskit.tools.jupyter # pylint: disable=unused-import,wrong-import-order\n", "\n", "%qiskit_version_table\n", "%qiskit_copyright" diff --git a/docs/tutorials/02_advanced_usage.ipynb b/docs/tutorials/02_advanced_usage.ipynb index 00709fb..b980a0c 100644 --- a/docs/tutorials/02_advanced_usage.ipynb +++ b/docs/tutorials/02_advanced_usage.ipynb @@ -410,7 +410,7 @@ } ], "source": [ - "import qiskit.tools.jupyter # pylint: disable=unused-import\n", + "import qiskit.tools.jupyter # pylint: disable=unused-import,wrong-import-order\n", "\n", "%qiskit_version_table\n", "%qiskit_copyright" diff --git a/tox.ini b/tox.ini index e16d9f8..07aa373 100644 --- a/tox.ini +++ b/tox.ini @@ -27,7 +27,7 @@ envdir = .tox/lint commands = black --check . pylint -rn --py-version=3.6 --disable=fixme,invalid-name,missing-function-docstring,protected-access,duplicate-code qrao tests - nbqa pylint -rn --py-version=3.6 --disable=missing-module-docstring,wrong-import-order,wrong-import-position,line-too-long,invalid-name,missing-function-docstring,pointless-statement,duplicate-code docs/ tests/ + nbqa pylint -rn --py-version=3.6 --disable=missing-module-docstring,wrong-import-position,line-too-long,invalid-name,missing-function-docstring,pointless-statement,duplicate-code docs/ tests/ mypy qrao tests [testenv:black]