Removed requirement for root for pylint (#3138)
This commit is contained in:
parent
7ccc288b14
commit
6653a4e5a9
|
|
@ -90,7 +90,7 @@ def define_arguments() -> None:
|
|||
help="Skip the version check when running archinstall")
|
||||
|
||||
|
||||
if 'sphinx' not in sys.modules:
|
||||
if 'sphinx' not in sys.modules and 'pylint' not in sys.modules:
|
||||
if '--help' in sys.argv or '-h' in sys.argv:
|
||||
define_arguments()
|
||||
parser.print_help()
|
||||
|
|
|
|||
Loading…
Reference in New Issue