-
Rhys Goodall authored
Summary: ## Motivation I am so used to relying on `pre-commit` that I have forgotten to run manual linting when making PRs to `botorch`. This adds a simple `pre-commit` config to automate linting. ### Have you read the [Contributing Guidelines on pull requests](https://github.com/pytorch/botorch/blob/main/CONTRIBUTING.md#pull-requests)? Yes Pull Request resolved: https://github.com/pytorch/botorch/pull/2632 Test Plan: This PR should not affect anything. There are tools to run pre-commit in ci that maintainers could add to the package: https://pre-commit.ci/ ## Related Issues: https://github.com/omnilib/ufmt/issues/251 The pre-commit hook only seems to work for v2.3.0 of ufmt. This issue tracks the error following from ruff_api. Reviewed By: saitcakmak Differential Revision: D66169817 Pulled By: Balandat fbshipit-source-id: a1034d8a882749ee7ff08d4cc92188957073b3c8
3f2e2c75Rhys Goodall authoredSummary: ## Motivation I am so used to relying on `pre-commit` that I have forgotten to run manual linting when making PRs to `botorch`. This adds a simple `pre-commit` config to automate linting. ### Have you read the [Contributing Guidelines on pull requests](https://github.com/pytorch/botorch/blob/main/CONTRIBUTING.md#pull-requests)? Yes Pull Request resolved: https://github.com/pytorch/botorch/pull/2632 Test Plan: This PR should not affect anything. There are tools to run pre-commit in ci that maintainers could add to the package: https://pre-commit.ci/ ## Related Issues: https://github.com/omnilib/ufmt/issues/251 The pre-commit hook only seems to work for v2.3.0 of ufmt. This issue tracks the error following from ruff_api. Reviewed By: saitcakmak Differential Revision: D66169817 Pulled By: Balandat fbshipit-source-id: a1034d8a882749ee7ff08d4cc92188957073b3c8
After you've reviewed these contribution guidelines, you'll be all set to
contribute to this project.
Loading