mirror of
https://github.com/danswer-ai/danswer.git
synced 2025-10-10 21:26:01 +02:00
CI: adding prettier to pre-commit (#1009)
This commit is contained in:
@@ -28,6 +28,13 @@ repos:
|
||||
rev: v0.0.286
|
||||
hooks:
|
||||
- id: ruff
|
||||
- repo: https://github.com/pre-commit/mirrors-prettier
|
||||
rev: v3.1.0
|
||||
hooks:
|
||||
- id: prettier
|
||||
types_or: [html, css, javascript, ts, tsx]
|
||||
additional_dependencies:
|
||||
- prettier
|
||||
|
||||
# We would like to have a mypy pre-commit hook, but due to the fact that
|
||||
# pre-commit runs in it's own isolated environment, we would need to install
|
@@ -1,5 +1,9 @@
|
||||
<p>This page is to ensure we’re able to parse a table into a tsv</p>
|
||||
<table data-table-width="760" data-layout="default" ac:local-id="3ad64d9f-01f1-4f78-876e-0fdf84e826a6">
|
||||
<table
|
||||
data-table-width="760"
|
||||
data-layout="default"
|
||||
ac:local-id="3ad64d9f-01f1-4f78-876e-0fdf84e826a6"
|
||||
>
|
||||
<tbody>
|
||||
<tr>
|
||||
<th>
|
||||
|
@@ -87,7 +87,7 @@ export function StatusRow<ConnectorConfigType, ConnectorCredentialType>({
|
||||
|
||||
export interface ColumnSpecification<
|
||||
ConnectorConfigType,
|
||||
ConnectorCredentialType
|
||||
ConnectorCredentialType,
|
||||
> {
|
||||
header: string;
|
||||
key: string;
|
||||
@@ -101,7 +101,7 @@ export interface ColumnSpecification<
|
||||
|
||||
export interface ConnectorsTableProps<
|
||||
ConnectorConfigType,
|
||||
ConnectorCredentialType
|
||||
ConnectorCredentialType,
|
||||
> {
|
||||
connectorIndexingStatuses: ConnectorIndexingStatus<
|
||||
ConnectorConfigType,
|
||||
|
@@ -46,7 +46,7 @@ const SingleUseConnectorStatus = ({
|
||||
|
||||
export function SingleUseConnectorsTable<
|
||||
ConnectorConfigType,
|
||||
ConnectorCredentialType
|
||||
ConnectorCredentialType,
|
||||
>({
|
||||
connectorIndexingStatuses,
|
||||
liveCredential,
|
||||
|
@@ -171,7 +171,7 @@ export interface IndexAttemptSnapshot {
|
||||
|
||||
export interface ConnectorIndexingStatus<
|
||||
ConnectorConfigType,
|
||||
ConnectorCredentialType
|
||||
ConnectorCredentialType,
|
||||
> {
|
||||
cc_pair_id: number;
|
||||
name: string | null;
|
||||
|
Reference in New Issue
Block a user