Skip to content

Commit 42b34e7

Browse files
committed
Merge branch 'refactor/ruff' of github.com:eddiebergman/openml-python into refactor/ruff
2 parents 8d80aa4 + 876f8e4 commit 42b34e7

File tree

1 file changed

+21
-17
lines changed

1 file changed

+21
-17
lines changed

CONTRIBUTING.md

Lines changed: 21 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -214,28 +214,32 @@ Before each commit, it will automatically run:
214214
but make sure to make adjustments if it does fail.
215215

216216
If you want to run the pre-commit tests without doing a commit, run:
217-
```bash
218-
$ pre-commit run --all-files
219-
```
217+
```bash
218+
$ make check
219+
```
220+
or on a system without make, like Windows:
221+
```bash
222+
$ pre-commit run --all-files
223+
```
220224
Make sure to do this at least once before your first commit to check your setup works.
221225

222226
Executing a specific unit test can be done by specifying the module, test case, and test.
223227
To obtain a hierarchical list of all tests, run
224228

225-
```bash
226-
$ pytest --collect-only
227-
228-
<Module 'tests/test_datasets/test_dataset.py'>
229-
<UnitTestCase 'OpenMLDatasetTest'>
230-
<TestCaseFunction 'test_dataset_format_constructor'>
231-
<TestCaseFunction 'test_get_data'>
232-
<TestCaseFunction 'test_get_data_rowid_and_ignore_and_target'>
233-
<TestCaseFunction 'test_get_data_with_ignore_attributes'>
234-
<TestCaseFunction 'test_get_data_with_rowid'>
235-
<TestCaseFunction 'test_get_data_with_target'>
236-
<UnitTestCase 'OpenMLDatasetTestOnTestServer'>
237-
<TestCaseFunction 'test_tagging'>
238-
```
229+
```bash
230+
$ pytest --collect-only
231+
232+
<Module 'tests/test_datasets/test_dataset.py'>
233+
<UnitTestCase 'OpenMLDatasetTest'>
234+
<TestCaseFunction 'test_dataset_format_constructor'>
235+
<TestCaseFunction 'test_get_data'>
236+
<TestCaseFunction 'test_get_data_rowid_and_ignore_and_target'>
237+
<TestCaseFunction 'test_get_data_with_ignore_attributes'>
238+
<TestCaseFunction 'test_get_data_with_rowid'>
239+
<TestCaseFunction 'test_get_data_with_target'>
240+
<UnitTestCase 'OpenMLDatasetTestOnTestServer'>
241+
<TestCaseFunction 'test_tagging'>
242+
```
239243

240244
You may then run a specific module, test case, or unit test respectively:
241245
```bash

0 commit comments

Comments
 (0)