Skip to content

Commit e109787

Browse files
pylint: disable import-outside-toplevel case
Disable a case of C0415 import-outside-toplevel: we allow to run commands like `python setup.py test` without setuptools_scm. Part of #270
1 parent 8decb50 commit e109787

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ class BuildPyCommand(build_py):
2222
def run(self):
2323
# Import here to allow to run commands
2424
# like `python setup.py test` without setuptools_scm.
25+
# pylint: disable=import-outside-toplevel
2526
from setuptools_scm import get_version
2627
version = get_version()
2728

0 commit comments

Comments
 (0)