"src/git@developer.sourcefind.cn:tianlh/lightgbm-dcu.git" did not exist on "4ecd08cd11124328ed8a81c870ce817c06764608"
  1. 12 Sep, 2025 1 commit
  2. 14 Jul, 2025 1 commit
    • Nick Miller's avatar
      [ci][python-package] Enforce and fix ruff flake8-pytest-style (PT) linting codes (#6959) · 0ec55c97
      Nick Miller authored
      
      
      * Add "PT" ruff code to pyproject.toml plus some exceptions
      
      * Extend PT011 for Exception, IndexError, TypeError
      
      * Fix PT001: Use `@pytest.fixture` over `@pytest.fixture()`
      
      * Fix PT011: pytest.raises({exception}) is too broad, set the match parameter or use a more specific exception
      
      * Fix PT012: `pytest.raises()` block should contain a single simple statement
      
      * Fix PT017: Found assertion on exception {name} in except block, use pytest.raises() instead
      
      * Fix PT018: Assertion should be broken down into multiple parts
      
      * Remove PT006 and PT007 from ignore list and fixup
      
      * Use *Exception and *Error glob to apply PT011 and ignore AssertionErrors
      
      ---------
      Co-authored-by: default avatarNikita Titov <nekit94-08@mail.ru>
      0ec55c97
  3. 07 Feb, 2025 1 commit
  4. 05 Feb, 2025 1 commit
  5. 11 Jan, 2025 1 commit
  6. 13 Jun, 2024 1 commit
  7. 29 Apr, 2024 1 commit
  8. 19 Mar, 2024 1 commit
  9. 21 Feb, 2024 1 commit
  10. 14 Dec, 2023 1 commit
  11. 10 Dec, 2023 1 commit
  12. 06 Dec, 2023 1 commit
  13. 04 Dec, 2023 1 commit
  14. 22 Nov, 2023 1 commit
  15. 13 Nov, 2023 1 commit
  16. 07 Nov, 2023 1 commit
  17. 01 Nov, 2023 1 commit