Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
lint: ignore flake8-boolean-trap errors
To reproduce the errors: ``` ruff check --select "FBT" black_it tests examples scripts\n ``` In fact, we added "FBT" in the ignore list. The reason is that fixing them would have required changing the signature of many functions, which could have broken user code in many ways. We decided that such errors do not have the highest priority for the improvmement of the quality of the software. We fixed a couple of errors that do not have an impact on the user code since they deal with private/test functions: black_it/utils/time_series.py:83:32: FBT003 Boolean positional value in function call tests/test_losses/test_gsl.py:28:34: FBT001 Boolean-typed positional argument in function definition tests/test_losses/test_gsl.py:28:34: FBT002 Boolean default positional argument in function definition
- Loading branch information