Skip to content
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

Bad python code formatting #2

Open
farooqkz opened this issue Mar 11, 2022 · 2 comments
Open

Bad python code formatting #2

farooqkz opened this issue Mar 11, 2022 · 2 comments

Comments

@farooqkz
Copy link

Hello. I've checked tiny_gp.py and my linter found several errors in your code. Please fix them or if not let me know and I will send a PR.

@fffchameleon
Copy link

fffchameleon commented May 25, 2023

@farooqkz hello, although I'm not the owner of this repo, I'm interested in better understanding the issues you've identified. Could I refer to your code for learning purposes? If you're okay with this, I would really appreciate your guidance. Thank you!

@farooqkz
Copy link
Author

@farooqkz hello, although I'm not the owner of this repo, I'm interested in better understanding the issues you've identified. Could I refer to your code for learning purposes? If you're okay with this, I would really appreciate your guidance. Thank you!

https://pep8.org

Also there are tools like https://pypi.org/project/black/ which check your code and tell you were you did it wrong. This is for Python. For other languages, you must follow their own coding styles.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants