Skip to content

Commit e8ab58f

Browse files
author
boonhapus
committed
Merge branch 'dev'
2 parents 98ec895 + fbb4d47 commit e8ab58f

File tree

3 files changed

+10
-10
lines changed

3 files changed

+10
-10
lines changed

.github/workflows/build-docs.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,18 @@ on:
66
- master
77

88
jobs:
9-
build:
9+
build:
10+
runs-on: ubuntu-latest
1011

1112
env:
1213
CS_TOOLS_THOUGHTSPOT__URL: ${{ secrets.THOUGHTSPOT_URL }}
1314
CS_TOOLS_THOUGHTSPOT__USERNAME: ${{ secrets.THOUGHTSPOT_USERNAME }}
1415
CS_TOOLS_THOUGHTSPOT__SECRET_KEY: ${{ secrets.THOUGHTSPOT_SECRET_KEY }}
1516
CS_TOOLS_TEMP_DIR: /tmp
1617

17-
runs-on: ubuntu-latest
18+
# FORCE THE TERMINAL TO THINK IT'S 130 COLUMNS WIDE.
19+
COLUMNS: "130"
20+
1821
steps:
1922
# CHECKOUT REPOSITORY.
2023
- name: Checkout repository
@@ -35,10 +38,7 @@ jobs:
3538
# BUILD THE DOCS.
3639
- name: Build MkDocs Documentation
3740
run: mkdocs build --clean
38-
env:
39-
# FORCE THE TERMINAL TO THINK IT'S 130 COLUMNS WIDE.
40-
COLUMNS: "130"
41-
41+
4242
# DEPLOY THE DOCS.
4343
- name: Deploy Documentation
4444
run: mkdocs gh-deploy --force

cs_tools/cli/_logging.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ def __init__(self):
5353
"secret_key": (r'secret_key[\'"]\s*:\s*[\'"][^\'\"]+[\'"]', r'secret_key": "****"'),
5454
"token": (r'token[\'"]\s*:\s*[\'"][^\'\"]+[\'"]', r'token": "****"'),
5555
"authorization": (r"authorization\s*:\s*bearer\s+\S+", r"authorization: bearer ****"),
56-
# Add more patterns as needed
56+
# ADD MORE PATTERNS AS NEEDED
5757
}
5858

5959
def filter(self, record: logging.LogRecord) -> bool:

cs_tools/updater/_updater.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -205,9 +205,9 @@ def ensure_directories(self, env_dir: pathlib.Path) -> types.SimpleNamespace: #
205205

206206
# INJECT OUR OWN AT THE ROOT OF THE CS TOOLS ENVIRONMENT AS WELL.
207207
_LOG.debug(f"Setting up CS Tools accessory directories at {self.ctx.env_dir}")
208-
self.subdir(".cache").mkdir(exist_ok=True)
209-
self.subdir(".logs").mkdir(exist_ok=True)
210-
self.subdir(".tmp").mkdir(exist_ok=True)
208+
self.subdir(".cache").mkdir(parents=True, exist_ok=True)
209+
self.subdir(".logs").mkdir(parents=True, exist_ok=True)
210+
self.subdir(".tmp").mkdir(parents=True, exist_ok=True)
211211

212212
return ctx
213213

0 commit comments

Comments
 (0)