diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index c305b42fe5cfb23a7d180a27048f9324e4f7b450..a94ee48b12301c974ed2ad8aa99d05cd65d739d9 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -7,7 +7,7 @@ lint: before_script: - pip install pylint script: - - pylint -j 8 --disable=wrong-import-position,deprecated-lambda setup.py xenv + - pylint setup.py xenv flake: before_script: diff --git a/xenv/modules.py b/xenv/modules.py index eae9550b6f6bf40247d016954710921d0d807609..e9a2045f75bc064187e6da8df2f811c395c01e29 100644 --- a/xenv/modules.py +++ b/xenv/modules.py @@ -59,7 +59,7 @@ def _module_command_lmod(env, argv): class SwitchEnvironment(ast.NodeTransformer): """an AST node transformer that replaces `os.environ` with `env`""" - # pylint: disable-next=invalid-name,no-self-use + # pylint: disable-next=invalid-name def visit_Attribute(self, node): """replace `os.environ` Attribute nodes with `env` Name nodes""" return ast.copy_location(