Skip to content

v20250110-224800

Latest
Compare
Choose a tag to compare
@github-actions github-actions released this 10 Jan 22:52
· 1 commit to main since this release
f4a275b
[CI] Enable NEWLINE linter (#6162)

* Copy over newlines_linter.py from
https://github.com/pytorch/pytorch/blob/a94ec0a9a5ac91fcd9f69d6640ab0fe1efd068ae/tools/linter/adapters/newlines_linter.py
* Enable NEWLINE linter in CI
* Adds some files to the ignore list that probably shouldn't be changed
* Applies the linter `lintrunner -a --all-files --take NEWLINE`

We should move some of the adapter to some common place at some point,
or make it so that init will take them from pytorch automatically