Skip to content

Commit

Permalink
Fix update_lexicons workflow 3
Browse files Browse the repository at this point in the history
  • Loading branch information
MarshalX committed Nov 14, 2024
1 parent ef248cc commit 5ae5757
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions update_lexicons.py
Original file line number Diff line number Diff line change
Expand Up @@ -152,11 +152,11 @@ def main() -> None:
_print('- Running codegen (poetry run atp -s gen all)...')
_run_subprocess(['poetry', 'run', 'atp', '-s', 'gen', 'all'])

_print('- Running ruff (poetry run ruff check --fix .)...')
_run_subprocess(['poetry', 'run', 'ruff', 'check', '--fix', '.'])
_print('- Running ruff (poetry run ruff check --quiet --fix .)...')
_run_subprocess(['poetry', 'run', 'ruff', 'check', '--quiet', '--fix', '.'])

_print('- Running ruff format (poetry run ruff -q format .)...')
_run_subprocess(['poetry', 'run', 'ruff', 'format', '-q', '.'])
_print('- Running ruff format (poetry run ruff --quiet format .)...')
_run_subprocess(['poetry', 'run', 'ruff', 'format', '--quiet', '.'])

_print('- Generating docs (make -s -C docs gen)...')
_remove_content_in_path(_FOLDER_OF_GEN_DOCS)
Expand All @@ -165,7 +165,7 @@ def main() -> None:
commit_message = f'Update lexicons fetched from {sha[:7]} committed {commit_date}'
_print(f'Commit message: {commit_message}')

print(commit_message, end='') # noqa: T201
print(commit_message) # noqa: T201


if __name__ == '__main__':
Expand Down

0 comments on commit 5ae5757

Please sign in to comment.