Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
nomad-lab
nomad-FAIR
Commits
ea253e7a
Commit
ea253e7a
authored
Oct 24, 2019
by
Markus Scheidgen
Browse files
Lessen the linting strictness on lambda expressions.
parent
c2aada9a
Pipeline
#62455
failed with stages
in 21 minutes and 25 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
ea253e7a
...
...
@@ -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
:
...
...
nomad/cli/dev.py
View file @
ea253e7a
...
...
@@ -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 ...'
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment