Skip to content

Commit 6a12bba

Browse files
authored
Merge pull request #67 from TGSAI/docs/fix_trailing_ws_ext_md
Add markdown extension for trailing whitespace fix pre-commit hook
2 parents 0d2e95f + 65ffb63 commit 6a12bba

File tree

2 files changed

+9
-8
lines changed

2 files changed

+9
-8
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ repos:
6161
language: system
6262
types: [text]
6363
stages: [commit, push, manual]
64+
args: [--markdown-linebreak-ext=md]
6465
- repo: https://github.com/pre-commit/mirrors-prettier
6566
rev: v2.6.0
6667
hooks:

docs/usage.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -68,11 +68,11 @@ Credentials can be automatically fetched from pre-authenticated AWS CLI.
6868
See [here](https://s3fs.readthedocs.io/en/latest/index.html#credentials) for the order `s3fs`
6969
checks them. If it is not pre-authenticated, you need to pass `--storage-options`.
7070

71-
**Prefix:**
71+
**Prefix:**
7272
`s3://`
7373

74-
**Storage Options:**
75-
`key`: The auth key from AWS
74+
**Storage Options:**
75+
`key`: The auth key from AWS
7676
`secret`: The auth secret from AWS
7777

7878
Using UNIX:
@@ -104,10 +104,10 @@ checks them. If it is not pre-authenticated, you need to pass `--storage-options
104104
GCP uses [service accounts](https://cloud.google.com/iam/docs/service-accounts) to pass
105105
authentication information to APIs.
106106

107-
**Prefix:**
107+
**Prefix:**
108108
`gs://` or `gcs://`
109109

110-
**Storage Options:**
110+
**Storage Options:**
111111
`token`: The service account JSON value as string, or local path to JSON
112112

113113
Using a service account:
@@ -136,11 +136,11 @@ There are various ways to authenticate with Azure Data Lake (ADL).
136136
See [here](https://github.com/fsspec/adlfs#details) for some details.
137137
If ADL is not pre-authenticated, you need to pass `--storage-options`.
138138

139-
**Prefix:**
139+
**Prefix:**
140140
`az://` or `abfs://`
141141

142-
**Storage Options:**
143-
`account_name`: Azure Data Lake storage account name
142+
**Storage Options:**
143+
`account_name`: Azure Data Lake storage account name
144144
`account_key`: Azure Data Lake storage account access key
145145

146146
```shell

0 commit comments

Comments
 (0)