Commit ea253e7a authored by Markus Scheidgen's avatar Markus Scheidgen
Browse files

Lessen the linting strictness on lambda expressions.

parent c2aada9a
Pipeline #62455 failed with stages
in 21 minutes and 25 seconds
......@@ -62,7 +62,7 @@ linting:
image: $TEST_IMAGE
script:
- cd /app
- python -m pycodestyle --ignore=E501,E701 nomad tests
- python -m pycodestyle --ignore=E501,E701,E731 nomad tests
- python -m pylint --load-plugins=pylint_mongoengine nomad tests
- python -m mypy --ignore-missing-imports --follow-imports=silent --no-strict-optional nomad tests
except:
......
......@@ -35,7 +35,7 @@ def qa(skip_tests: bool, exitfirst: bool):
click.echo('Run tests ...')
ret_code += os.system('python -m pytest -sv%s tests' % ('x' if exitfirst else ''))
click.echo('Run code style checks ...')
ret_code += os.system('python -m pycodestyle --ignore=E501,E701 nomad tests')
ret_code += os.system('python -m pycodestyle --ignore=E501,E701,E731 nomad tests')
click.echo('Run linter ...')
ret_code += os.system('python -m pylint --load-plugins=pylint_mongoengine nomad tests')
click.echo('Run static type checks ...')
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment