Add copyright + some ruff lint things (#2523)

* Copyright and ruff stuff

* lol
This commit is contained in:
Zach Mueller
2024-03-04 09:14:31 -05:00
committed by GitHub
parent ee004674b9
commit 7a2feecad4
27 changed files with 226 additions and 26 deletions

View File

@ -12,13 +12,13 @@ extra_quality_checks:
# this target runs checks on all files
quality:
ruff $(check_dirs)
ruff check $(check_dirs)
ruff format --check $(check_dirs)
doc-builder style src/accelerate docs/source --max_len 119 --check_only
# Format source code automatically and check is there are any problems left that need manual fixing
style:
ruff $(check_dirs) --fix
ruff check $(check_dirs) --fix
ruff format $(check_dirs)
doc-builder style src/accelerate docs/source --max_len 119