Граф коммитов

7 Коммитов

Автор SHA1 Сообщение Дата
James Lamb 6f19edde52
[ci] [python-package] enforce 'pylint' checks (fixes #4308) (#6334) 2024-02-23 23:07:03 -06:00
James Lamb 1b792e7166
[ci] [python-package] enable ruff-format on tests and examples (#6317) 2024-02-21 12:15:38 -06:00
James Lamb c60bc739b0
[ci] [python-package] add more linting checks (#6049) 2023-08-19 07:01:28 -05:00
James Lamb d47006f4d0
[ci] [python-package] use ruff, enforce flake8-bugbear and flake8-comprehensions checks (#5871) 2023-05-15 22:49:31 -05:00
Nikita Titov 7f9959fe1c
[tests] clarify RuntimeError in distributed tests(#4452) 2021-07-07 08:29:53 -05:00
Nikita Titov ec1debcee8
[python] migrate to pathlib in distributed tests (#4443) 2021-07-05 18:47:24 -05:00
jmoralez b699fa68cb
[tests][cli] distributed training (#4254)
* include distributed tests

* remove github action file

* try CI

* build shared library and fix linting error

* ignore files created for testing. add type hints and check with mypy. include docstrings

* lint

* use pre_partition and write separate model files. remove mypy

* update docs

* remove ci. lower rtol. pass num_machines in config

* write predict.conf in the predict method. more robust port setup. use subprocess.run and check returncode

* add paths to tests and binary. remove lgb dependency. update .igtignore.

* lint

* allow to pass executable dir as argument to pytest

* pass execfile to pytest instead of execdir

* add suggestions

* use os.path and add type hint to predict_config

* Update tests/distributed/_test_distributed.py

Co-authored-by: James Lamb <jaylamb20@gmail.com>
2021-07-04 00:10:09 -05:00