Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[chore] Add Makefile for quality/style (code quality, formatting) with ruff #2399

Merged
merged 19 commits into from
Jan 10, 2024

Conversation

tomaarsen
Copy link
Collaborator

Hello!

Pull Request overview

  • Add Makefile with make style and make quality
  • Add ruff with configuration file
  • Add make quality to CI to ensure high quality code from now onwards
  • Remove star imports; bare exceptions; no longer override imported modules; use all; avoid * imports
  • Remove unused imports
  • Fix 2 broken examples
  • Resolve error if dataloader has get_config_dict()

Details

This PR introduces formatting and code quality using ruff. In doing so, I discovered a handful of issues as well, e.g. in 2 examples.

  • Tom Aarsen

@tomaarsen tomaarsen merged commit f9f3a43 into UKPLab:master Jan 10, 2024
9 checks passed
@tomaarsen tomaarsen deleted the chore/makefile branch January 10, 2024 09:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant