Skip to content

Commit

Permalink
Import structure & first three model refactors
Browse files Browse the repository at this point in the history
  • Loading branch information
LysandreJik committed Jun 8, 2024
1 parent 25245ec commit d805428
Show file tree
Hide file tree
Showing 22 changed files with 701 additions and 325 deletions.
2 changes: 0 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -53,15 +53,13 @@ quality:
@python -c "from transformers import *" || (echo '🚨 import failed, this means you introduced unprotected imports! 🚨'; exit 1)
ruff check $(check_dirs) setup.py conftest.py
ruff format --check $(check_dirs) setup.py conftest.py
python utils/custom_init_isort.py --check_only
python utils/sort_auto_mappings.py --check_only
python utils/check_doc_toc.py


# Format source code automatically and check is there are any problems left that need manual fixing

extra_style_checks:
python utils/custom_init_isort.py
python utils/sort_auto_mappings.py
python utils/check_doc_toc.py --fix_and_overwrite

Expand Down
Loading

0 comments on commit d805428

Please sign in to comment.