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

Project indentation code style? #5

Closed
pfalcon opened this issue Oct 25, 2019 · 2 comments
Closed

Project indentation code style? #5

pfalcon opened this issue Oct 25, 2019 · 2 comments

Comments

@pfalcon
Copy link

pfalcon commented Oct 25, 2019

PEP8 clearly says Spaces are the preferred indentation method.. And large majority of Python project follow. But dvrip uses tabs. That's in sharp contrast to having a testsuite, using type annotations, etc. Is there a reason for that?

@alexshpilkin
Copy link
Owner

The simple answer is that I like it that way. I prefer my code (in whatever language) indented with tabs and aligned with spaces (see https://www.emacswiki.org/emacs/SmartTabs). If I had an objective reason to switch over—e.g. a contributor that couldn’t configure their editor that way—I would do so, but I don’t.

@pfalcon
Copy link
Author

pfalcon commented Oct 26, 2019

Sounds good, thanks for reply.

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