Skip to content
This repository has been archived by the owner on Jul 22, 2024. It is now read-only.

Math subtract 19 #47

Closed
wants to merge 11 commits into from
Closed

Math subtract 19 #47

wants to merge 11 commits into from

Conversation

Albertomendonca
Copy link

Summary

  • main.py modified
  • math_services.py modified
  • math_test.py modified

Checklist

  • All tests are successful.
  • There are no linter errors.
  • All new features are documented.
  • All new features have regression tests.
  • All dependencies are listed on requirements.txt.
  • This branch is up-to-date with respect to external.
  • The test coverage is greater or equal to that of external.

Related Issue

Closes #19

Notes to Reviewer

...

@Albertomendonca Albertomendonca added the enhancement New feature or request label Mar 21, 2019
@Albertomendonca Albertomendonca added this to the Sprint 1 milestone Mar 21, 2019
@Albertomendonca Albertomendonca self-assigned this Mar 21, 2019
Copy link
Collaborator

@neumannrf neumannrf left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Após as resoluções dos conflitos apontados pelo GitHub e de espaçamento descrito nos comentários abaixo, este PR poderá ser aprovado.

main.py Outdated
port = os.getenv('PORT', '5000')
if __name__ == "__main__":
app.run(host='0.0.0.0', port=int(port))
app.run(host='0.0.0.0', port=int(port))
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Para evitar que o flake8 acuse um erro, por favor, adicione uma nova linha em branco no final de main.py.

subtracted_list = [x - integer_value for x in integer_list]
integer_list.clear()
integer_list.extend(subtracted_list)
return integer_list
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Para evitar que o flake8 acuse um erro, por favor, adicione uma nova linha em branco no final de src/math_services.py.

assert ms.subtract_list([1], 0) == [1]
assert ms.subtract_list([1], 1) == [0]
assert ms.subtract_list([1, 2], 1) == [0, 1]
assert ms.subtract_list([1, 2, 3], 1) == [0, 1, 2]
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Para evitar que o flake8 acuse um erro, por favor, adicione uma nova linha em branco no final de test/math_test.py.

@neumannrf neumannrf self-requested a review March 22, 2019 17:06
Copy link
Collaborator

@neumannrf neumannrf left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Albertomendonca Após as resoluções dos conflitos apontados pelo GitHub este PR poderá ser aprovado.

@neumannrf neumannrf closed this May 13, 2020
@neumannrf neumannrf deleted the math_subtract-19 branch May 13, 2020 20:51
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Create /math/subtract resource
3 participants