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

Ruff Formatting #34

Merged
merged 1 commit into from
Aug 11, 2024
Merged

Ruff Formatting #34

merged 1 commit into from
Aug 11, 2024

Conversation

shaharbar1
Copy link
Collaborator

Change log:

  1. Removed black, pylint, flake8, and isort. Replaced all with ruff on .pre-commit-config.yaml.
  2. Added compatible ruff definitions on pyproject.toml. Only missing definitions are for pylint variable good names and for ignoring R0903.
  3. Formatting now applies to notebooks, so they were changed correspondngly.
  4. Reformatted simulation_cmab.py.
  5. Changed type tests on UTs to follow "type(...) is ...", rather than type(...) == ..."

@shaharbar1 shaharbar1 force-pushed the feature/ruff_migration branch 2 times, most recently from 268f3d0 to c03066f Compare August 8, 2024 12:18
@shaharbar1 shaharbar1 force-pushed the feature/ruff_migration branch from c03066f to e7dd1bb Compare August 8, 2024 19:58
 Change log:
 1. Removed black, pylint, flake8, and isort. Replaced all with ruff on .pre-commit-config.yaml.
 2. Added compatible ruff definitions on pyproject.toml. Only missing definitions are for pylint variable good names and for ignoring R0903.
 3. Formatting now applies to notebooks, so they were changed correspondingly.
 4. Reformatted simulation_cmab.py.
 5. Changed type tests on UTs to follow "type(...) is ...", rather than type(...) == ..."
 6. Removed redundant style checks on continuous_integration.yml
@shaharbar1 shaharbar1 force-pushed the feature/ruff_migration branch from e7dd1bb to 4e232fa Compare August 8, 2024 20:18
Copy link
Collaborator

@dariodandrea dariodandrea left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:)

@shaharbar1 shaharbar1 merged commit 95122f4 into develop Aug 11, 2024
2 checks passed
@shaharbar1 shaharbar1 deleted the feature/ruff_migration branch August 11, 2024 04:58
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.

3 participants