tiny_gp icon indicating copy to clipboard operation
tiny_gp copied to clipboard

Bad python code formatting

Open farooqkz opened this issue 3 years ago • 2 comments

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.

farooqkz avatar Mar 11 '22 21:03 farooqkz

@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!

fffchameleon avatar May 25 '23 17:05 fffchameleon

@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.

farooqkz avatar May 25 '23 19:05 farooqkz