File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -27,23 +27,23 @@ jobs:
2727 persist-credentials : false
2828
2929 - name : Log in to the Container registry
30- uses : docker/login-action@v3
30+ uses : docker/login-action@9780b0c442fbb1117ed29e0efdff1e18412f7567 # v3
3131 with :
3232 registry : ${{ env.REGISTRY }}
3333 username : ${{ github.actor }}
3434 password : ${{ secrets.GITHUB_TOKEN }}
3535
3636 - name : Extract Docker metadata
3737 id : meta
38- uses : docker/metadata-action@v5
38+ uses : docker/metadata-action@902fa8ec7d6ecbf8d84d538b9b233a880e428804 # v5
3939 with :
4040 images : ${{ matrix.image }}
4141 tags : |
4242 type=ref,event=branch
4343 type=sha
4444
4545 - name : Build and push Docker image
46- uses : docker/build-push-action@v5
46+ uses : docker/build-push-action@471d1dc4e07e5cdedd4c2171150001c434f0b7a4 # v5
4747 with :
4848 context : ${{ matrix.context }}
4949 target : ${{ matrix.target }}
Original file line number Diff line number Diff line change 1515
1616
1717def load_config ():
18- """Load configuration from config.yaml or path specified by S3_EXPLORER_CONFIG env var."""
18+ """Load config from config.yaml or S3_EXPLORER_CONFIG env var."""
1919 config_path = pathlib .Path (
2020 os .environ .get ("S3_EXPLORER_CONFIG" , pathlib .Path .cwd () / "config.yaml" )
2121 )
@@ -248,7 +248,8 @@ def run_app():
248248 selected_path = table .column ("path" )[selected_idx ].as_py ()
249249
250250 st .subheader (
251- f"Preview: { bucket_cfg .endpoint } /{ bucket_cfg .bucket or selected_bucket } /{ selected_path } "
251+ f"Preview: { bucket_cfg .endpoint } /"
252+ f"{ bucket_cfg .bucket or selected_bucket } /{ selected_path } "
252253 )
253254 preview_file (
254255 bucket_cfg ,
Original file line number Diff line number Diff line change @@ -21,6 +21,7 @@ dependencies = [
2121 " leafmap>=0.60.4" ,
2222 " obstore>=0.9.2" ,
2323 " omegaconf>=2.3.0" ,
24+ " pyarrow>=15.0.0" ,
2425 " streamlit>=1.30.0"
2526]
2627description = " "
@@ -32,6 +33,9 @@ version = "0.1.0"
3233
3334[project .scripts ]
3435
36+ [tool .deptry ]
37+ ignore = [" DEP002" , " DEP003" ]
38+
3539[tool .ruff ]
3640fix = true
3741
You can’t perform that action at this time.
0 commit comments