You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This will automatically run code formatting (pyink) and type checking (mypy) before each commit.
22
-
You can also run the hooks manually with: `uv run pre-commit run --all-files`
23
+
This will automatically run code formatting and type checking before each commit.
24
+
You can also run the hooks manually with: `uvx pre-commit run --all-files`
25
+
4. Build and serve docs locally: `uvx zensical serve`
23
26
24
27
25
28
## Before submitting a pull request...
26
29
27
30
Thanks so much for your contribution! For a volunteer led project, we so
28
31
appreciate your help. A few things to keep in mind:
32
+
29
33
- Please be nice. We assume good intent from you, and we ask you to do the same for us.
30
34
- Development in this project will be slow if not sporadic. Reviews will come
31
35
as time allows.
32
36
- Every contribution, big or small, matters and deserves credit.
33
37
34
38
Here are a few requests for your development process:
39
+
35
40
- We require all code to be formatted with `pyink` and type-checked with `mypy`.
36
41
These checks run automatically via pre-commit hooks (see Developer setup above).
37
42
If you need to run them manually:
38
-
- Formatting: `uv run pre-commit run pyink --all-files` or `uvx pyink .`
39
-
- Type checking: `uv run pre-commit run mypy --all-files` or `uv run mypy xarray_sql/`
43
+
- Formatting: `uvx pre-commit run pyink --all-files` or `uvx pyink .`
44
+
- Type checking: `uvx pre-commit run mypy --all-files` or `uvx mypy xarray_sql/`
40
45
- Please include unit tests, if possible, and performance tests when you touch the core functionality (see `perf_tests/`).
41
46
- It's polite to do a self review before asking for one from a maintainer. Don't stress if you forget; we all do sometimes.
42
47
- Please add (or update) documentation when adding new code. We use [Google Style docstrings](https://sphinxcontrib-napoleon.readthedocs.io/en/latest/example_google.html).
0 commit comments