Skip to content
Snippets Groups Projects
Commit ea253e7a authored by Markus Scheidgen's avatar Markus Scheidgen
Browse files

Lessen the linting strictness on lambda expressions.

parent c2aada9a
No related branches found
No related tags found
1 merge request!63v0.6.2
Pipeline #62455 failed
......@@ -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 ...')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment