File tree 1 file changed +12
-0
lines changed 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -25,6 +25,18 @@ With `-e` passed to `pip install` above pip can reference the code you are
25
25
modifying in the * virtual env* . That way, you do not need to run ` pip install `
26
26
again to make your changes applied to the * virtual env* .
27
27
28
+ ### ` pre-commit ` checks
29
+
30
+ Code is automatically checked on commit by a [ pre-commit] ( https://pre-commit.com/ ) git hook.
31
+
32
+ Following checks are performed:
33
+
34
+ - [ ` isort ` ] ( https://pycqa.github.io/isort/ ) for sorting imports
35
+ - [ ` flake8 ` ] ( https://flake8.pycqa.org/en/latest/ ) for code linting
36
+ - [ ` mypy ` ] ( https://mypy.readthedocs.io/en/stable/ ) for static type checking
37
+
38
+ Install the git hook by executing ` pre-commit install ` .
39
+
28
40
## Running tests
29
41
30
42
` trino-python-client ` uses [ pytest] ( https://pytest.org/ ) for its tests. To run
You can’t perform that action at this time.
0 commit comments