-
Notifications
You must be signed in to change notification settings - Fork 34
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
Makefile and indentation fixes #7
Conversation
The recent changes in speced/bikeshed#1635 also need to be reflected into the spec Makefiles.
Per https://www.python.org/dev/peps/pep-0008/#indentation we should probably use 4 spaces for *.py. |
Generally we seem to use 2-space indents, e.g. in the CSS of Encoding, or the JavaScript of Streams, or the .travis.yml files everywhere. It's only in the Bikeshed file that we use one-space indents. Additionally, per https://www.python.org/dev/peps/pep-0008/#indentation, Python files use four-space indents. This updates .editorconfig appropriately, and aligns .pr-preview.json files with this new default.
Force-pushed a commit that adds 4 spaces for |
The indentation looks wrong in the Makefile. Maybe we need .editorconfig for this repository as well. :-) Also, should I wait with this until the Streams thing is done? |
Force-pushed a fix to the Makefile No need to wait on Streams; that's still got some time left and I will probably just roll these changes in as part of it. |
I'll merge this, but I still need to look at tooling to make PRs to all repositories easier. |
I'm not sure about the default 2-space indents (vs. e.g. 4-space). The Python files in Encoding use 4-space, notably.