Skip to content

Commit

Permalink
wip: 🚧 test lint-check python version update
Browse files Browse the repository at this point in the history
  • Loading branch information
slugb0t committed Aug 3, 2023
1 parent a7653c9 commit c3d652a
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/lint-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v1
with:
python-version: 3.9.16
python-version: 3.9.7

- name: Install black
run: pip install black
Expand Down
8 changes: 5 additions & 3 deletions scripts/manage-dataset/manage-dataset.js
Original file line number Diff line number Diff line change
Expand Up @@ -640,7 +640,7 @@ const addPermissionUser = async (
);
} catch (error) {
clientError(error);

Swal.fire({
title: "Failed to change permission!",
text: userErrorMessage(error),
Expand Down Expand Up @@ -837,7 +837,7 @@ $("#button-add-permission-team").click(async () => {
showCurrentPermission();
} catch (error) {
clientError(error);

Swal.fire({
title: "Failed to change permission",
text: userErrorMessage(error),
Expand Down Expand Up @@ -934,7 +934,9 @@ $("#button-add-subtitle").click(async () => {
backdrop: "rgba(0,0,0, 0.4)",
}).then(
//check if subtitle text is empty and set Add/Edit button appropriately
$("#bf-dataset-subtitle").val() ? $("#button-add-subtitle").html("Edit subtitle") : $("#button-add-subtitle").html("Add subtitle")
$("#bf-dataset-subtitle").val()
? $("#button-add-subtitle").html("Edit subtitle")
: $("#button-add-subtitle").html("Add subtitle")
);

ipcRenderer.send(
Expand Down
4 changes: 1 addition & 3 deletions scripts/others/api/api.js
Original file line number Diff line number Diff line change
Expand Up @@ -130,9 +130,7 @@ const getDatasetMetadataFiles = async (datasetName) => {
return metadata_files;
};

const setDatasetPermissions = async (selected_account, selected_dataset, params) => {

};
const setDatasetPermissions = async (selected_account, selected_dataset, params) => {};

const getDatasetPermissions = async (selected_account, selected_dataset, boolReturnAll) => {
let getDatasetPermissionsResponse = await client.get(`/manage_datasets/bf_dataset_permissions`, {
Expand Down

0 comments on commit c3d652a

Please sign in to comment.