-
-
Notifications
You must be signed in to change notification settings - Fork 46.6k
[Project Euler] Algorithms do not follow coding styles #2786
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
UPDATE: As this is getting closer and closer to being fixed and the number of files per directory is reducing, you can create a PR fixing files in maximum 2 directories.This is a completely valid issue. The thing is:
Now as the number of solutions is increasing we need to enforce some of the consistency. One of the main ones was as I mentioned in #2695 (comment) but as you said there are many more. We can start with this and fix one issue at a time. Due to some of the solutions not containing Submit the fix for These are the errors which need to be fixed before we can start running the script in our tests: These two are the main messages to look for in the above log:
Current Status:
|
* fix code style in problem 76 Signed-off-by: joan.rosellr <[email protected]> * Update sol1.py * Update sol1.py * Remove trailing whitespace Co-authored-by: Dhruv <[email protected]>
* name method solution in project_euler/problem99 * rename function
@M-smits Yes, but keep in mind that the task list only removes a fix if it's merged. It might be the case that the fix is present in the list but someone already opened a PR, you have to confirm that yourself. |
@dhruvmanila I'm a beginner in Python and would love to contribute. Could you please guide me with any of the issues and I'll take it from there? |
I would like to work on this in python. kindly assign me this work. |
Thank you everyone for submitting the PR and fixing this issue in such a short amount of time. There's only one file remaining to be fixed but that requires a lot of work, so if anyone's up for the challenge they are most welcomed: There's one more issue which needs to be fixed which is regarding |
…76 (TheAlgorithms#2978) * fix code style in problem 76 Signed-off-by: joan.rosellr <[email protected]> * Update sol1.py * Update sol1.py * Remove trailing whitespace Co-authored-by: Dhruv <[email protected]>
…76 (TheAlgorithms#2978) * fix code style in problem 76 Signed-off-by: joan.rosellr <[email protected]> * Update sol1.py * Update sol1.py * Remove trailing whitespace Co-authored-by: Dhruv <[email protected]>
Many algorithms in Project Euler do not follow coding styles as mentioned by @dhruvmanila here, or even the standard coding guidelines.
Notes:
solution
functions (a lot of them aren't named as "solution")But there are places where this isn't practised.
Python/project_euler/problem_30/soln.py
Line 36 in b934da4
Python/project_euler/problem_01/sol1.py
Line 9 in b934da4
Python/project_euler/problem_01/sol2.py
Line 9 in b934da4
The list isn't complete.
As a beginner who's looking to either understand/contribute, this makes it a bit difficult.
The text was updated successfully, but these errors were encountered: