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
Copy file name to clipboardExpand all lines: README.md
+10Lines changed: 10 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -74,6 +74,16 @@ DateTime strings in Azure Cosmos DB is `YYYY-MM-DDThh:mm:ss.fffffffZ` which foll
74
74
75
75
## Development
76
76
77
+
### Git hooks
78
+
We use [pre-commit](https://github.com/pre-commit/pre-commit) library to manage local git hooks, as developers we just need to run in our virtual environment:
79
+
80
+
```
81
+
pre-commit install
82
+
```
83
+
With this command the library will take configuration from `.pre-commit-config.yaml` and will set up the hooks by us.
84
+
85
+
Currently, we only have a hook to enforce semantic commit message.
86
+
77
87
### Test
78
88
We are using [Pytest](https://docs.pytest.org/en/latest/index.html) for tests. The tests are located in the package
79
89
`tests` and use the [conventions for python test discovery](https://docs.pytest.org/en/latest/goodpractices.html#test-discovery).
0 commit comments