|
1 | 1 | ## How to contribute |
2 | 2 |
|
3 | | -Thank you for your interest in contributing to the *search-query* package! |
4 | | -We encourage you to have a look at our [open issues](https://github.com/CoLRev-Environment/search-query/issues) or open a new one if you encounter an un-addressed problem. |
| 3 | +Contributions to the *search-query* package are welcome. |
| 4 | +The [open issues](https://github.com/CoLRev-Environment/search-query/issues) highlight outstanding problems and potential enhancements. |
5 | 5 |
|
6 | | -Here are some guidelines for how to contribute to the package. |
| 6 | +The following guidelines describe how to contribute to the package. |
7 | 7 |
|
8 | 8 | **Want to implement a new search platform?** |
9 | 9 |
|
10 | | -Right now, the package supports a limited amount of search platforms. |
11 | | -We therefore appreciate help in expanding the package with new platforms. |
12 | | -If you’re unsure which platform to implement, check our [platform roadmap](https://github.com/CoLRev-Environment/search-query/issues/46). |
| 10 | +Right now, the package supports a limited number of search platforms. |
| 11 | +Help in expanding the package with new platforms is appreciated. |
| 12 | +The [platform roadmap](https://github.com/CoLRev-Environment/search-query/issues/46) indicates priority areas. |
13 | 13 |
|
14 | | -Our [development documentation](https://colrev-environment.github.io/search-query/dev_docs/overview.html) includes an overview of best practices for implementing a new search platform, along with code skeletons to help you get started. |
| 14 | +The [development documentation](https://colrev-environment.github.io/search-query/dev_docs/overview.html) provides an overview of best practices for implementing a new search platform, along with code skeletons. |
15 | 15 |
|
16 | 16 | **Found a bug?** |
17 | 17 |
|
18 | | -If you found a bug or encountered any issues while using the package, you can contribute by [opening an issue](https://github.com/CoLRev-Environment/search-query/issues/new). |
19 | | -When possible, include a minimal code example and describe the expected behavior. |
| 18 | +Bug reports and other issues can be submitted via [the issue tracker](https://github.com/CoLRev-Environment/search-query/issues/new). |
| 19 | +A minimal code example and a description of expected behavior facilitate triage. |
20 | 20 |
|
21 | 21 | **Running and extending the test suite** |
22 | 22 |
|
23 | | -We use [`pytest`](https://docs.pytest.org/) for testing. |
| 23 | +[`pytest`](https://docs.pytest.org/) is used for testing. |
24 | 24 | Tests are located in the `tests/` directory and are organized by functionality (e.g., linting, parsing, platform-specific implementations). |
25 | 25 |
|
26 | 26 | To run all tests locally: |
@@ -52,15 +52,14 @@ Adding new tests |
52 | 52 | * Group related tests into logical classes or functions. |
53 | 53 | * Use clear and descriptive test names (`test_what_it_does`). |
54 | 54 | * Prefer [pytest parameterization](https://docs.pytest.org/en/stable/how-to/parametrize.html) when testing multiple input–output pairs. |
55 | | -* If you implement a new search platform, include tests for end-to-end search-query functionality |
| 55 | +* Implementing a new search platform should include tests for end-to-end search-query functionality. |
56 | 56 |
|
57 | 57 | **Other ways to contribute** |
58 | 58 |
|
59 | | -Of course, we also welcome smaller contributions, such as bug fixes or improvements to the package documentation. |
| 59 | +Smaller contributions, such as bug fixes or improvements to the package documentation, are also appreciated. |
60 | 60 | <!-- TODO: Include guide for contributing to docs? --> |
61 | 61 |
|
62 | | -If you’ve made changes to the source code or documentation, fork the repository and open a [pull request](https://github.com/CoLRev-Environment/search-query/compare). |
63 | | -Please include a clear description of your changes. |
| 62 | +After making changes to the source code or documentation, fork the repository and open a [pull request](https://github.com/CoLRev-Environment/search-query/compare) with a clear description of the changes. |
64 | 63 |
|
65 | 64 | ### Adding a new parser/serializer version |
66 | 65 |
|
|
0 commit comments