Skip to content

Commit 5f032a1

Browse files
tomhennigancopybara-github
authored andcommitted
Create pylint and yapf style files.
The only diff from Google's pylintrc [0] is disabling `no-name-in-module` (it doesn't like our `del _src` trick). To run pylint: $ pylint haiku ------------------------------------ Your code has been rated at 10.00/10 To reformat a file with yapf (first looks at the diff, second reformats in-place): $ yapf --diff haiku/_src/base.py $ yapf --in-place haiku/_src/base.py I will add a GitHub action that enforces pylint is clean in a follow up change. [0] https://google.github.io/styleguide/pylintrc PiperOrigin-RevId: 302323789 Change-Id: Id13746a4c8d7cc3368a2186ab340ae5bd678fb95
1 parent 37a7a6e commit 5f032a1

File tree

2 files changed

+433
-0
lines changed

2 files changed

+433
-0
lines changed

0 commit comments

Comments
 (0)