From fd263a7bd37ab4134a5cfde4dbb37022653acac9 Mon Sep 17 00:00:00 2001 From: Neil Munday Date: Mon, 20 Nov 2023 22:10:56 +0000 Subject: [PATCH] refactor: linter fixes for flake8 in setup.py --- setup.py | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/setup.py b/setup.py index e5fd4c5..19f1362 100644 --- a/setup.py +++ b/setup.py @@ -27,11 +27,18 @@ import pathlib import sys -import setuptools # type: ignore +import setuptools # type: ignore sys.path.append(str(pathlib.Path(__file__).resolve().parents[0] / "src")) -from slurmmail import ARCHITECTURE, DESCRIPTION, LONG_DESCRIPTION, MAINTAINER, NAME, VERSION # pylint: disable=wrong-import-position +from slurmmail import ( # noqa + ARCHITECTURE, + DESCRIPTION, + LONG_DESCRIPTION, + MAINTAINER, + NAME, + VERSION +) setuptools.setup( author='Neil Munday', @@ -57,7 +64,7 @@ ]) ], description=DESCRIPTION, - entry_points = { + entry_points={ 'console_scripts': [ 'slurm-send-mail=slurmmail.cli:send_mail_main', 'slurm-spool-mail=slurmmail.cli:spool_mail_main'