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

Apply more ruff rules #1660

Merged
merged 8 commits into from
Aug 14, 2024
Merged

Commits on Aug 12, 2024

  1. Configuration menu
    Copy the full SHA
    eabd728 View commit details
    Browse the repository at this point in the history
  2. Apply ruff/tryceratops rule TRY201

    TRY201 Use `raise` without specifying exception name
    DimitriPapadopoulos committed Aug 12, 2024
    Configuration menu
    Copy the full SHA
    7079547 View commit details
    Browse the repository at this point in the history
  3. Apply ruff/flake8-simplify rule SIM110

    SIM110 Use `return all` instead of `for` loop
    DimitriPapadopoulos committed Aug 12, 2024
    Configuration menu
    Copy the full SHA
    96f74a2 View commit details
    Browse the repository at this point in the history
  4. Apply ruff/flake8-pytest-style rule PT014

    PT014 Duplicate of test case in `@pytest_mark.parametrize`
    DimitriPapadopoulos committed Aug 12, 2024
    Configuration menu
    Copy the full SHA
    d54f8c0 View commit details
    Browse the repository at this point in the history
  5. Apply ruff rule RUF010

    RUF010 Use explicit conversion flag
    DimitriPapadopoulos committed Aug 12, 2024
    Configuration menu
    Copy the full SHA
    ec35e6c View commit details
    Browse the repository at this point in the history
  6. Apply ruff rule RUF100

    RUF100 Unused `noqa` directive
    DimitriPapadopoulos committed Aug 12, 2024
    Configuration menu
    Copy the full SHA
    d37edc4 View commit details
    Browse the repository at this point in the history
  7. Apply ruff/Pyflakes rule F811

    F811 Redefinition of unused `get_data`
    DimitriPapadopoulos committed Aug 12, 2024
    Configuration menu
    Copy the full SHA
    5901bfc View commit details
    Browse the repository at this point in the history
  8. Apply ruff/pandas-vet rule PD011

    PD011 Use `.to_numpy()` instead of `.values`
    DimitriPapadopoulos committed Aug 12, 2024
    Configuration menu
    Copy the full SHA
    bd424af View commit details
    Browse the repository at this point in the history