Skip to content

Conversation

poyea
Copy link
Member

@poyea poyea commented Oct 16, 2021

Describe your change:

> mypy project_euler/problem_092/sol1.py Success: no issues found in 1 source file 
3 items passed all tests: 3 tests in __main__.chain 3 tests in __main__.next_number 2 tests in __main__.solution 8 tests in 4 items. 8 passed and 0 failed. Test passed. 
  • Add an algorithm?
  • Fix a bug or typo in an existing algorithm?
  • Documentation change?

Checklist:

  • I have read CONTRIBUTING.md.
  • This pull request is all my own work -- I have not plagiarized.
  • I know that pull requests will not be merged if they fail the automated tests.
  • This PR only changes one algorithm file. To ease review, please open separate PRs for separate algorithms.
  • All new Python files are placed inside an existing directory.
  • All filenames are in all lowercase characters with no spaces or dashes.
  • All functions and variable names follow Python naming conventions.
  • All function parameters and return values are annotated with Python type hints.
  • All functions have doctests that pass the automated testing.
  • All new algorithms have a URL in its comments that points to Wikipedia or other similar explanation.
  • If this pull request resolves one or more open issues then the commit message contains Fixes: #{$ISSUE_NO}.
@ghost ghost added awaiting reviews This PR is ready to be reviewed enhancement This PR modified some existing files labels Oct 16, 2021
@ghost ghost added the tests are failing Do not merge until tests pass label Oct 16, 2021
@poyea
Copy link
Member Author

poyea commented Oct 16, 2021

Fixing #5091
@srishtik2310 @cclauss Your reviews please.

> mypy project_euler Success: no issues found in 254 source files 
@ghost ghost removed the tests are failing Do not merge until tests pass label Oct 16, 2021
@poyea poyea self-assigned this Oct 16, 2021
@poyea poyea changed the title [mypy] fix mypy error in Project Euler Problem 092 [mypy] fix mypy error in Project Euler Problem 092 solution 1 Oct 16, 2021
@srishtik2310
Copy link

It is my first time contributing to open source. Surprised to see so many things could have been better. Thank you for fixing the code @poyea. Got to learn lot of things.

@cclauss cclauss merged commit 4bf2eed into master Oct 17, 2021
@ghost ghost removed the awaiting reviews This PR is ready to be reviewed label Oct 17, 2021
@cclauss cclauss deleted the mypy-project-euler-092-sol-1 branch October 17, 2021 06:07
shermanhui pushed a commit to shermanhui/Python that referenced this pull request Oct 22, 2021
…orithms#5357) * fix mypy error * updating DIRECTORY.md * simplify code * run black * fix doc consistency * Fix doc * fix doc Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement This PR modified some existing files

3 participants