Skip to content

Commit 509876c

Browse files
authored
chore: make pre-commit run faster on pytest, and reformat (#1234)
1 parent 0d5cbb5 commit 509876c

File tree

7 files changed

+9
-11
lines changed

7 files changed

+9
-11
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,3 +76,4 @@ repos:
7676
types: [python]
7777
pass_filenames: false
7878
always_run: false
79+
args: ["python"]

docs/docs/examples/examples/01_docs_to_knowledge_graph.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -373,4 +373,4 @@ You can open it at [http://localhost:7474](http://localhost:7474), and run the f
373373
MATCH p=()-->() RETURN p
374374
```
375375
376-
![Neo4j Browser](/img/examples/docs_to_knowledge_graph/neo4j_browser.png)
376+
![Neo4j Browser](/img/examples/docs_to_knowledge_graph/neo4j_browser.png)

docs/docs/sources/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,6 @@ In CocoIndex, a source is the data origin you import from (e.g., files, database
1717
| [Postgres](/docs/sources/postgres) | Relational database (Postgres) |
1818

1919
Related:
20-
- [Life cycle of a indexing flow](/docs/core/basics#life-cycle-of-an-indexing-flow)
21-
- [Live Update Tutorial](/docs/tutorials/live_updates)
20+
- [Life cycle of a indexing flow](/docs/core/basics#life-cycle-of-an-indexing-flow)
21+
- [Live Update Tutorial](/docs/tutorials/live_updates)
2222
for change capture mechanisms.

docs/docs/targets/index.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -334,6 +334,3 @@ You can find end-to-end examples fitting into any of supported property graphs i
334334
* <ExampleButton href="https://github.com/cocoindex-io/cocoindex/tree/main/examples/docs_to_knowledge_graph" text="Docs to Knowledge Graph" margin="0 0 16px 0" />
335335

336336
* <ExampleButton href="https://github.com/cocoindex-io/cocoindex/tree/main/examples/product_recommendation" text="Product Recommendation" margin="0 0 16px 0" />
337-
338-
339-

docs/docs/targets/kuzu.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Exports data to a [Kuzu](https://kuzu.com/) graph database.
1313

1414
## Get Started
1515

16-
Read [Property Graph Targets](./index.md#property-graph-targets) for more information to get started on how it works in CocoIndex.
16+
Read [Property Graph Targets](./index.md#property-graph-targets) for more information to get started on how it works in CocoIndex.
1717

1818
## Spec
1919

@@ -59,4 +59,4 @@ You can then access the explorer at [http://localhost:8124](http://localhost:812
5959
href="https://github.com/cocoindex-io/cocoindex/tree/main/examples/docs_to_knowledge_graph"
6060
text="Docs to Knowledge Graph"
6161
margin="16px 0 24px 0"
62-
/>
62+
/>

docs/docs/targets/neo4j.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import { ExampleButton } from '../../src/components/GitHubButton';
1111

1212

1313
## Get Started
14-
Read [Property Graph Targets](./index.md#property-graph-targets) for more information to get started on how it works in CocoIndex.
14+
Read [Property Graph Targets](./index.md#property-graph-targets) for more information to get started on how it works in CocoIndex.
1515

1616

1717
## Spec
@@ -59,4 +59,4 @@ If you are building multiple CocoIndex flows from different projects to neo4j, w
5959

6060
This way, you can clean up the data for each flow independently.
6161

62-
In case you need to clean up the data in the same database, you can do it manually by running `cocoindex drop <APP_TARGET>` from the project you want to clean up.
62+
In case you need to clean up the data in the same database, you can do it manually by running `cocoindex drop <APP_TARGET>` from the project you want to clean up.

examples/product_recommendation/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Please drop [CocoIndex on Github](https://github.com/cocoindex-io/cocoindex) a s
88

99

1010
## Prerequisite
11-
* [Install Postgres](https://cocoindex.io/docs/getting_started/installation#-install-postgres)
11+
* [Install Postgres](https://cocoindex.io/docs/getting_started/installation#-install-postgres)
1212
* Install [Neo4j](https://cocoindex.io/docs/targets/neo4j)
1313
* [Configure your OpenAI API key](https://cocoindex.io/docs/ai/llm#openai).
1414

0 commit comments

Comments
 (0)